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

12

/external/speex/libspeex/
H A Dmath_approx.h212 x2 = MULT16_16_P15(x,x);
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))))))));
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)))))));
H A Dpreprocess.c281 tmp = SQR16_Q15(QCONST16(.5f,15)-MULT16_16_P15(QCONST16(.5f,15),spx_cos_norm(SHL32(EXTEND32(x),2))));
857 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]);
907 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]);
918 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)));
930 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)));
946 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]);
947 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]);
949 st->ft[0] = MULT16_16_P15(s
[all...]
H A Darch.h205 #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 Dfilters.c60 lpc_out[i] = MULT16_16_P15(tmp,lpc_in[i]);
61 tmp = MULT16_16_P15(tmp, gamma);
132 y[i] = MULT16_16_P15(scale_1, x[i]);
H A Dmdf.c732 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan])));
758 tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak])));
977 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan])));
H A Dfixed_debug.h419 static inline short MULT16_16_P15(int a, int b) function
424 fprintf (stderr, "MULT16_16_P15: inputs are not short: %d %d\n", a, b);
429 fprintf (stderr, "MULT16_16_P15: overflow: %d*%d=%d\n", a, b, (int)res);
432 fprintf (stderr, "MULT16_16_P15: output is not short: %d*%d=%d\n", a, b, (int)res);
H A Dresample.c308 x2 = MULT16_16_P15(x, x);
309 x3 = MULT16_16_P15(x, x2);
/external/chromium_org/third_party/opus/src/celt/
H A Dmathops.c146 x2 = MULT16_16_P15(x,x);
147 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
H A Dmathops.h230 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))));
H A Dvq.c126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
366 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
H A Darch.h193 #define MULT16_16_P15(a,b) ((a)*(b)) macro
H A Dfixed_generic.h126 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
H A Dbands.c964 MULT16_16_P15(gain,mid), fill);
970 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
974 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
980 MULT16_16_P15(gain,mid), fill);
H A Dfixed_debug.h671 static OPUS_INLINE short MULT16_16_P15(int a, int b) function
676 fprintf (stderr, "MULT16_16_P15: inputs are not short: %d %d\n", a, b);
685 fprintf (stderr, "MULT16_16_P15: overflow: %d*%d=%d\n", a, b, (int)res);
693 fprintf (stderr, "MULT16_16_P15: output is not short: %d*%d=%d\n", a, b, (int)res);
H A Dcelt_encoder.c307 tmp[i] = mem0 + MULT16_16_P15(QCONST16(.0625f,15),x2-mem0);
321 tmp[i] = mem0 + MULT16_16_P15(QCONST16(0.125f,15),tmp[i]-mem0);
/external/libopus/celt/
H A Dmathops.c146 x2 = MULT16_16_P15(x,x);
147 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
H A Dmathops.h230 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))));
H A Dvq.c126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
366 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
H A Darch.h193 #define MULT16_16_P15(a,b) ((a)*(b)) macro
H A Dfixed_generic.h126 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
H A Dbands.c964 MULT16_16_P15(gain,mid), fill);
970 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
974 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1);
980 MULT16_16_P15(gain,mid), fill);
H A Dfixed_debug.h671 static OPUS_INLINE short MULT16_16_P15(int a, int b) function
676 fprintf (stderr, "MULT16_16_P15: inputs are not short: %d %d\n", a, b);
685 fprintf (stderr, "MULT16_16_P15: overflow: %d*%d=%d\n", a, b, (int)res);
693 fprintf (stderr, "MULT16_16_P15: output is not short: %d*%d=%d\n", a, b, (int)res);
/external/chromium_org/third_party/opus/src/src/
H A Dopus_decoder.c556 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));
/external/libopus/src/
H A Dopus_decoder.c556 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));

Completed in 332 milliseconds

12