Home
last modified time | relevance | path

Searched refs:QCONST32 (Results 1 – 16 of 16) sorted by relevance

/external/libopus/src/
Dmlp.c49 if (_x>=QCONST32(8,19))
50 return QCONST32(1.,14);
51 if (_x<=-QCONST32(8,19))
52 return -QCONST32(1.,14);
Dopus_multistream_encoder.c368 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()
400 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT)); in surround_analysis()
Dopus_encoder.c722 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); in compute_stereo_width()
/external/speex/libspeex/
Dstereo.c234 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo()
261 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo_int()
Dpreprocess.c102 if (b>=QCONST32(1,23)) in DIV32_16_Q8()
107 if (b>=QCONST32(1,19)) in DIV32_16_Q8()
112 if (b>=QCONST32(1,15)) in DIV32_16_Q8()
128 if (b>=QCONST32(1,23)) in DIV32_16_Q15()
133 if (b>=QCONST32(1,19)) in DIV32_16_Q15()
138 if (b>=QCONST32(1,15)) in DIV32_16_Q15()
309 …return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIF… in hypergeom_gain()
487 st->noise[i]=QCONST32(1.f,NOISE_SHIFT); in speex_preprocess_state_init()
851 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHI… in speex_preprocess_run()
892 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHI… in speex_preprocess_run()
Dfixed_generic.h39 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
Darch.h159 #define QCONST32(x,bits) (x) macro
Dfixed_debug.h44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
Dnb_celp.c407 …spx_sqrt(QCONST32(1.,28)-MULT16_32_Q15(QCONST16(.8,15),SHL32(MULT16_16(ol_pitch_coef,ol_pitch_coef… in nb_encode()
1362 …sanitize_values32(exc32, NEG32(QCONST32(32000,SIG_SHIFT-1)), QCONST32(32000,SIG_SHIFT-1), st->subf… in nb_decode()
/external/libopus/celt/
Dquant_bands.c196 qi = (f+QCONST32(.5f,DB_SHIFT+7))>>(DB_SHIFT+7); in quant_coarse_energy_impl()
252 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in quant_coarse_energy_impl()
485 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in unquant_coarse_energy()
Dfixed_generic.h71 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
Darch.h198 #define QCONST32(x,bits) (x) macro
Dcelt_encoder.c394 …celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28))); in transient_analysis()
824 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum)); in alloc_trim_analysis()
826 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis()
1711 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
Dfixed_debug.h53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
Dbands.c445 if (Er < QCONST32(6e-4f, 28) || El < QCONST32(6e-4f, 28)) in stereo_merge()
/external/libopus/doc/
Dopus_update.patch47 + lg = MIN32(QCONST32(32.f, 16), lg);