Lines Matching refs:LM
261 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM) in compute_inv_mdcts() argument
276 N = mode->shortMdctSize<<LM; in compute_inv_mdcts()
277 shift = mode->maxLM-LM; in compute_inv_mdcts()
286 static void tf_decode(int start, int end, int isTransient, int *tf_res, int LM, ec_dec *dec) in tf_decode() argument
298 tf_select_rsv = LM>0 && tell+logp+1<=budget; in tf_decode()
314 tf_select_table[LM][4*isTransient+0+tf_changed] != in tf_decode()
315 tf_select_table[LM][4*isTransient+2+tf_changed]) in tf_decode()
321 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()
333 …oid celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_RESTRICT pcm, int N, int LM) in celt_decode_lost() argument
412 boffs = N*c+(eBands[i]<<LM); in celt_decode_lost()
413 blen = (eBands[i+1]-eBands[i])<<LM; in celt_decode_lost()
424 denormalise_bands(mode, X, freq, plcLogE, start, effEnd, C, 1<<LM); in celt_decode_lost()
427 int bound = eBands[effEnd]<<LM; in celt_decode_lost()
437 compute_inv_mdcts(mode, 0, freq, out_syn, C, LM); in celt_decode_lost()
679 int LM, M; local
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)