/external/libopus/celt/mips/ |
celt_mipsr1.h | 102 asm volatile("MULT $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15((Q15ONE-f),g00)), "r" ((int)x[i-T0])); 104 asm volatile("MADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15((Q15ONE-f),g01)), "r" ((int)ADD32(x[i-T0-1],x[i-T0+1]))); 105 asm volatile("MADD $ac1, %0, %1" : : "r" ((int)MULT16_16_Q15((Q15ONE-f),g02)), "r" ((int)ADD32(x[i-T0-2],x[i-T0+2])));
|
/external/libopus/celt/ |
celt.c | 222 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g00),x[i-T0]) 223 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g01),ADD32(x[i-T0+1],x[i-T0-1])) 224 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g02),ADD32(x[i-T0+2],x[i-T0-2]))
|
arch.h | 101 #define Q15ONE 32767 171 #define Q15ONE 1.0f
|
pitch.c | 152 opus_val16 tmp=Q15ONE; 441 return EXTRACT16(MIN32(g, Q15ONE)); 537 pg = Q15ONE;
|
bands.c | 358 renormalise_vector(X, N0<<LM, Q15ONE, arch); [all...] |
celt_decoder.c | 495 renormalise_vector(X+boffs, blen, Q15ONE, st->arch); 509 opus_val16 fade = Q15ONE; 675 opus_val16 tmp_g = Q15ONE 676 - MULT16_16_Q15(window[i], Q15ONE-ratio); [all...] |
modes.c | 376 window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap));
|
vq.c | 87 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */
|
kiss_fft.c | 458 st->scale = Q15ONE;
|
celt_encoder.c | [all...] |
/external/libopus/src/ |
opus_encoder.c | 241 st->prev_HB_gain = Q15ONE; 419 g1 = Q15ONE-g1; 420 g2 = Q15ONE-g2; 427 Q15ONE-w, g1), 15); 459 Q15ONE-w, g1), 15); 468 Q15ONE-w, g1), 15); 871 short_alpha = Q15ONE - MULT16_16(25, Q15ONE)/IMAX(50,frame_rate); 926 ldiff = MULT16_16(Q15ONE, ABS16(qrrt_xx-qrrt_yy))/(EPSILON+qrrt_xx+qrrt_yy); 933 /*printf("%f %f %f %f %f ", corr/(float)Q15ONE, ldiff/(float)Q15ONE, width/(float)Q15ONE, mem->smoothed_width/(float)Q15ONE, mem->max_follower/(f (…) [all...] |
opus_decoder.c | 180 Q15ONE-w, in1[i*channels+c]), 15);
|
/external/speex/libspeex/ |
arch.h | 98 #define Q15ONE 32767 144 #define Q15ONE 1.0f
|
preprocess.c | 863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-EXTRACT16(theta)),1)))); [all...] |
nb_celp.c | [all...] |
/external/libopus/celt/tests/ |
test_unit_mdct.c | 148 window[k] = Q15ONE;
|