Home
last modified time | relevance | path

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

/external/speex/libspeexdsp/
Dpreprocess.c145 #define SNR_SHIFT 8 macro
164 #define SNR_SHIFT 0 macro
305 …n ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIFT)))); in hypergeom_gain()
487 st->post[i]=SHL16(1, SNR_SHIFT); in speex_preprocess_state_init()
488 st->prior[i]=SHL16(1, SNR_SHIFT); in speex_preprocess_state_init()
796 st->post[i] = SUB16(DIV32_16_Q8(ps[i],tot_noise), QCONST16(1.f,SNR_SHIFT)); in speex_preprocess_run()
797 st->post[i]=MIN16(st->post[i], QCONST16(100.f,SNR_SHIFT)); in speex_preprocess_run()
804 st->prior[i]=MIN16(st->prior[i], QCONST16(100.f,SNR_SHIFT)); in speex_preprocess_run()
846 …rior_ratio = PDIV32_16(SHL32(EXTEND32(st->prior[i]), 15), ADD16(st->prior[i], SHL32(1,SNR_SHIFT))); in speex_preprocess_run()
847 …_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT)); in speex_preprocess_run()
[all …]