Lines Matching defs:buf_size
42 int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
48 static int mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
59 for (i = 0; i < buf_size; i++) {
71 if (buf_size == 0)
73 for (; i < buf_size; i++) {
91 const uint8_t *buf, int buf_size)
109 init_get_bits(gb, buf, 8 * buf_size);
143 const uint8_t *buf, int buf_size)
149 next = buf_size;
152 next = ff_mpeg4_find_frame_end(pc, buf, buf_size);
154 next = mpeg4_find_frame_end(pc, buf, buf_size);
157 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
160 return buf_size;
163 mpeg4_decode_header(s, avctx, buf, buf_size);
166 *poutbuf_size = buf_size;