Lines Matching refs:outbuf
89 static int encode_dvd_subtitles(uint8_t *outbuf, int outbuf_size,
137 q = outbuf + 4;
139 offset1[object_id] = q - outbuf;
141 if ((q - outbuf) + h->rects[object_id]->w*h->rects[object_id]->h/2
150 offset2[object_id] = q - outbuf;
158 qq = outbuf + 2;
159 bytestream_put_be16(&qq, q - outbuf);
163 bytestream_put_be16(&q, (q - outbuf) /*- 2 */ + 8 + 12*rects + 2);
196 bytestream_put_be16(&q, (q - outbuf) - 2 /*+ 4*/);
200 qq = outbuf;
201 bytestream_put_be16(&qq, q - outbuf);
203 av_log(NULL, AV_LOG_DEBUG, "subtitle_packet size=%td\n", q - outbuf);
204 return q - outbuf;