Searched refs:LM (Results 1 - 25 of 41) 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 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...]
H A Dquant_bands.h52 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);
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 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 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 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 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.h205 void init_caps(const CELTMode *m,int *cap,int LM,int C);
211 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM);
H A Dbands.h97 * @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/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 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...]
H A Dquant_bands.h52 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);
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 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 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 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 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.h205 void init_caps(const CELTMode *m,int *cap,int LM,int C);
211 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM);
/external/srec/seti/sltsEngine/include/
H A Dfsm_dictionary.h31 LM *letter_mapping;
H A Dlts_seq_internal.h111 typedef struct LM { /*letter mappings*/ struct
116 } LM; typedef in typeref:struct:LM
138 LM *letter_mapping;
/external/clang/lib/Analysis/
H A DScanfFormatString.cpp232 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
[all...]
H A DPrintfFormatString.cpp268 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
[all...]
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...]

Completed in 291 milliseconds

12