Searched refs:MULT16_32_P15 (Results 1 - 6 of 6) sorted by relevance
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | filterbank.c | 82 curr_freq = EXTRACT16(MULT16_32_P15(i,df)); in filterbank_new() 144 mel[id] += MULT16_32_P15(bank->filter_left[i],ps[i]); in filterbank_compute_bank32() 146 mel[id] += MULT16_32_P15(bank->filter_right[i],ps[i]); in filterbank_compute_bank32() 151 mel[i] = MULT16_32_P15(Q15(bank->scaling[i]),mel[i]); in filterbank_compute_bank32()
|
H A D | preprocess.c | 847 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT)); 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() 888 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT)); 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()
|
H A D | arch.h | 189 #define MULT16_32_P15(a,b) ((a)*(b)) macro
|
H A D | fixed_generic.h | 85 #define MULT16_32_P15(a,b) ADD32(MULT16_16((a),SHR((b),15)), PSHR(MULT16_16((a),((b)&0x00007fff)),15)) macro
|
H A D | fixed_debug.h | 314 #define MULT16_32_P15(a,b) MULT16_32_PX(a,b,15) macro
|
/third_party/pulseaudio/speex/tmv/ |
H A D | preprocess_tm.h | 788 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(post[i]),EXPIN_SHIFT-SNR_SHIFT)); in preprocess_compute_emgain() 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() 843 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(post[i]),EXPIN_SHIFT-SNR_SHIFT)); in preprocess_compute_linear_gain() 851 old_ps[i]= MULT16_32_P15(QCONST16(.2f,15),old_ps[i]) + in preprocess_compute_linear_gain() 852 MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,15),SQR16_Q15(g)),ps[i]); in preprocess_compute_linear_gain()
|
Completed in 6 milliseconds