Home
last modified time | relevance | path

Searched refs:MULT16_16_P15 (Results 1 - 9 of 9) sorted by relevance

/third_party/pulseaudio/speex/libspeexdsp/
H A Dmath_approx.h212 x2 = MULT16_16_P15(x,x); in _spx_cos_pi_2()
213 return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, MULT16_16_P15(L4, x2)))))))); in _spx_cos_pi_2()
281 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x))))))); in spx_atan01()
H A Dpreprocess.c277 tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2)))); in conj_window()
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()
914 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(st->gain_floor[i]),15))); in speex_preprocess_run()
926 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(st->gain_floor[i]),15))); in speex_preprocess_run()
942 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]); in speex_preprocess_run()
943 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]); in speex_preprocess_run()
945 st->ft[0] = MULT16_16_P15(s in speex_preprocess_run()
[all...]
H A Darch.h201 #define MULT16_16_P15(a,b) ((a)*(b)) macro
H A Dfixed_generic.h101 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
H A Dfixed_debug.h419 static inline short MULT16_16_P15(int a, int b) in MULT16_16_P15() function
424 fprintf (stderr, "MULT16_16_P15: inputs are not short: %d %d\n", a, b); in MULT16_16_P15()
429 fprintf (stderr, "MULT16_16_P15: overflow: %d*%d=%d\n", a, b, (int)res); in MULT16_16_P15()
432 fprintf (stderr, "MULT16_16_P15: output is not short: %d*%d=%d\n", a, b, (int)res); in MULT16_16_P15()
H A Dresample.c309 x2 = MULT16_16_P15(x, x); in cubic_coef()
310 x3 = MULT16_16_P15(x, x2); in cubic_coef()
H A Dmdf.c726 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan]))); in speex_echo_cancellation()
752 tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))); in speex_echo_cancellation()
971 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan]))); in speex_echo_cancellation()
/third_party/pulseaudio/speex/tmv/
H A Dpreprocess_tm.h792 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()
857 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(g),15))) + in preprocess_compute_linear_gain()
858 MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(gfi),15))); in preprocess_compute_linear_gain()
895 tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(gaini),15))) +
896 MULT16_16_P15(SUB16(Q15_ONE,p),spx_sqrt(SHL32(EXTEND32(gfi),15)));
914 ft[0] = MULT16_16_P15(gain2[0],ft[0]); in preprocess_apply_gain()
922 ft[j] = MULT16_16_P15(gain2i,ftj); in preprocess_apply_gain()
923 ft[j+1] = MULT16_16_P15(gain2i,ftjj); in preprocess_apply_gain()
926 ft[(N<<1)-1] = MULT16_16_P15(gain in preprocess_apply_gain()
[all...]
H A Dmdf_tm.h368 tmp32 = SUB32(EXTEND32(far_endi), EXTEND32(MULT16_16_P15(preemph,memX))); in mdf_preemph()
377 tmp32 = SUB32(EXTEND32(inputi), EXTEND32(MULT16_16_P15(preemph, memD))); in mdf_preemph()
741 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(preemph,memE))); in mdf_compute_error_signal()

Completed in 13 milliseconds