Lines Matching refs:gainMult_Q8
94 opus_int16 gainMult_Q8; in silk_encode_frame_FLP() local
161 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FLP()
232 gainMult_upper = gainMult_Q8; in silk_encode_frame_FLP()
238 gainMult_lower = gainMult_Q8; in silk_encode_frame_FLP()
261 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FLP()
264 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
266 … if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP()
267 … gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP()
269 … if( gainMult_Q8 < silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP()
270 … gainMult_Q8 = silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP()
275 … pGains_Q16[ i ] = silk_LSHIFT_SAT32( silk_SMULWB( sEncCtrl.GainsUnq_Q16[ i ], gainMult_Q8 ), 8 ); in silk_encode_frame_FLP()