Lines Matching refs:nbits
360 register int nbits; in encode_one_block() local
375 nbits = 0; in encode_one_block()
377 nbits++; in encode_one_block()
383 if (nbits > MAX_COEF_BITS+1) in encode_one_block()
387 if (! emit_bits(state, dctbl->ehufco[nbits], dctbl->ehufsi[nbits])) in encode_one_block()
392 if (nbits) /* emit_bits rejects calls with size 0 */ in encode_one_block()
393 if (! emit_bits(state, (unsigned int) temp2, nbits)) in encode_one_block()
419 nbits = 1; /* there must be at least one 1 bit */ in encode_one_block()
421 nbits++; in encode_one_block()
423 if (nbits > MAX_COEF_BITS) in encode_one_block()
427 i = (r << 4) + nbits; in encode_one_block()
433 if (! emit_bits(state, (unsigned int) temp2, nbits)) in encode_one_block()
579 register int nbits; in htest_one_block() local
589 nbits = 0; in htest_one_block()
591 nbits++; in htest_one_block()
597 if (nbits > MAX_COEF_BITS+1) in htest_one_block()
601 dc_counts[nbits]++; in htest_one_block()
622 nbits = 1; /* there must be at least one 1 bit */ in htest_one_block()
624 nbits++; in htest_one_block()
626 if (nbits > MAX_COEF_BITS) in htest_one_block()
630 ac_counts[(r << 4) + nbits]++; in htest_one_block()