Searched refs:gainMult_Q8 (Results 1 - 2 of 2) sorted by relevance

/external/libopus/silk/fixed/
H A Dencode_frame_FIX.c93 opus_int16 gainMult_Q8; local
165 gainMult_Q8 = SILK_FIX_CONST( 1, 8 );
247 gainMult_upper = gainMult_Q8;
253 gainMult_lower = gainMult_Q8;
276 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 );
279 gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits - nBits_lower ), nBits_upper - nBits_lower );
281 if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) {
282 gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 );
284 if( gainMult_Q8 < silk_SUB_RSHIFT3
[all...]
/external/libopus/silk/float/
H A Dencode_frame_FLP.c94 opus_int16 gainMult_Q8; local
161 gainMult_Q8 = SILK_FIX_CONST( 1, 8 );
232 gainMult_upper = gainMult_Q8;
238 gainMult_lower = gainMult_Q8;
261 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 );
264 gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) ) / ( nBits_upper - nBits_lower );
266 if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) {
267 gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 );
269 if( gainMult_Q8 < silk_SUB_RSHIFT3
[all...]

Completed in 457 milliseconds