/external/speex/libspeex/ |
math_approx.h | 212 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)))))));
|
preprocess.c | 281 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))); [all...] |
arch.h | 205 #define MULT16_16_P15(a,b) ((a)*(b))
|
fixed_generic.h | 101 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15))
|
filters.c | 60 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]);
|
mdf.c | 732 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]))); [all...] |
fixed_debug.h | 419 static inline short MULT16_16_P15(int a, int b) 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);
|
resample.c | 308 x2 = MULT16_16_P15(x, x); 309 x3 = MULT16_16_P15(x, x2); [all...] |
nb_celp.c | 604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); [all...] |
sb_celp.c | 651 gc = MULT16_16_P15(QCONST16(0.70711f,15),gc); [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
mathops.c | 146 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
|
mathops.h | 230 return MULT16_16_P15(x, ADD32(M1, MULT16_16_P15(x, ADD32(M2, MULT16_16_P15(x, ADD32(M3, MULT16_16_P15(M4, x)))))));
|
vq.c | 126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); 366 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
|
arch.h | 192 #define MULT16_16_P15(a,b) ((a)*(b))
|
fixed_generic.h | 126 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15))
|
bands.c | 951 MULT16_16_P15(gain,mid), fill); 957 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); 961 MULT16_16_P15(gain,side), fill>>B)<<(B0>>1); 967 MULT16_16_P15(gain,mid), fill); [all...] |
fixed_debug.h | 661 static inline short MULT16_16_P15(int a, int b) 666 fprintf (stderr, "MULT16_16_P15: inputs are not short: %d %d\n", a, b); 675 fprintf (stderr, "MULT16_16_P15: overflow: %d*%d=%d\n", a, b, (int)res); 683 fprintf (stderr, "MULT16_16_P15: output is not short: %d*%d=%d\n", a, b, (int)res);
|
celt_encoder.c | 298 tmp[i] = mem0 + MULT16_16_P15(QCONST16(.0625f,15),x2-mem0); 312 tmp[i] = mem0 + MULT16_16_P15(QCONST16(0.125f,15),tmp[i]-mem0); [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_decoder.c | 536 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));
|