Lines Matching refs:next_avc
75 int next_avc = p->is_avc ? 0 : buf_size; in h264_find_frame_end() local
85 if (i >= next_avc) { in h264_find_frame_end()
87 i = next_avc; in h264_find_frame_end()
94 next_avc = i + nalsize; in h264_find_frame_end()
99 i += p->h264dsp.startcode_find_candidate(buf + i, next_avc - i); in h264_find_frame_end()
100 if (i < next_avc) in h264_find_frame_end()
147 return next_avc; in h264_find_frame_end()
154 return next_avc; in h264_find_frame_end()
251 int buf_index, next_avc; in parse_nal_units() local
275 next_avc = p->is_avc ? 0 : buf_size; in parse_nal_units()
280 if (buf_index >= next_avc) { in parse_nal_units()
284 next_avc = buf_index + nalsize; in parse_nal_units()
286 buf_index = find_start_code(buf, buf_size, buf_index, next_avc); in parse_nal_units()
289 if (buf_index >= next_avc) in parse_nal_units()
292 src_length = next_avc - buf_index; in parse_nal_units()