Home | History | Annotate | Download | only in celt

Lines Matching refs:LM

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