Lines Matching refs:Q15ONE
241 st->prev_HB_gain = Q15ONE; in opus_encoder_init()
419 g1 = Q15ONE-g1; in stereo_fade()
420 g2 = Q15ONE-g2; in stereo_fade()
427 Q15ONE-w, g1), 15); in stereo_fade()
459 Q15ONE-w, g1), 15); in gain_fade()
468 Q15ONE-w, g1), 15); in gain_fade()
871 short_alpha = Q15ONE - MULT16_16(25, Q15ONE)/IMAX(50,frame_rate); in compute_stereo_width()
926 ldiff = MULT16_16(Q15ONE, ABS16(qrrt_xx-qrrt_yy))/(EPSILON+qrrt_xx+qrrt_yy); in compute_stereo_width()
934 return EXTRACT16(MIN32(Q15ONE, MULT16_16(20, mem->max_follower))); in compute_stereo_width()
1162 mode_voice = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[0][0]) in opus_encode_native()
1164 mode_music = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[1][1]) in opus_encode_native()
1491 HB_gain = Q15ONE; in opus_encode_native()
1525 HB_gain = HB_gain < (opus_val32)Q15ONE*6/7 ? HB_gain + Q15ONE/7 : Q15ONE; in opus_encode_native()
1641 … 0, Q15ONE, celt_mode->overlap, st->Fs/400, st->channels, celt_mode->window, st->Fs); in opus_encode_native()
1783 if( st->prev_HB_gain < Q15ONE || HB_gain < Q15ONE ) { in opus_encode_native()
1797 g1 = g1==16384 ? Q15ONE : SHL16(g1,1); in opus_encode_native()
1798 g2 = g2==16384 ? Q15ONE : SHL16(g2,1); in opus_encode_native()
2479 st->prev_HB_gain = Q15ONE; in opus_encoder_ctl()