Lines Matching refs:ebits
251 …int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwid… in interp_bits2pulses() argument
468 ebits[j] = IMAX(0, (bits[j] + offset + (den<<(BITRES-1))) / (den<<BITRES)); in interp_bits2pulses()
471 if (C*ebits[j] > (bits[j]>>BITRES)) in interp_bits2pulses()
472 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
475 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); in interp_bits2pulses()
479 fine_priority[j] = ebits[j]*(den<<BITRES) >= bits[j]+offset; in interp_bits2pulses()
482 bits[j] -= C*ebits[j]<<BITRES; in interp_bits2pulses()
488 ebits[j] = 0; in interp_bits2pulses()
499 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
500 ebits[j] += extra_fine; in interp_bits2pulses()
508 celt_assert(ebits[j] >= 0); in interp_bits2pulses()
517 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
518 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
520 fine_priority[j] = ebits[j]<1; in interp_bits2pulses()
527 …opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM,… in compute_allocation() argument
634 pulses, ebits, fine_priority, C, LM, ec, encode, prev, signalBandwidth); in compute_allocation()