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)))); in interp_bits2pulses()
469 ebits[j] = celt_udiv(ebits[j], den)>>BITRES; in interp_bits2pulses()
472 if (C*ebits[j] > (bits[j]>>BITRES)) in interp_bits2pulses()
473 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
476 ebits[j] = IMIN(ebits[j], MAX_FINE_BITS); in interp_bits2pulses()
480 fine_priority[j] = ebits[j]*(den<<BITRES) >= bits[j]+offset; in interp_bits2pulses()
483 bits[j] -= C*ebits[j]<<BITRES; in interp_bits2pulses()
489 ebits[j] = 0; in interp_bits2pulses()
500 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
501 ebits[j] += extra_fine; in interp_bits2pulses()
509 celt_assert(ebits[j] >= 0); in interp_bits2pulses()
518 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
519 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
521 fine_priority[j] = ebits[j]<1; in interp_bits2pulses()
528 …opus_int32 total, opus_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM,… in compute_allocation() argument
635 pulses, ebits, fine_priority, C, LM, ec, encode, prev, signalBandwidth); in compute_allocation()