Lines Matching refs:nbits
357 register int nbits; in encode_one_block() local
372 nbits = 0; in encode_one_block()
374 nbits++; in encode_one_block()
380 if (nbits > MAX_COEF_BITS+1) in encode_one_block()
384 if (! emit_bits(state, dctbl->ehufco[nbits], dctbl->ehufsi[nbits])) in encode_one_block()
389 if (nbits) /* emit_bits rejects calls with size 0 */ in encode_one_block()
390 if (! emit_bits(state, (unsigned int) temp2, nbits)) in encode_one_block()
416 nbits = 1; /* there must be at least one 1 bit */ in encode_one_block()
418 nbits++; in encode_one_block()
420 if (nbits > MAX_COEF_BITS) in encode_one_block()
424 i = (r << 4) + nbits; in encode_one_block()
430 if (! emit_bits(state, (unsigned int) temp2, nbits)) in encode_one_block()
576 register int nbits; in htest_one_block() local
586 nbits = 0; in htest_one_block()
588 nbits++; in htest_one_block()
594 if (nbits > MAX_COEF_BITS+1) in htest_one_block()
598 dc_counts[nbits]++; in htest_one_block()
619 nbits = 1; /* there must be at least one 1 bit */ in htest_one_block()
621 nbits++; in htest_one_block()
623 if (nbits > MAX_COEF_BITS) in htest_one_block()
627 ac_counts[(r << 4) + nbits]++; in htest_one_block()