Lines Matching refs:next_avc
330 static int find_next_start_code(const uint8_t *buf, const uint8_t *next_avc) in find_next_start_code() argument
334 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() local
414 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()
448 if (bytestream2_tell(&bc) >= next_avc) { in ff_h2645_packet_split()
450 bytestream2_skip(&bc, next_avc - bytestream2_tell(&bc)); in ff_h2645_packet_split()