Lines Matching refs:rlen
131 int rlen, escape, flag = 0; in read_low_coeffs() local
167 rlen = get_bits(bc, 16); in read_low_coeffs()
172 rlen = value + escape * cnt1 - 1; in read_low_coeffs()
175 rlen = escape * cnt1; in read_low_coeffs()
179 if (rlen > size - i) in read_low_coeffs()
181 i += rlen; in read_low_coeffs()
183 for (k = 0; k < rlen; k++) { in read_low_coeffs()
192 flag = rlen < 0xFFFF ? 1 : 0; in read_low_coeffs()
205 unsigned cnt1, shbits, rlen, nbits, length, i = 0, j = 0, k; in read_high_coeffs() local
280 rlen = value + escape * cnt1 - 1; in read_high_coeffs()
283 rlen = escape * cnt1; in read_high_coeffs()
291 rlen = value + 8 * escape; in read_high_coeffs()
294 if (rlen > 0xFFFF || i + rlen > size) in read_high_coeffs()
296 i += rlen; in read_high_coeffs()
298 for (k = 0; k < rlen; k++) { in read_high_coeffs()
307 flag = rlen < 0xFFFF ? 1 : 0; in read_high_coeffs()