/external/speex/libspeex/ |
H A D | 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)))))));
|
H A D | 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))); 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 D | arch.h | 205 #define MULT16_16_P15(a,b) ((a)*(b)) macro
|
H A D | fixed_generic.h | 101 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
|
H A D | 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]);
|
H A D | 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]))); 977 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan])));
|
H A D | fixed_debug.h | 419 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 D | resample.c | 308 x2 = MULT16_16_P15(x, x); 309 x3 = MULT16_16_P15(x, x2);
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | 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
|
H A D | 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)))))));
|
H A D | vq.c | 126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); 366 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
|
H A D | arch.h | 193 #define MULT16_16_P15(a,b) ((a)*(b)) macro
|
H A D | fixed_generic.h | 126 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
|
H A D | bands.c | 964 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 D | fixed_debug.h | 671 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 D | celt_encoder.c | 307 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 D | 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
|
H A D | 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)))))));
|
H A D | vq.c | 126 g = MULT16_16_P15(celt_rsqrt_norm(t),gain); 366 g = MULT16_16_P15(celt_rsqrt_norm(t),gain);
|
H A D | arch.h | 193 #define MULT16_16_P15(a,b) ((a)*(b)) macro
|
H A D | fixed_generic.h | 126 #define MULT16_16_P15(a,b) (SHR(ADD32(16384,MULT16_16((a),(b))),15)) macro
|
H A D | bands.c | 964 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 D | fixed_debug.h | 671 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 D | opus_decoder.c | 556 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));
|
/external/libopus/src/ |
H A D | opus_decoder.c | 556 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));
|