Searched refs:next_avc (Results 1 – 3 of 3) sorted by relevance
330 static int find_next_start_code(const uint8_t *buf, const uint8_t *next_avc) in find_next_start_code() argument334 if (buf + 3 >= next_avc) in find_next_start_code()335 return next_avc - buf; in find_next_start_code()337 while (buf + i + 3 < next_avc) { in find_next_start_code()398 int next_avc = is_nalff ? 0 : length; in ff_h2645_packet_split() local414 if (bytestream2_tell(&bc) == next_avc) { in ff_h2645_packet_split()423 next_avc = bytestream2_tell(&bc) + extract_length; in ff_h2645_packet_split()427 if (bytestream2_tell(&bc) > next_avc) in ff_h2645_packet_split()431 buf_index = find_next_start_code(bc.buffer, buf + next_avc); in ff_h2645_packet_split()446 … extract_length = FFMIN(bytestream2_get_bytes_left(&bc), next_avc - bytestream2_tell(&bc)); in ff_h2645_packet_split()[all …]
75 int next_avc = p->is_avc ? 0 : buf_size; in h264_find_frame_end() local85 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() local275 next_avc = p->is_avc ? 0 : buf_size; in parse_nal_units()[all …]
824 int buf_index, int next_avc) in find_start_code() argument828 buf_index = avpriv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1; in find_start_code()