Home
last modified time | relevance | path

Searched refs:MULT16_32_Q15 (Results 1 - 13 of 13) sorted by relevance

/third_party/pulseaudio/speex/tmv/
H A Dmdf_tm.h612 Davg1 = ADD32(MULT16_32_Q15(QCONST16(.6f,15),Davg1), MULT16_32_Q15(QCONST16(.4f,15),sc0)); in mdf_update_foreground()
613 Davg2 = ADD32(MULT16_32_Q15(QCONST16(.85f,15),Davg2), MULT16_32_Q15(QCONST16(.15f,15),sc0)); in mdf_update_foreground()
616 FLOAT_MUL32U(MULT16_32_Q15(QCONST16(.4f,15),Sff), in mdf_update_foreground()
617 MULT16_32_Q15(QCONST16(.4f,15),Dbf))); in mdf_update_foreground()
620 FLOAT_MUL32U(MULT16_32_Q15(QCONST16(.15f,15),Sff), in mdf_update_foreground()
621 MULT16_32_Q15(QCONST16(.15f,15),Dbf))); in mdf_update_foreground()
819 power[j] = MULT16_32_Q15(ss_1,pi) + 1 + MULT16_32_Q15(s in mdf_smooth()
[all...]
H A Dpreprocess_tm.h236 S[N-1] = MULT16_32_Q15(q8,S[N-1]) + MULT16_32_Q15(q2,ps[N-1]); in update_noise_prob()
312 update_prob[i] = mux(MULT16_32_Q15(q4,si) > ADD32(smini,20), 1, 0); in update_noise_prob()
606 e_noise[i] = MAX32(MULT16_32_Q15(QCONST16(.6f,15),eni), r_echo[i]); in preprocess_residue_echo()
642 { noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,ni) + in preprocess_update_noise()
643 MULT16_32_Q15(beta,SHL32(psi,NOISE_SHIFT))); in preprocess_update_noise()
791 gain[i] = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM))); in preprocess_compute_emgain()
846 g = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM))); in preprocess_compute_linear_gain()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dmdf.c202 mem[0] = mem[1] + SHL32(SHL32(-EXTEND32(vin),15) + MULT16_32_Q15(radius,vout),1); in filter_dc_notch16()
206 mem[1] = SHL32(EXTEND32(vin),15) - MULT16_32_Q15(den2,vout); in filter_dc_notch16()
207 out[i] = SATURATE32(PSHR32(MULT16_32_Q15(radius,vout),15),32767); in filter_dc_notch16()
896 st->Davg1 = ADD32(MULT16_32_Q15(QCONST16(.6f,15),st->Davg1), MULT16_32_Q15(QCONST16(.4f,15),SUB32(Sff,See))); in speex_echo_cancellation()
897 st->Davg2 = ADD32(MULT16_32_Q15(QCONST16(.85f,15),st->Davg2), MULT16_32_Q15(QCONST16(.15f,15),SUB32(Sff,See))); in speex_echo_cancellation()
898 st->Dvar1 = FLOAT_ADD(FLOAT_MULT(VAR1_SMOOTH, st->Dvar1), FLOAT_MUL32U(MULT16_32_Q15(QCONST16(.4f,15),Sff), MULT16_32_Q15(QCONST16(.4f,15),Dbf))); in speex_echo_cancellation()
899 st->Dvar2 = FLOAT_ADD(FLOAT_MULT(VAR2_SMOOTH, st->Dvar2), FLOAT_MUL32U(MULT16_32_Q15(QCONST1 in speex_echo_cancellation()
[all...]
H A Dfixed_arm4.h51 #undef MULT16_32_Q15 macro
52 static inline spx_word32_t MULT16_32_Q15(spx_word16_t x, spx_word32_t y) { in MULT16_32_Q15() function
H A Dfixed_arm5e.h56 #undef MULT16_32_Q15 macro
57 static inline spx_word32_t MULT16_32_Q15(spx_word16_t x, spx_word32_t y) { in MULT16_32_Q15() function
H A Dpreprocess.c330 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i]), in compute_gain_floor()
340 spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(MULT16_32_Q15(gain_ratio,PSHR32(noise[i],NOISE_SHIFT)) + echo[i], in compute_gain_floor()
667 st->S[i] = MULT16_32_Q15(QCONST16(.8f,15),st->S[i]) + MULT16_32_Q15(QCONST16(.05f,15),st->ps[i-1]) in update_noise_prob()
668 + MULT16_32_Q15(QCONST16(.1f,15),st->ps[i]) + MULT16_32_Q15(QCONST16(.05f,15),st->ps[i+1]); in update_noise_prob()
669 st->S[0] = MULT16_32_Q15(QCONST16(.8f,15),st->S[0]) + MULT16_32_Q15(QCONST16(.2f,15),st->ps[0]); in update_noise_prob()
670 st->S[N-1] = MULT16_32_Q15(QCONST16(.8f,15),st->S[N-1]) + MULT16_32_Q15(QCONST1 in update_noise_prob()
[all...]
H A Dfixed_bfin.h108 #undef MULT16_32_Q15 macro
109 static inline spx_word32_t MULT16_32_Q15(spx_word16_t a, spx_word32_t b) in MULT16_32_Q15() function
H A Dresample.c478 sum = MULT16_32_Q15(interp[0],SHR32(accum[0], 1)) + MULT16_32_Q15(interp[1],SHR32(accum[1], 1)) + MULT16_32_Q15(interp[2],SHR32(accum[2], 1)) + MULT16_32_Q15(interp[3],SHR32(accum[3], 1)); in resampler_basic_interpolate_single()
541 sum = MULT16_32_Q15(interp[0],accum[0]) + MULT16_32_Q15(interp[1],accum[1]) + MULT16_32_Q15(interp[2],accum[2]) + MULT16_32_Q15(interp[3],accum[3]); in resampler_basic_interpolate_double()
H A Dfixed_debug.h313 #define MULT16_32_Q15(a,b) MULT16_32_QX(a,b,15) macro
315 #define MAC16_32_Q15(c,a,b) ADD32((c),MULT16_32_Q15((a),(b)))
H A Darch.h188 #define MULT16_32_Q15(a,b) ((a)*(b)) macro
H A Dfilterbank.c46 #define toBARK(n) (MULT16_16(26829,spx_atan(SHR32(MULT16_16(97,n),2))) + MULT16_16(4588,spx_atan(MULT16_32_Q15(20,MULT16_16(n,n)))) + MULT16_16(3355,n))
H A Dfixed_generic.h86 #define MULT16_32_Q15(a,b) ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15)) macro
H A Dpseudofloat.h243 return VSHR32(MULT16_32_Q15(a.m, b),-a.e-15); in FLOAT_MUL32()

Completed in 11 milliseconds