Lines Matching defs:buf
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)
60 state = (state << 8) | buf[i];
74 state = (state << 8) | buf[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)
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) {
163 mpeg4_decode_header(s, avctx, buf, buf_size);
165 *poutbuf = buf;