Searched refs:gainMult_Q8 (Results 1 – 2 of 2) sorted by relevance
/external/libopus/silk/float/ |
D | encode_frame_FLP.c | 94 opus_int16 gainMult_Q8; in silk_encode_frame_FLP() local 161 gainMult_Q8 = SILK_FIX_CONST( 1, 8 ); in silk_encode_frame_FLP() 232 gainMult_upper = gainMult_Q8; in silk_encode_frame_FLP() 238 gainMult_lower = gainMult_Q8; in silk_encode_frame_FLP() 261 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FLP() 264 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP() 266 … if( gainMult_Q8 > silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP() 267 … gainMult_Q8 = silk_ADD_RSHIFT32( gainMult_lower, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP() 269 … if( gainMult_Q8 < silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ) ) { in silk_encode_frame_FLP() 270 … gainMult_Q8 = silk_SUB_RSHIFT32( gainMult_upper, gainMult_upper - gainMult_lower, 2 ); in silk_encode_frame_FLP() [all …]
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 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() [all …]
|