Lines Matching refs:end_pos2
721 int *end_pos2) in switch_buffer() argument
729 *end_pos2 = in switch_buffer()
730 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer()
752 int16_t *exponents, int end_pos2) in huffman_decode() argument
758 int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8); in huffman_decode()
786 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode()
850 if (pos > end_pos2 && last_pos) { in huffman_decode()
855 …tx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, end_pos2-pos); in huffman_decode()
860 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode()
882 bits_left = end_pos2 - get_bits_count(&s->gb); in huffman_decode()
894 switch_buffer(s, &i, &end_pos, &end_pos2); in huffman_decode()