Home
last modified time | relevance | path

Searched refs:MULT16_16_P15 (Results 1 – 21 of 21) 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()
Darch.h197 #define MULT16_16_P15(a,b) ((a)*(b)) macro
Dfixed_generic.h101 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
Dfixed_debug.h419 static inline short MULT16_16_P15(int a, int b) in MULT16_16_P15() function
Dmdf.c732 …tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->… in speex_echo_cancellation()
758 …tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))); in speex_echo_cancellation()
977 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan]))); in speex_echo_cancellation()
Dresample.c309 x2 = MULT16_16_P15(x, x); in cubic_coef()
310 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.h157 #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()
1022 MULT16_16_P15(gain,mid), fill); in quant_partition()
1027 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
1030 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
1035 MULT16_16_P15(gain,mid), fill); in quant_partition()
Dfixed_debug.h679 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/rnnoise/src/
Darch.h238 #define MULT16_16_P15(a,b) ((a)*(b)) macro
/external/libopus/src/
Dopus_decoder.c598 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain)); in opus_decode_frame()