Lines Matching refs:cnt1
130 unsigned cnt1, nbits, k, j = 0, i = 0; in read_low_coeffs() local
137 cnt1 = get_unary(bc, 0, 8); in read_low_coeffs()
138 if (cnt1 < 8) { in read_low_coeffs()
142 escape = ((1 << nbits) - 1) * cnt1; in read_low_coeffs()
145 escape = value + ((1 << nbits) - 1) * cnt1 - 1; in read_low_coeffs()
166 cnt1 = get_unary(bc, 0, 8); in read_low_coeffs()
167 if (cnt1 > 7) { in read_low_coeffs()
173 rlen = value + escape * cnt1 - 1; in read_low_coeffs()
176 rlen = escape * cnt1; in read_low_coeffs()
206 unsigned cnt1, shbits, rlen, nbits, length, i = 0, j = 0, k; in read_high_coeffs() local
230 cnt1 = get_unary(bc, 0, length); in read_high_coeffs()
231 if (cnt1 >= length) { in read_high_coeffs()
232 cnt1 = get_bits(bc, nbits); in read_high_coeffs()
237 cnt1 *= (1 << pfx) - 1; in read_high_coeffs()
243 cnt1 += shbits - 1; in read_high_coeffs()
247 xflag = flag + cnt1; in read_high_coeffs()
250 if (flag + cnt1 == 0) { in read_high_coeffs()
273 cnt1 = get_unary(bc, 0, 8); in read_high_coeffs()
274 if (cnt1 < 8) { in read_high_coeffs()
281 rlen = value + escape * cnt1 - 1; in read_high_coeffs()
284 rlen = escape * cnt1; in read_high_coeffs()