Lines Matching refs:nbits
391 temp2 &= (((INT32) 1)<<nbits) - 1; \
394 PUT_BITS(temp2, nbits) \
405 temp2 &= (((INT32) 1)<<nbits) - 1; \
408 PUT_BITS(temp2, nbits) \
486 int nbits; in encode_one_block() local
515 nbits = JPEG_NBITS(temp); in encode_one_block()
518 code = dctbl->ehufco[nbits]; in encode_one_block()
519 size = dctbl->ehufsi[nbits]; in encode_one_block()
523 temp2 &= (((INT32) 1)<<nbits) - 1; in encode_one_block()
527 EMIT_BITS(temp2, nbits) in encode_one_block()
547 nbits = JPEG_NBITS_NONZERO(temp); \ in encode_one_block()
554 temp3 = (r << 4) + nbits; \ in encode_one_block()
720 register int nbits; in htest_one_block() local
730 nbits = 0; in htest_one_block()
732 nbits++; in htest_one_block()
738 if (nbits > MAX_COEF_BITS+1) in htest_one_block()
742 dc_counts[nbits]++; in htest_one_block()
763 nbits = 1; /* there must be at least one 1 bit */ in htest_one_block()
765 nbits++; in htest_one_block()
767 if (nbits > MAX_COEF_BITS) in htest_one_block()
771 ac_counts[(r << 4) + nbits]++; in htest_one_block()