Home
last modified time | relevance | path

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

/external/speex/libspeexdsp/
Dpreprocess.c98 if (b>=QCONST32(1,23)) in DIV32_16_Q8()
103 if (b>=QCONST32(1,19)) in DIV32_16_Q8()
108 if (b>=QCONST32(1,15)) in DIV32_16_Q8()
124 if (b>=QCONST32(1,23)) in DIV32_16_Q15()
129 if (b>=QCONST32(1,19)) in DIV32_16_Q15()
134 if (b>=QCONST32(1,15)) in DIV32_16_Q15()
305 …return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIF… in hypergeom_gain()
483 st->noise[i]=QCONST32(1.f,NOISE_SHIFT); in speex_preprocess_state_init()
847 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHI… in speex_preprocess_run()
888 …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.h153 #define QCONST32(x,bits) (x) macro
Dfixed_debug.h44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
/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.h78 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
Darch.h220 #define QCONST32(x,bits) (x) macro
Dcelt_lpc.c109 chirp_Q16 = QCONST32(0.999, 16) - DIV32(SHL32(maxabs - 32767, 14), in _celt_lpc()
Dcelt_encoder.c400 …celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28))); in transient_analysis()
830 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum)); in alloc_trim_analysis()
832 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis()
1779 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/rnnoise/src/
Darch.h190 #define QCONST32(x,bits) (x) macro
/external/speex/tmv/
Dpreprocess_tm.h788 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(post[i]),EXPIN_SHIFT-S… in preprocess_compute_emgain()
843 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(post[i]),EXPIN_SHIFT-S… in preprocess_compute_linear_gain()
Dmdf_tm.h988 adapted = mux( !adapted && sum_adapt > QCONST32(M,15) && in mdf_adapt()
/external/libopus/src/
Dopus_multistream_encoder.c337 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()
369 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT)); in surround_analysis()
Dopus_encoder.c709 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); in compute_stereo_width()
/external/libopus/doc/
Dopus_update.patch47 + lg = MIN32(QCONST32(32.f, 16), lg);