Searched refs:Q15ONE (Results 1 - 16 of 16) sorted by relevance
/external/libopus/celt/mips/ |
H A D | 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/ |
H A D | 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]))
|
H A D | arch.h | 101 #define Q15ONE 32767 macro 171 #define Q15ONE 1.0f macro
|
H A D | pitch.c | 152 opus_val16 tmp=Q15ONE; 441 return EXTRACT16(MIN32(g, Q15ONE)); 537 pg = Q15ONE;
|
H A D | bands.c | 358 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 D | 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);
|
H A D | 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));
|
H A D | vq.c | 87 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */
|
H A D | kiss_fft.c | 458 st->scale = Q15ONE;
|
H A D | celt_encoder.c | 1284 opus_val16 rate_factor = Q15ONE;
|
/external/libopus/src/ |
H A D | 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, ldif [all...] |
H A D | opus_decoder.c | 180 Q15ONE-w, in1[i*channels+c]), 15);
|
/external/speex/libspeex/ |
H A D | arch.h | 98 #define Q15ONE 32767 macro 144 #define Q15ONE 1.0f macro
|
H A D | preprocess.c | 863 /*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 D | nb_celp.c | 1052 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 D | test_unit_mdct.c | 148 window[k] = Q15ONE;
|
Completed in 428 milliseconds