/external/chromium_org/third_party/opus/src/celt/ |
rate.h | 46 void compute_pulse_cache(CELTMode *m, int LM); 53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) 59 LM++; 60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band]; 80 static OPUS_INLINE int pulses2bits(const CELTMode *m, int band, int LM, int pulses) 84 LM++; 85 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band]; 99 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);
|
celt_encoder.c | 420 celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) 434 N = mode->shortMdctSize<<LM; 435 shift = mode->maxLM-LM; 535 static opus_val32 l1_metric(const celt_norm *tmp, int N, int LM, opus_val16 bias) 543 L1 = MAC16_32_Q15(L1, LM*bias, L1); 549 int *tf_res, int lambda, celt_norm *X, int N0, int LM, 570 ALLOC(tmp, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 571 ALLOC(tmp_1, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 582 N = (m->eBands[i+1]-m->eBands[i])<<LM; 583 /* band is too narrow to be split down to LM=-1 * [all...] |
quant_bands.h | 52 opus_val16 *error, ec_enc *enc, int C, int LM, 60 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra, ec_dec *dec, int C, int LM);
|
celt_decoder.c | 261 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM) 276 N = mode->shortMdctSize<<LM; 277 shift = mode->maxLM-LM; 286 static void tf_decode(int start, int end, int isTransient, int *tf_res, int LM, ec_dec *dec) 298 tf_select_rsv = LM>0 && tell+logp+1<=budget; 314 tf_select_table[LM][4*isTransient+0+tf_changed] != 315 tf_select_table[LM][4*isTransient+2+tf_changed]) 321 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; 333 static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_RESTRICT pcm, int N, int LM) 412 boffs = N*c+(eBands[i]<<LM); [all...] |
rate.c | 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 [all...] |
bands.c | 258 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size, 275 depth = (1+pulses[i])/((m->eBands[i+1]-m->eBands[i])<<LM); 282 t = N0<<LM; 289 sqrt_1 = celt_rsqrt(N0<<LM); 318 if (LM==3) 323 /* r needs to be multiplied by 2 or 2*sqrt(2) depending on LM because 326 if (LM==3) 331 X = X_+c*size+(m->eBands[i]<<LM); 332 for (k=0;k<1<<LM;k++) 341 X[(j<<LM)+k] = (seed&0x8000 ? r : -r) [all...] |
quant_bands.c | 160 int C, int LM, int intra, opus_val16 max_decay, int lfe) 175 beta = beta_coef[LM]; 176 coef = pred_coef[LM]; 263 opus_val16 *error, ec_enc *enc, int C, int LM, int nbAvailableBytes, 305 tell, e_prob_model[LM][1], error_intra, enc, C, LM, 1, max_decay, lfe); 336 tell, e_prob_model[LM][intra], error, enc, C, LM, 0, max_decay, lfe); 355 *delayedIntra = ADD32(MULT16_32_Q15(MULT16_16_Q15(pred_coef[LM], pred_coef[LM]),*delayedIntra) [all...] |
modes.c | 231 int LM; 286 LM = 3; 289 LM = 2; 292 LM = 1; 295 LM = 0; 299 if ((opus_int32)(frame_size>>LM)*300 > Fs) 340 mode->maxLM = LM; 341 mode->nbShortMdcts = 1<<LM; 351 if ((mode->eBands[mode->nbEBands] - mode->eBands[mode->nbEBands-1])<<LM >
|
celt.h | 205 void init_caps(const CELTMode *m,int *cap,int LM,int C); 211 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM);
|
bands.h | 97 * @param LM log2() of the number of 2.5 subframes in the frame 106 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size,
|
celt.c | 182 void init_caps(const CELTMode *m,int *cap,int LM,int C) 188 N=(m->eBands[i+1]-m->eBands[i])<<LM; 189 cap[i] = (m->cache.caps[m->nbEBands*(2*LM+C-1)+i]+64)*C*N>>2;
|
/external/libopus/celt/ |
rate.h | 46 void compute_pulse_cache(CELTMode *m, int LM); 53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) 59 LM++; 60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band]; 80 static OPUS_INLINE int pulses2bits(const CELTMode *m, int band, int LM, int pulses) 84 LM++; 85 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band]; 99 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);
|
celt_encoder.c | 420 celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) 434 N = mode->shortMdctSize<<LM; 435 shift = mode->maxLM-LM; 535 static opus_val32 l1_metric(const celt_norm *tmp, int N, int LM, opus_val16 bias) 543 L1 = MAC16_32_Q15(L1, LM*bias, L1); 549 int *tf_res, int lambda, celt_norm *X, int N0, int LM, 570 ALLOC(tmp, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 571 ALLOC(tmp_1, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 582 N = (m->eBands[i+1]-m->eBands[i])<<LM; 583 /* band is too narrow to be split down to LM=-1 * [all...] |
quant_bands.h | 52 opus_val16 *error, ec_enc *enc, int C, int LM, 60 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra, ec_dec *dec, int C, int LM);
|
celt_decoder.c | 261 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM) 276 N = mode->shortMdctSize<<LM; 277 shift = mode->maxLM-LM; 286 static void tf_decode(int start, int end, int isTransient, int *tf_res, int LM, ec_dec *dec) 298 tf_select_rsv = LM>0 && tell+logp+1<=budget; 314 tf_select_table[LM][4*isTransient+0+tf_changed] != 315 tf_select_table[LM][4*isTransient+2+tf_changed]) 321 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; 333 static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_RESTRICT pcm, int N, int LM) 412 boffs = N*c+(eBands[i]<<LM); [all...] |
rate.c | 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 [all...] |
bands.c | 258 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size, 275 depth = (1+pulses[i])/((m->eBands[i+1]-m->eBands[i])<<LM); 282 t = N0<<LM; 289 sqrt_1 = celt_rsqrt(N0<<LM); 318 if (LM==3) 323 /* r needs to be multiplied by 2 or 2*sqrt(2) depending on LM because 326 if (LM==3) 331 X = X_+c*size+(m->eBands[i]<<LM); 332 for (k=0;k<1<<LM;k++) 341 X[(j<<LM)+k] = (seed&0x8000 ? r : -r) [all...] |
quant_bands.c | 160 int C, int LM, int intra, opus_val16 max_decay, int lfe) 175 beta = beta_coef[LM]; 176 coef = pred_coef[LM]; 263 opus_val16 *error, ec_enc *enc, int C, int LM, int nbAvailableBytes, 305 tell, e_prob_model[LM][1], error_intra, enc, C, LM, 1, max_decay, lfe); 336 tell, e_prob_model[LM][intra], error, enc, C, LM, 0, max_decay, lfe); 355 *delayedIntra = ADD32(MULT16_32_Q15(MULT16_16_Q15(pred_coef[LM], pred_coef[LM]),*delayedIntra) [all...] |
modes.c | 231 int LM; 286 LM = 3; 289 LM = 2; 292 LM = 1; 295 LM = 0; 299 if ((opus_int32)(frame_size>>LM)*300 > Fs) 340 mode->maxLM = LM; 341 mode->nbShortMdcts = 1<<LM; 351 if ((mode->eBands[mode->nbEBands] - mode->eBands[mode->nbEBands-1])<<LM >
|
celt.h | 205 void init_caps(const CELTMode *m,int *cap,int LM,int C); 211 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM);
|
bands.h | 97 * @param LM log2() of the number of 2.5 subframes in the frame 106 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size,
|
/external/clang/lib/Analysis/ |
ScanfFormatString.cpp | 232 switch (LM.getKind()) { 270 switch (LM.getKind()) { 310 switch (LM.getKind()) { 325 switch (LM.getKind()) { 339 switch (LM.getKind()) { 355 switch (LM.getKind()) { 416 LM.setKind(LengthModifier::AsWideChar); 418 LM.setKind(LengthModifier::None); 437 LM.setKind(LengthModifier::None); 445 LM.setKind(LengthModifier::AsChar) [all...] |
PrintfFormatString.cpp | 268 switch (LM.getKind()) { 277 switch (LM.getKind()) { 310 switch (LM.getKind()) { 344 if (LM.getKind() == LengthModifier::AsLongDouble) 350 switch (LM.getKind()) { 381 if (LM.getKind() == LengthModifier::AsWideChar) { 432 LM.setKind(LengthModifier::None); 447 LM.setKind(LengthModifier::AsWideChar); 449 LM.setKind(LengthModifier::None); 489 LM.setKind(LengthModifier::None) [all...] |
FormatString.cpp | 248 LengthModifier lm(lmPosition, lmKind); 249 FS.setLengthModifier(lm); 606 switch (LM.getKind()) { 727 switch (LM.getKind()) { 787 if (LM.getKind() == LengthModifier::AsLongDouble) { 805 if (LM.getKind() == LengthModifier::AsLongDouble || 806 LM.getKind() == LengthModifier::AsQuad) { 807 LengthModifier FixedLM(LM); 817 LengthModifier &LM) { 824 LM.setKind(LengthModifier::AsSizeT) [all...] |
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 128 LexedMethod* LM = new LexedMethod(this, FnD); 129 getCurrentClass().LateParsedDeclarations.push_back(LM); 130 LM->TemplateScope = getCurScope()->isTemplateParamScope(); 131 CachedTokens &Toks = LM->Toks; 292 void Parser::ParseLexedMethodDeclaration(LateParsedMethodDeclaration &LM) { 294 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope); 296 if (LM.TemplateScope) { 297 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); 301 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); 307 for (unsigned I = 0, N = LM.DefaultArgs.size(); I != N; ++I) [all...] |