Lines Matching refs:gainMult_Q8
93 opus_int16 gainMult_Q8; in silk_encode_frame_FIX() local
165 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FIX()
245 gainMult_upper = gainMult_Q8; in silk_encode_frame_FIX()
251 gainMult_lower = gainMult_Q8; in silk_encode_frame_FIX()
274 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FIX()
277 …gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits -… in silk_encode_frame_FIX()
279 … if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FIX()
280 … gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FIX()
282 … if( gainMult_Q8 < silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FIX()
283 … gainMult_Q8 = silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FIX()
288 …rl.Gains_Q16[ i ] = silk_LSHIFT_SAT32( silk_SMULWB( sEncCtrl.GainsUnq_Q16[ i ], gainMult_Q8 ), 8 ); in silk_encode_frame_FIX()