Home
last modified time | relevance | path

Searched refs:MULT16_16_P15 (Results 1 – 23 of 23) sorted by relevance

/external/libopus/celt/mips/
Dcelt_mipsr1.h82 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
83 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
84 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
85 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
86 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
87 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
Dfixed_generic_mipsr1.h117 #undef MULT16_16_P15
118 static inline int MULT16_16_P15(int a, int b) in MULT16_16_P15() function
Dvq_mipsr1.h105 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in renormalise_vector()
/external/speex/libspeexdsp/
Dmath_approx.h212 x2 = MULT16_16_P15(x,x); in _spx_cos_pi_2()
213 …n ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, 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_… in spx_atan01()
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(QCONST… in speex_preprocess_run()
903 …ps[i] = MULT16_32_P15(QCONST16(.2f,15),st->old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,1… 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),… 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),… 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(st->gain2[0],st->ft[0]); in speex_preprocess_run()
946 st->ft[2*N-1] = MULT16_16_P15(st->gain2[N-1],st->ft[2*N-1]); in speex_preprocess_run()
Dfixed_generic.h97 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
Darch.h196 #define MULT16_16_P15(a,b) ((a)*(b)) macro
Dfixed_debug.h429 static inline short MULT16_16_P15(int a, int b) in MULT16_16_P15() function
Dmdf.c726 …tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->… 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()
Dresample.c307 x2 = MULT16_16_P15(x, x); in cubic_coef()
308 x3 = MULT16_16_P15(x, x2); in cubic_coef()
/external/libopus/celt/
Dmathops.c147 x2 = MULT16_16_P15(x,x); in _celt_cos_pi_2()
148 …n ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, in _celt_cos_pi_2()
Dcelt.c214 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
215 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
216 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
217 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
218 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
219 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
Dmathops.h262 …return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_… in celt_atan01()
Dvq.c135 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in normalise_residual()
398 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in renormalise_vector()
Dfixed_generic.h167 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
Darch.h268 #define MULT16_16_P15(a,b) ((a)*(b)) macro
Dbands.c471 l = MULT16_16_P15(mid, X[j]); in stereo_merge()
1021 MULT16_16_P15(gain,mid), fill); in quant_partition()
1026 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
1029 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
1034 MULT16_16_P15(gain,mid), fill); in quant_partition()
Dfixed_debug.h724 static OPUS_INLINE short MULT16_16_P15(int a, int b) in MULT16_16_P15() function
Dcelt_encoder.c326 tmp[i] = mem0 + MULT16_16_P15(forward_decay,x2-mem0); in transient_analysis()
341 tmp[i] = mem0 + MULT16_16_P15(QCONST16(0.125f,15),tmp[i]-mem0); in transient_analysis()
/external/speex/tmv/
Dpreprocess_tm.h792 …old_ps[i] = MULT16_32_P15(QCONST16(.2f,15),old_ps[i]) + MULT16_32_P15(MULT16_16_P15(QCONST16(.8f,1… 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(gain2[N-1],ft[(N<<1)-1]); in preprocess_apply_gain()
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()
/external/rnnoise/src/
Darch.h238 #define MULT16_16_P15(a,b) ((a)*(b)) macro
/external/libopus/src/
Dopus_decoder.c607 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain)); in opus_decode_frame()