Searched defs:LM (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/opus/src/celt/
H A Drate.h46 void compute_pulse_cache(CELTMode *m, int LM);
53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) argument
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) argument
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);
H A Dmodes.c231 int LM; local
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 >
H A Dcelt.c182 void init_caps(const CELTMode *m,int *cap,int LM,int C) argument
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;
H A Dquant_bands.c160 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]),*delayedIntr
156 quant_coarse_energy_impl(const CELTMode *m, int start, int end, const opus_val16 *eBands, opus_val16 *oldEBands, opus_int32 budget, opus_int32 tell, const unsigned char *prob_model, opus_val16 *error, ec_enc *enc, int C, int LM, int intra, opus_val16 max_decay, int lfe) argument
261 quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd, const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, opus_val16 *error, ec_enc *enc, int C, int LM, int nbAvailableBytes, int force_intra, opus_val32 *delayedIntra, int two_pass, int loss_rate, int lfe) argument
427 unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra, ec_dec *dec, int C, int LM) argument
[all...]
H A Drate.c73 void compute_pulse_cache(CELTMode *m, int LM) argument
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_ct
248 interp_bits2pulses(const CELTMode *m, int start, int end, int skip_start, const int *bits1, const int *bits2, const int *thresh, const int *cap, opus_int32 total, opus_int32 *_balance, int skip_rsv, int *intensity, int intensity_rsv, int *dual_stereo, int dual_stereo_rsv, int *bits, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth) argument
526 compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stereo, 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) argument
[all...]
H A Dcelt_decoder.c261 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) argument
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) argument
412 boffs = N*c+(eBands[i]<<LM);
260 compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X, celt_sig * OPUS_RESTRICT out_mem[], int C, int LM) argument
679 int LM, M; local
[all...]
H A Dbands.c258 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size, argument
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)
661 compute_theta(struct band_ctx *ctx, struct split_ctx *sctx, celt_norm *X, celt_norm *Y, int N, int *b, int B, int B0, int LM, int stereo, int *fill) argument
879 quant_partition(struct band_ctx *ctx, celt_norm *X, int N, int b, int B, celt_norm *lowband, int LM, opus_val16 gain, int fill) argument
1060 quant_band(struct band_ctx *ctx, celt_norm *X, int N, int b, int B, celt_norm *lowband, int LM, celt_norm *lowband_out, opus_val16 gain, celt_norm *lowband_scratch, int fill) argument
1194 quant_band_stereo(struct band_ctx *ctx, celt_norm *X, celt_norm *Y, int N, int b, int B, celt_norm *lowband, int LM, celt_norm *lowband_out, celt_norm *lowband_scratch, int fill) argument
1355 quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) argument
[all...]
H A Dcelt_encoder.c420 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) argument
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
419 compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * OPUS_RESTRICT in, celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) argument
548 tf_analysis(const CELTMode *m, int len, int isTransient, int *tf_res, int lambda, celt_norm *X, int N0, int LM, int *tf_sum, opus_val16 tf_estimate, int tf_chan) argument
713 tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_enc *enc) argument
754 alloc_trim_analysis(const CELTMode *m, const celt_norm *X, const opus_val16 *bandLogE, int end, int LM, int C, int N0, AnalysisInfo *analysis, opus_val16 *stereo_saving, opus_val16 tf_estimate, int intensity, opus_val16 surround_trim) argument
857 stereo_analysis(const CELTMode *m, const celt_norm *X, int LM, int N0) argument
889 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, int isTransient, int vbr, int constrained_vbr, const opus_int16 *eBands, int LM, int effectiveBytes, opus_int32 *tot_boost_, int lfe, opus_val16 *surround_dynalloc) argument
1132 compute_vbr(const CELTMode *mode, AnalysisInfo *analysis, opus_int32 base_target, int LM, opus_int32 bitrate, int lastCodedBands, int C, int intensity, int constrained_vbr, opus_val16 stereo_saving, int tot_boost, opus_val16 tf_estimate, int pitch_change, opus_val16 maxDepth, int variable_duration, int lfe, int has_surround_mask, opus_val16 surround_masking, opus_val16 temporal_vbr) argument
1273 int LM, M; local
[all...]
/external/libopus/celt/
H A Drate.h46 void compute_pulse_cache(CELTMode *m, int LM);
53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) argument
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) argument
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);
H A Dmodes.c231 int LM; local
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 >
H A Dcelt.c182 void init_caps(const CELTMode *m,int *cap,int LM,int C) argument
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;
H A Dquant_bands.c160 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]),*delayedIntr
156 quant_coarse_energy_impl(const CELTMode *m, int start, int end, const opus_val16 *eBands, opus_val16 *oldEBands, opus_int32 budget, opus_int32 tell, const unsigned char *prob_model, opus_val16 *error, ec_enc *enc, int C, int LM, int intra, opus_val16 max_decay, int lfe) argument
261 quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd, const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, opus_val16 *error, ec_enc *enc, int C, int LM, int nbAvailableBytes, int force_intra, opus_val32 *delayedIntra, int two_pass, int loss_rate, int lfe) argument
427 unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra, ec_dec *dec, int C, int LM) argument
[all...]
H A Drate.c73 void compute_pulse_cache(CELTMode *m, int LM) argument
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_ct
248 interp_bits2pulses(const CELTMode *m, int start, int end, int skip_start, const int *bits1, const int *bits2, const int *thresh, const int *cap, opus_int32 total, opus_int32 *_balance, int skip_rsv, int *intensity, int intensity_rsv, int *dual_stereo, int dual_stereo_rsv, int *bits, int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth) argument
526 compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stereo, 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) argument
[all...]
H A Dcelt_decoder.c261 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) argument
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) argument
412 boffs = N*c+(eBands[i]<<LM);
260 compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X, celt_sig * OPUS_RESTRICT out_mem[], int C, int LM) argument
679 int LM, M; local
[all...]
H A Dbands.c258 void anti_collapse(const CELTMode *m, celt_norm *X_, unsigned char *collapse_masks, int LM, int C, int size, argument
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)
661 compute_theta(struct band_ctx *ctx, struct split_ctx *sctx, celt_norm *X, celt_norm *Y, int N, int *b, int B, int B0, int LM, int stereo, int *fill) argument
879 quant_partition(struct band_ctx *ctx, celt_norm *X, int N, int b, int B, celt_norm *lowband, int LM, opus_val16 gain, int fill) argument
1060 quant_band(struct band_ctx *ctx, celt_norm *X, int N, int b, int B, celt_norm *lowband, int LM, celt_norm *lowband_out, opus_val16 gain, celt_norm *lowband_scratch, int fill) argument
1194 quant_band_stereo(struct band_ctx *ctx, celt_norm *X, celt_norm *Y, int N, int b, int B, celt_norm *lowband, int LM, celt_norm *lowband_out, celt_norm *lowband_scratch, int fill) argument
1355 quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses, int shortBlocks, int spread, int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) argument
[all...]
H A Dcelt_encoder.c420 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) argument
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
419 compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * OPUS_RESTRICT in, celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) argument
548 tf_analysis(const CELTMode *m, int len, int isTransient, int *tf_res, int lambda, celt_norm *X, int N0, int LM, int *tf_sum, opus_val16 tf_estimate, int tf_chan) argument
713 tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_enc *enc) argument
754 alloc_trim_analysis(const CELTMode *m, const celt_norm *X, const opus_val16 *bandLogE, int end, int LM, int C, int N0, AnalysisInfo *analysis, opus_val16 *stereo_saving, opus_val16 tf_estimate, int intensity, opus_val16 surround_trim) argument
857 stereo_analysis(const CELTMode *m, const celt_norm *X, int LM, int N0) argument
889 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, int nbEBands, int start, int end, int C, int *offsets, int lsb_depth, const opus_int16 *logN, int isTransient, int vbr, int constrained_vbr, const opus_int16 *eBands, int LM, int effectiveBytes, opus_int32 *tot_boost_, int lfe, opus_val16 *surround_dynalloc) argument
1132 compute_vbr(const CELTMode *mode, AnalysisInfo *analysis, opus_int32 base_target, int LM, opus_int32 bitrate, int lastCodedBands, int C, int intensity, int constrained_vbr, opus_val16 stereo_saving, int tot_boost, opus_val16 tf_estimate, int pitch_change, opus_val16 maxDepth, int variable_duration, int lfe, int has_surround_mask, opus_val16 surround_masking, opus_val16 temporal_vbr) argument
1273 int LM, M; local
[all...]
/external/clang/lib/Analysis/
H A DFormatString.cpp606 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);
828 LM.setKind(LengthModifier::AsSizeT);
831 LM
816 namedTypeToLengthModifier(QualType QT, LengthModifier &LM) argument
[all...]
/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp128 LexedMethod* LM = new LexedMethod(this, FnD); local
129 getCurrentClass().LateParsedDeclarations.push_back(LM);
130 LM->TemplateScope = getCurScope()->isTemplateParamScope();
131 CachedTokens &Toks = LM->Toks;
292 void Parser::ParseLexedMethodDeclaration(LateParsedMethodDeclaration &LM) { argument
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
394 ParseLexedMethodDef(LexedMethod &LM) argument
[all...]
H A DParseObjc.cpp1978 LexedMethod* LM = new LexedMethod(this, MDecl); local
1979 CurParsedObjCImpl->LateParsedObjCMethods.push_back(LM);
1980 CachedTokens &Toks = LM->Toks;
2908 void Parser::ParseLexedObjCMethodDefs(LexedMethod &LM, bool parseMethod) { argument
2910 Decl *MCDecl = LM.D;
2920 assert(!LM.Toks.empty() && "ParseLexedObjCMethodDef - Empty body!");
2923 LM.Toks.push_back(Tok);
2924 PP.EnterTokenStream(LM.Toks.data(), LM.Toks.size(), true, false);
/external/srec/seti/sltsEngine/include/
H A Dlts_seq_internal.h111 typedef struct LM { /*letter mappings*/ struct
116 } LM; typedef in typeref:struct:LM
138 LM *letter_mapping;
/external/chromium_org/third_party/opus/src/src/
H A Dopus_multistream_encoder.c226 int LM; local
241 for (LM=0;LM<celt_mode->maxLM;LM++)
242 if (celt_mode->shortMdctSize<<LM==frame_size)
260 clt_mdct_forward(&celt_mode->mdct, in, freq, celt_mode->window, overlap, celt_mode->maxLM-LM, 1);
270 compute_band_energies(celt_mode, freq, bandE, 21, 1, 1<<LM);
H A Dopus_encoder.c521 static float transient_boost(const float *E, const float *E_1, int LM, int maxM) argument
528 M = IMIN(maxM, (1<<LM)+1);
535 /*if (LM==3)
832 int LM = 3; local
833 LM = optimize_framesize(analysis_pcm, frame_size, C, Fs, bitrate_bps,
835 while ((Fs/400<<LM)>frame_size)
836 LM--;
837 frame_size = (Fs/400<<LM);
/external/libopus/src/
H A Dopus_multistream_encoder.c226 int LM; local
241 for (LM=0;LM<celt_mode->maxLM;LM++)
242 if (celt_mode->shortMdctSize<<LM==frame_size)
260 clt_mdct_forward(&celt_mode->mdct, in, freq, celt_mode->window, overlap, celt_mode->maxLM-LM, 1);
270 compute_band_energies(celt_mode, freq, bandE, 21, 1, 1<<LM);
H A Dopus_encoder.c521 static float transient_boost(const float *E, const float *E_1, int LM, int maxM) argument
528 M = IMIN(maxM, (1<<LM)+1);
535 /*if (LM==3)
832 int LM = 3; local
833 LM = optimize_framesize(analysis_pcm, frame_size, C, Fs, bitrate_bps,
835 while ((Fs/400<<LM)>frame_size)
836 LM--;
837 frame_size = (Fs/400<<LM);
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h324 LengthModifier LM; member in class:clang::analyze_format_string::FormatSpecifier
337 LM = lm;
355 return LM;
379 /// assign the appropriate value to LM and return true.
380 static bool namedTypeToLengthModifier(QualType QT, LengthModifier &LM);

Completed in 954 milliseconds

12