Home
last modified time | relevance | path

Searched refs:Q15ONE (Results 1 – 13 of 13) sorted by relevance

/external/libopus/celt/
Dcelt.c150 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g00),x[i-T0]) in comb_filter()
151 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g01),ADD32(x[i-T0+1],x[i-T0-1])) in comb_filter()
152 + MULT16_32_Q15(MULT16_16_Q15((Q15ONE-f),g02),ADD32(x[i-T0+2],x[i-T0-2])) in comb_filter()
Darch.h95 #define Q15ONE 32767 macro
140 #define Q15ONE 1.0f macro
Dbands.c348 renormalise_vector(X, N0<<LM, Q15ONE); in anti_collapse()
1277 LM, lowband_out, Q15ONE, lowband_scratch, orig_fill); in quant_band_stereo()
1311 Q15ONE, lowband_scratch, fill); in quant_band_stereo()
1334 Q15ONE, lowband_scratch, fill); in quant_band_stereo()
1490 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm); in quant_all_bands()
1493 last?NULL:norm2+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, y_cm); in quant_all_bands()
1503 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm|y_cm); in quant_all_bands()
Dcelt_decoder.c419 renormalise_vector(X+boffs, blen, Q15ONE); in celt_decode_lost()
441 opus_val16 fade = Q15ONE; in celt_decode_lost()
615 opus_val16 tmp_g = Q15ONE in celt_decode_lost()
616 - MULT16_16_Q15(window[i], Q15ONE-ratio); in celt_decode_lost()
Dpitch.c152 opus_val16 tmp=Q15ONE; in pitch_downsample()
511 pg = Q15ONE; in remove_doubling()
Dmodes.c374 …window[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overl… in opus_custom_mode_create()
Dvq.c82 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */ in exp_rotation()
/external/libopus/src/
Dopus_encoder.c239 st->prev_HB_gain = Q15ONE; in opus_encoder_init()
413 g1 = Q15ONE-g1; in stereo_fade()
414 g2 = Q15ONE-g2; in stereo_fade()
421 Q15ONE-w, g1), 15); in stereo_fade()
453 Q15ONE-w, g1), 15); in gain_fade()
462 Q15ONE-w, g1), 15); in gain_fade()
861 short_alpha = Q15ONE - 25*Q15ONE/IMAX(50,frame_rate); in compute_stereo_width()
910 ldiff = Q15ONE*ABS16(qrrt_xx-qrrt_yy)/(EPSILON+qrrt_xx+qrrt_yy); in compute_stereo_width()
918 corr=Q15ONE; in compute_stereo_width()
922 return EXTRACT16(MIN32(Q15ONE,20*mem->max_follower)); in compute_stereo_width()
[all …]
Dopus_decoder.c184 Q15ONE-w, in1[i*channels+c]), 15); in smooth_fade()
/external/speex/libspeex/
Darch.h98 #define Q15ONE 32767 macro
144 #define Q15ONE 1.0f macro
Dpreprocess.c863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-E… in speex_preprocess_run()
1137 st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100); in speex_preprocess_ctl()
1145 st->speech_prob_continue = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100); in speex_preprocess_ctl()
Dnb_celp.c1052 …noise_gain = MULT16_16_Q15(innov_gain, MULT16_16_Q15(fact, SUB16(Q15ONE,MULT16_16_Q15(pitch_gain,p… in nb_decode_lost()
/external/libopus/celt/tests/
Dtest_unit_mdct.c132 window[k] = Q15ONE; in test1d()