Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dmdf.c208 mem[0] = mem[1] + SHL32(SHL32(-EXTEND32(vin),15) + MULT16_32_Q15(radius,vout),1); in filter_dc_notch16()
212 mem[1] = SHL32(EXTEND32(vin),15) - MULT16_32_Q15(den2,vout); in filter_dc_notch16()
213 out[i] = SATURATE32(PSHR32(MULT16_32_Q15(radius,vout),15),32767); in filter_dc_notch16()
902 …st->Davg1 = ADD32(MULT16_32_Q15(QCONST16(.6f,15),st->Davg1), MULT16_32_Q15(QCONST16(.4f,15),SUB32(… in speex_echo_cancellation()
903 …st->Davg2 = ADD32(MULT16_32_Q15(QCONST16(.85f,15),st->Davg2), MULT16_32_Q15(QCONST16(.15f,15),SUB3… in speex_echo_cancellation()
904 …D(FLOAT_MULT(VAR1_SMOOTH, st->Dvar1), FLOAT_MUL32U(MULT16_32_Q15(QCONST16(.4f,15),Sff), MULT16_32_… in speex_echo_cancellation()
905 …D(FLOAT_MULT(VAR2_SMOOTH, st->Dvar2), FLOAT_MUL32U(MULT16_32_Q15(QCONST16(.15f,15),Sff), MULT16_32… in speex_echo_cancellation()
1057 st->power[j] = MULT16_32_Q15(ss_1,st->power[j]) + 1 + MULT16_32_Q15(ss,st->Xf[j]); in speex_echo_cancellation()
1068 …st->Eh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Eh[j]), st->spec_average,… in speex_echo_cancellation()
1069 …st->Yh[j] = MAC16_32_Q15(MULT16_32_Q15(SUB16(32767,st->spec_average),st->Yh[j]), st->spec_average,… in speex_echo_cancellation()
[all …]
Dfixed_arm4.h51 #undef MULT16_32_Q15
52 static inline spx_word32_t MULT16_32_Q15(spx_word16_t x, spx_word32_t y) { in MULT16_32_Q15() function
Dpreprocess.c334 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[… in compute_gain_floor()
344 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(MULT16_32_Q15(gain_ratio,PSHR32(noise[i],NOISE_SHIFT)) + echo… in compute_gain_floor()
671 …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()
672 … + MULT16_32_Q15(QCONST16(.1f,15),st->ps[i]) + MULT16_32_Q15(QCONST16(.05f,15),st->ps[i+1]); in update_noise_prob()
673 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()
674 …st->S[N-1] = MULT16_32_Q15(QCONST16(.8f,15),st->S[N-1]) + MULT16_32_Q15(QCONST16(.2f,15),st->ps[N… in update_noise_prob()
707 if (MULT16_32_Q15(QCONST16(.4f,15),st->S[i]) > st->Smin[i]) in update_noise_prob()
760 …st->echo_noise[i] = MAX32(MULT16_32_Q15(QCONST16(.6f,15),st->echo_noise[i]), st->residual_echo[i]); in speex_preprocess_run()
782 …st->noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st-… in speex_preprocess_run()
855 st->gain[i] = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM))); in speex_preprocess_run()
[all …]
Dfixed_arm5e.h56 #undef MULT16_32_Q15
57 static inline spx_word32_t MULT16_32_Q15(spx_word16_t x, spx_word32_t y) { in MULT16_32_Q15() function
Dfixed_bfin.h105 #undef MULT16_32_Q15
106 static inline spx_word32_t MULT16_32_Q15(spx_word16_t a, spx_word32_t b) in MULT16_32_Q15() function
Dresample.c471 …sum = MULT16_32_Q15(interp[0],accum[0]) + MULT16_32_Q15(interp[1],accum[1]) + MULT16_32_Q15(interp… in resampler_basic_interpolate_single()
534 …sum = MULT16_32_Q15(interp[0],accum[0]) + MULT16_32_Q15(interp[1],accum[1]) + MULT16_32_Q15(interp… in resampler_basic_interpolate_double()
Dstereo.c234 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo()
261 …e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)… in speex_decode_stereo_int()
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)))
Darch.h192 #define MULT16_32_Q15(a,b) ((a)*(b)) macro
Dfixed_generic.h86 #define MULT16_32_Q15(a,b) ADD32(MULT16_16((a),SHR((b),15)), SHR(MULT16_16((a),((b)&0x00007fff)),15… macro
Dfilterbank.c46 …6(26829,spx_atan(SHR32(MULT16_16(97,n),2))) + MULT16_16(4588,spx_atan(MULT16_32_Q15(20,MULT16_16(n…
Dnb_celp.c407 …spx_sqrt(QCONST32(1.,28)-MULT16_32_Q15(QCONST16(.8,15),SHL32(MULT16_16(ol_pitch_coef,ol_pitch_coef… in nb_encode()
613 ol_gain = MULT16_32_Q15(28406,ol_gain_table[qe]); in nb_encode()
866 … signal_mul(innov2, innov2, MULT16_32_Q15(QCONST16(0.454545f,15),ener), st->subframeSize); in nb_encode()
1245 st->mem_sp[i] = MULT16_32_Q15(fact,st->mem_sp[i]); in nb_decode()
1275 ol_gain = MULT16_32_Q15(28406,ol_gain_table[qe]); in nb_decode()
1413 … signal_mul(innov2, innov2, MULT16_32_Q15(QCONST16(0.454545f,15),ener), st->subframeSize); in nb_decode()
Dfilters.c104 mem[0] = ADD32(MAC16_16(mem[1], num[1],x[i]), SHL32(MULT16_32_Q15(-den[1],vout),1)); in highpass()
105 mem[1] = ADD32(MULT16_16(num[2],x[i]), SHL32(MULT16_32_Q15(-den[2],vout),1)); in highpass()
618 tmp += MULT16_32_Q15(shift_filt[i][k],corr[0][j+k-3]); in interp_pitch()
Dpseudofloat.h243 return VSHR32(MULT16_32_Q15(a.m, b),-a.e-15); in FLOAT_MUL32()
Dltp.c794 exc[i]=MULT16_32_Q15(SHL16(pitch_coef, 9),exc[i-start]); in forced_pitch_quant()