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
473 ebits[j] = IMAX(0, (bits[j] + offset + (den<<(BITRES-1)))); in interp_bits2pulses()
474 ebits[j] = celt_udiv(ebits[j], den)>>BITRES; in interp_bits2pulses()
477 if (C*ebits[j] > (bits[j]>>BITRES)) in interp_bits2pulses()
478 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
481 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); in interp_bits2pulses()
485 fine_priority[j] = ebits[j]*(den<<BITRES) >= bits[j]+offset; in interp_bits2pulses()
488 bits[j] -= C*ebits[j]<<BITRES; in interp_bits2pulses()
494 ebits[j] = 0; in interp_bits2pulses()
505 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
506 ebits[j] += extra_fine; in interp_bits2pulses()
514 celt_assert(ebits[j] >= 0); in interp_bits2pulses()
523 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
524 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
526 fine_priority[j] = ebits[j]<1; in interp_bits2pulses()
533 …opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM,… in clt_compute_allocation() argument
640 pulses, ebits, fine_priority, C, LM, ec, encode, prev, signalBandwidth); in clt_compute_allocation()