Home
last modified time | relevance | path

Searched refs:SQR16_Q15 (Results 1 - 2 of 2) sorted by relevance

/third_party/pulseaudio/speex/tmv/
H A Dpreprocess_tm.h687 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(opsi,ADD32(opsi,tot_noise)))); in preprocess_compute_SNR()
792 old_ps[i] = MULT16_32_P15(QCONST16(.2f,15),old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(gain[i])),ps[i]); in preprocess_compute_emgain()
852 MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(g)),ps[i]); in preprocess_compute_linear_gain()
860 gain2[i]=SQR16_Q15(tmp); in preprocess_compute_linear_gain()
898 gain2[i]=SQR16_Q15(tmp);
/third_party/pulseaudio/speex/libspeexdsp/
H A Dpreprocess.c89 #define SQR16_Q15(x) (MULT16_16_Q15((x),(x))) macro
277 tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2)))); in conj_window()
800 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(st->old_ps[i],ADD32(st->old_ps[i],tot_noise)))); in speex_preprocess_run()
853 st->old_ps[i] = MULT16_32_P15(QCONST16(.2f,15),st->old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(st->gain[i])),ps[i]); in speex_preprocess_run()
903 st->old_ps[i] = MULT16_32_P15(QCONST16(.2f,15),st->old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(st->gain[i])),ps[i]); in speex_preprocess_run()
915 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
927 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()

Completed in 4 milliseconds