Lines Matching refs:LM
73 void compute_pulse_cache(CELTMode *m, int LM) in compute_pulse_cache() argument
87 cindex = (opus_int16 *)opus_alloc(sizeof(cache->index[0])*m->nbEBands*(LM+2)); in compute_pulse_cache()
91 for (i=0;i<=LM+1;i++) in compute_pulse_cache()
143 cache->caps = cap = (unsigned char *)opus_alloc(sizeof(cache->caps[0])*(LM+1)*2*m->nbEBands); in compute_pulse_cache()
144 for (i=0;i<=LM;i++) in compute_pulse_cache()
251 …int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwid… in interp_bits2pulses() argument
268 logM = LM<<BITRES; in interp_bits2pulses()
356 …if (codedBands<=start+2 || (band_bits > ((j<prev?7:9)*band_width<<LM<<BITRES)>>4 && j<=signalBandw… in interp_bits2pulses()
439 N=N0<<LM; in interp_bits2pulses()
527 …us_int32 *balance, int *pulses, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int enc… in compute_allocation() argument
569 thresh[j] = IMAX((C)<<BITRES, (3*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>4); in compute_allocation()
571 trim_offset[j] = C*(m->eBands[j+1]-m->eBands[j])*(alloc_trim-5-LM)*(end-j-1) in compute_allocation()
572 *(1<<(LM+BITRES))>>6; in compute_allocation()
575 if ((m->eBands[j+1]-m->eBands[j])<<LM==1) in compute_allocation()
589 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2; in compute_allocation()
616 bits1j = C*N*m->allocVectors[lo*len+j]<<LM>>2; in compute_allocation()
618 cap[j] : C*N*m->allocVectors[hi*len+j]<<LM>>2; in compute_allocation()
634 pulses, ebits, fine_priority, C, LM, ec, encode, prev, signalBandwidth); in compute_allocation()