Searched refs:MULT16_16_Q15 (Results 1 - 8 of 8) sorted by relevance
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | preprocess.c | 89 #define SQR16_Q15(x) (MULT16_16_Q15((x),(x))) 313 return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,x)))); in qcurve() 329 gain_floor[i] = MULT16_16_Q15(noise_gain, in compute_gain_floor() 339 gain_floor[i] = MULT16_16_Q15(echo_gain, in compute_gain_floor() 634 st->frame[i] = MULT16_16_Q15(st->frame[i], st->window[i]); in preprocess_analysis() 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() 821 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands))); in speex_preprocess_run() 855 P1 = QCONST16(.199f,15)+MULT16_16_Q15(QCONST16(.8f,15),qcurve (st->zeta[i])); in speex_preprocess_run() 856 q = Q15_ONE-MULT16_16_Q15(Pframe,P1); in speex_preprocess_run() 859 /*Q8*/tmp = MULT16_16_Q15((SHL3 in speex_preprocess_run() [all...] |
H A D | mdf.c | 192 den2 = MULT16_16_Q15(radius,radius) + MULT16_16_Q15(QCONST16(.7,15),MULT16_16_Q15(32767-radius,32767-radius)); in filter_dc_notch16() 368 prop[i] += MULT16_16_Q15(QCONST16(.1f,15),max_sum); in mdf_adjust_prop() 487 st->prop[i] = MULT16_16_Q15(st->prop[i-1], decay); in speex_echo_state_init_mc() 929 st->e[chan*N+i+st->frame_size] = MULT16_16_Q15(st->window[i+st->frame_size],st->e[chan*N+i+st->frame_size]) + MULT16_16_Q15(st->window[i],st->y[chan*N+i+st->frame_size]); in speex_echo_cancellation() 1200 st->y[i] = MULT16_16_Q15(st->window[i],st->last_y[i]); in speex_echo_get_residual()
|
H A D | arch.h | 200 #define MULT16_16_Q15(a,b) ((a)*(b)) macro
|
H A D | fixed_generic.h | 97 #define MULT16_16_Q15(a,b) (SHR(MULT16_16((a),(b)),15)) macro
|
H A D | pseudofloat.h | 258 r.m = MULT16_16_Q15(a,b); in FLOAT_MUL32U()
|
H A D | fixed_debug.h | 368 static inline short MULT16_16_Q15(int a, int b) in MULT16_16_Q15() function 373 fprintf (stderr, "MULT16_16_Q15: inputs are not short: %d %d\n", a, b); in MULT16_16_Q15() 379 fprintf (stderr, "MULT16_16_Q15: output is not short: %d\n", (int)res); in MULT16_16_Q15()
|
/third_party/pulseaudio/speex/tmv/ |
H A D | preprocess_tm.h | 687 gamma = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.89f,15),SQR16_Q15(DIV32_16_Q15(opsi,ADD32(opsi,tot_noise)))); in preprocess_compute_SNR() 794 P1 = QCONST16(.199f,15)+MULT16_16_Q15(QCONST16(.8f,15),qcurve (zeta[i])); in preprocess_compute_emgain() 795 q = Q15_ONE-MULT16_16_Q15(Pframe,P1); in preprocess_compute_emgain() 799 tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+priori),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-EXTRACT16(theta)),1)))); in preprocess_compute_emgain() 849 g = VMUX( MULT16_16_Q15(QCONST16(.333f,15),g) > gain[i], MULT16_16(3,gain[i]), g); in preprocess_compute_linear_gain() 1024 frame[i] = MULT16_16_Q15(fi, wi); in preprocess_update() 1071 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,M))); in speex_preprocess_run()
|
H A D | mdf_tm.h | 657 ee[i] = MULT16_16_Q15(wfi,ei) + MULT16_16_Q15(wi,yi); in mdf_update_foreground()
|
Completed in 9 milliseconds