Searched refs:gain_factor_Q16 (Results 1 – 2 of 2) sorted by relevance
/external/libopus/silk/float/ |
D | encode_frame_FLP.c | 255 opus_int32 gain_factor_Q16; in silk_encode_frame_FLP() local 256 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FLP() 257 gain_factor_Q16 = silk_min_32( gain_factor_Q16, SILK_FIX_CONST( 2, 16 ) ); in silk_encode_frame_FLP() 259 gain_factor_Q16 = silk_max_32( gain_factor_Q16, SILK_FIX_CONST( 1.3, 16 ) ); in silk_encode_frame_FLP() 261 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FLP()
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 268 opus_int32 gain_factor_Q16; in silk_encode_frame_FIX() local 269 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FIX() 270 gain_factor_Q16 = silk_min_32( gain_factor_Q16, SILK_FIX_CONST( 2, 16 ) ); in silk_encode_frame_FIX() 272 gain_factor_Q16 = silk_max_32( gain_factor_Q16, SILK_FIX_CONST( 1.3, 16 ) ); in silk_encode_frame_FIX() 274 gainMult_Q8 = silk_SMULWB( gain_factor_Q16, gainMult_Q8 ); in silk_encode_frame_FIX()
|