Lines Matching defs:nbits
131 unsigned cnt1, nbits, k, j = 0, i = 0;
136 nbits = FFMIN(ff_clz((state >> 8) + 3) ^ 0x1F, 14);
140 value = show_bits(bc, nbits);
142 skip_bits(bc, nbits - 1);
143 escape = ((1 << nbits) - 1) * cnt1;
145 skip_bits(bc, nbits);
146 escape = value + ((1 << nbits) - 1) * cnt1 - 1;
165 nbits = ((state + 8) >> 5) + (state ? ff_clz(state) : 32) - 24;
166 escape = av_mod_uintp2(16383, nbits);
171 value = show_bits(bc, nbits);
173 skip_bits(bc, nbits);
176 skip_bits(bc, nbits - 1);
207 unsigned cnt1, shbits, rlen, nbits, length, i = 0, j = 0, k;
216 nbits = 33 - ff_clz(a ^ (a >> 31));
217 if (nbits > 16)
220 nbits = 1;
223 length = 25 - nbits;
233 cnt1 = get_bits(bc, nbits);