Lines Matching refs:gainMult_Q8
101 opus_int16 gainMult_Q8; in silk_encode_frame_FIX() local
169 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FIX()
282 gainMult_upper = gainMult_Q8; in silk_encode_frame_FIX()
288 gainMult_lower = gainMult_Q8; in silk_encode_frame_FIX()
312 best_gain_mult[i] = gainMult_Q8; in silk_encode_frame_FIX()
321 if (gainMult_Q8 < 16384) { in silk_encode_frame_FIX()
322 gainMult_Q8 *= 2; in silk_encode_frame_FIX()
324 gainMult_Q8 = 32767; in silk_encode_frame_FIX()
329 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FIX()
334 …gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits -… in silk_encode_frame_FIX()
336 … if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FIX()
337 … gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FIX()
339 … if( gainMult_Q8 < silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FIX()
340 … gainMult_Q8 = silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FIX()
349 tmp = gainMult_Q8; in silk_encode_frame_FIX()