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

/external/libopus/silk/float/
H A Dencode_frame_FLP.c92 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; local
105 LastGainIndex_copy2 = nBits_lower = nBits_upper = gainMult_lower = gainMult_upper = 0;
269 gainMult_lower = gainMult_Q8;
314 gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) ) / ( nBits_upper - nBits_lower );
315 /* New gain multplier must be between 25% and 75% of old range (note that gainMult_upper < gainMult_lower) */
316 if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) {
317 gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower,
[all...]
/external/libopus/silk/fixed/
H A Dencode_frame_FIX.c92 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; local
104 LastGainIndex_copy2 = nBits_lower = nBits_upper = gainMult_lower = gainMult_upper = 0;
281 gainMult_lower = gainMult_Q8;
327 gainMult_Q8 = gainMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits - nBits_lower ), nBits_upper - nBits_lower );
328 /* New gain multplier must be between 25% and 75% of old range (note that gainMult_upper < gainMult_lower) */
329 if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) {
330 gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower,
[all...]

Completed in 68 milliseconds