Home | History | Annotate | Download | only in celt

Lines Matching refs:LM

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);
413 blen = (eBands[i+1]-eBands[i])<<LM;
424 denormalise_bands(mode, X, freq, plcLogE, start, effEnd, C, 1<<LM);
427 int bound = eBands[effEnd]<<LM;
437 compute_inv_mdcts(mode, 0, freq, out_syn, C, LM);
679 int LM, M;
729 LM = (data0>>3)&0x3;
733 if (LM>mode->maxLM)
735 if (frame_size < mode->shortMdctSize<<LM)
738 frame_size = mode->shortMdctSize<<LM;
743 for (LM=0;LM<=mode->maxLM;LM++)
744 if (mode->shortMdctSize<<LM==frame_size)
746 if (LM>mode->maxLM)
749 M=1<<LM;
762 celt_decode_lost(st, pcm, N, LM);
813 if (LM > 0 && tell+3 <= total_bits)
830 intra_ener, dec, C, LM);
833 tf_decode(st->start, st->end, isTransient, tf_res, LM, dec);
842 init_caps(mode,cap,LM,C);
854 width = C*(eBands[i+1]-eBands[i])<<LM;
882 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0;
890 fine_quant, fine_priority, C, LM, dec, 0, 0, 0);
900 len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng);
911 anti_collapse(mode, X, collapse_masks, LM, C, N,
954 compute_inv_mdcts(mode, shortBlocks, freq, out_syn, CC, LM);
962 if (LM!=0)
974 if (LM!=0)