Lines Matching refs:Q15ONE
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()
1134 mode_voice = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[0][0]) in opus_encode_native()
1136 mode_music = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[1][1]) in opus_encode_native()
1451 HB_gain = Q15ONE; in opus_encode_native()
1485 HB_gain = HB_gain < Q15ONE*6/7 ? HB_gain + Q15ONE/7 : Q15ONE; in opus_encode_native()
1601 … 0, Q15ONE, celt_mode->overlap, st->Fs/400, st->channels, celt_mode->window, st->Fs); in opus_encode_native()
1741 if( st->prev_HB_gain < Q15ONE || HB_gain < Q15ONE ) { in opus_encode_native()
1755 g1 = g1==16384 ? Q15ONE : SHL16(g1,1); in opus_encode_native()
1756 g2 = g2==16384 ? Q15ONE : SHL16(g2,1); in opus_encode_native()
2431 st->prev_HB_gain = Q15ONE; in opus_encoder_ctl()