Home
last modified time | relevance | path

Searched refs:gainMult_upper (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/float/
Dencode_frame_FLP.c99 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FLP() local
112 LastGainIndex_copy2 = nBits_lower = nBits_upper = gainMult_lower = gainMult_upper = 0; in silk_encode_frame_FLP()
270 gainMult_upper = gainMult_Q8; in silk_encode_frame_FLP()
321 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
323 … if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP()
324 … gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP()
326 … if( gainMult_Q8 < silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP()
327 … gainMult_Q8 = silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c99 opus_int32 seed_copy, nBits, nBits_lower, nBits_upper, gainMult_lower, gainMult_upper; in silk_encode_frame_FIX() local
111 LastGainIndex_copy2 = nBits_lower = nBits_upper = gainMult_lower = gainMult_upper = 0; in silk_encode_frame_FIX()
282 gainMult_upper = 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()