Searched refs:Q15ONE (Results 1 - 16 of 16) sorted by relevance

/external/libopus/celt/mips/
H A Dcelt_mipsr1.h102 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/
H A Dcelt.c222 + 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]))
H A Darch.h101 #define Q15ONE 32767 macro
171 #define Q15ONE 1.0f macro
H A Dpitch.c152 opus_val16 tmp=Q15ONE;
441 return EXTRACT16(MIN32(g, Q15ONE));
537 pg = Q15ONE;
H A Dbands.c358 renormalise_vector(X, N0<<LM, Q15ONE, arch);
1285 LM, lowband_out, Q15ONE, lowband_scratch, orig_fill);
1319 Q15ONE, lowband_scratch, fill);
1342 Q15ONE, lowband_scratch, fill);
1501 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm);
1504 last?NULL:norm2+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, y_cm);
1514 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm|y_cm);
H A Dcelt_decoder.c495 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);
H A Dmodes.c376 window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap));
H A Dvq.c87 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */
H A Dkiss_fft.c458 st->scale = Q15ONE;
H A Dcelt_encoder.c1284 opus_val16 rate_factor = Q15ONE;
/external/libopus/src/
H A Dopus_encoder.c241 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, ldif
[all...]
H A Dopus_decoder.c180 Q15ONE-w, in1[i*channels+c]), 15);
/external/speex/libspeex/
H A Darch.h98 #define Q15ONE 32767 macro
144 #define Q15ONE 1.0f macro
H A Dpreprocess.c863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-EXTRACT16(theta)),1))));
1137 st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100);
1145 st->speech_prob_continue = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100);
H A Dnb_celp.c1052 noise_gain = MULT16_16_Q15(innov_gain, MULT16_16_Q15(fact, SUB16(Q15ONE,MULT16_16_Q15(pitch_gain,pitch_gain))));
/external/libopus/celt/tests/
H A Dtest_unit_mdct.c148 window[k] = Q15ONE;

Completed in 132 milliseconds