Searched refs:Q15ONE (Results 1 – 13 of 13) sorted by relevance
/external/libopus/celt/ |
D | celt.c | 150 + 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()
|
D | arch.h | 95 #define Q15ONE 32767 macro 140 #define Q15ONE 1.0f macro
|
D | bands.c | 348 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()
|
D | celt_decoder.c | 419 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()
|
D | pitch.c | 152 opus_val16 tmp=Q15ONE; in pitch_downsample() 511 pg = Q15ONE; in remove_doubling()
|
D | modes.c | 374 …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()
|
D | vq.c | 82 s = celt_cos_norm(EXTEND32(SUB16(Q15ONE,theta))); /* sin(theta) */ in exp_rotation()
|
/external/libopus/src/ |
D | opus_encoder.c | 239 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 …]
|
D | opus_decoder.c | 184 Q15ONE-w, in1[i*channels+c]), 15); in smooth_fade()
|
/external/speex/libspeex/ |
D | arch.h | 98 #define Q15ONE 32767 macro 144 #define Q15ONE 1.0f macro
|
D | preprocess.c | 863 /*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()
|
D | nb_celp.c | 1052 …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/ |
D | test_unit_mdct.c | 132 window[k] = Q15ONE; in test1d()
|