Lines Matching defs:buf
180 * @param buf buffer with field/frame data.
183 static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf,
198 ret = ff_h2645_packet_split(&ctx->pkt, buf, buf_size, avctx, ctx->is_avc,
260 static int hevc_find_frame_end(AVCodecParserContext *s, const uint8_t *buf,
270 pc->state64 = (pc->state64 << 8) | buf[i];
285 int first_slice_segment_in_pic_flag = buf[i] >> 7;
302 const uint8_t *buf, int buf_size)
308 const uint8_t *dummy_buf = buf;
320 next = hevc_find_frame_end(s, buf, buf_size);
321 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
328 is_dummy_buf &= (dummy_buf == buf);
331 parse_nal_units(s, buf, buf_size, avctx);
333 *poutbuf = buf;