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.h81 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
82 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
83 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
84 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
85 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
86 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.h114 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in renormalise_vector_mips()
/external/speex/libspeex/
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.c281 …tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2))… in conj_window()
857 …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()
907 …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()
918 …tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),… in speex_preprocess_run()
930 …tmp = MULT16_16_P15(p,spx_sqrt(SHL32(EXTEND32(st->gain[i]),15))) + MULT16_16_P15(SUB16(Q15_ONE,p),… in speex_preprocess_run()
946 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]); in speex_preprocess_run()
947 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]); in speex_preprocess_run()
949 st->ft[0] = MULT16_16_P15(st->gain2[0],st->ft[0]); in speex_preprocess_run()
950 st->ft[2*N-1] = MULT16_16_P15(st->gain2[N-1],st->ft[2*N-1]); in speex_preprocess_run()
Dfixed_generic.h101 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
Darch.h205 #define MULT16_16_P15(a,b) ((a)*(b)) macro
Dfilters.c60 lpc_out[i] = MULT16_16_P15(tmp,lpc_in[i]); in bw_lpc()
61 tmp = MULT16_16_P15(tmp, gamma); in bw_lpc()
132 y[i] = MULT16_16_P15(scale_1, x[i]); in signal_div()
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.c308 x2 = MULT16_16_P15(x, x); in cubic_coef()
309 x3 = MULT16_16_P15(x, x2); in cubic_coef()
Dnb_celp.c604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); in nb_encode()
1266 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); in nb_decode()
Dsb_celp.c651 gc = MULT16_16_P15(QCONST16(0.70711f,15),gc); in sb_encode()
/external/libopus/celt/
Dcelt.c203 g00 = MULT16_16_P15(g0, gains[tapset0][0]); in comb_filter()
204 g01 = MULT16_16_P15(g0, gains[tapset0][1]); in comb_filter()
205 g02 = MULT16_16_P15(g0, gains[tapset0][2]); in comb_filter()
206 g10 = MULT16_16_P15(g1, gains[tapset1][0]); in comb_filter()
207 g11 = MULT16_16_P15(g1, gains[tapset1][1]); in comb_filter()
208 g12 = MULT16_16_P15(g1, gains[tapset1][2]); in comb_filter()
Dmathops.c146 x2 = MULT16_16_P15(x,x); in _celt_cos_pi_2()
147 …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()
Dmathops.h230 …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.c131 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in normalise_residual()
364 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); in renormalise_vector()
Dfixed_generic.h146 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
Dbands.c446 l = MULT16_16_P15(mid, X[j]); in stereo_merge()
975 MULT16_16_P15(gain,mid), fill); in quant_partition()
981 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
985 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); in quant_partition()
991 MULT16_16_P15(gain,mid), fill); in quant_partition()
Darch.h229 #define MULT16_16_P15(a,b) ((a)*(b)) macro
Dfixed_debug.h672 static OPUS_INLINE short MULT16_16_P15(int a, int b) in MULT16_16_P15() function
Dcelt_encoder.c304 tmp[i] = mem0 + MULT16_16_P15(QCONST16(.0625f,15),x2-mem0); in transient_analysis()
318 tmp[i] = mem0 + MULT16_16_P15(QCONST16(0.125f,15),tmp[i]-mem0); in transient_analysis()
/external/libopus/src/
Dopus_decoder.c570 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain)); in opus_decode_frame()