Searched refs:ResNrgPart (Results 1 – 1 of 1) sorted by relevance
/external/libopus/silk/fixed/ |
D | process_gains_FIX.c | 44 opus_int32 s_Q16, InvMaxSqrVal_Q16, gain, gain_squared, ResNrg, ResNrgPart, quant_offset_Q10; in silk_process_gains_FIX() local 63 ResNrgPart = silk_SMULWW( ResNrg, InvMaxSqrVal_Q16 ); in silk_process_gains_FIX() 65 ResNrgPart = silk_RSHIFT_ROUND( ResNrgPart, psEncCtrl->ResNrgQ[ k ] ); in silk_process_gains_FIX() 67 if( ResNrgPart >= silk_RSHIFT( silk_int32_MAX, -psEncCtrl->ResNrgQ[ k ] ) ) { in silk_process_gains_FIX() 68 ResNrgPart = silk_int32_MAX; in silk_process_gains_FIX() 70 ResNrgPart = silk_LSHIFT( ResNrgPart, -psEncCtrl->ResNrgQ[ k ] ); in silk_process_gains_FIX() 74 gain_squared = silk_ADD_SAT32( ResNrgPart, silk_SMMUL( gain, gain ) ); in silk_process_gains_FIX() 77 gain_squared = silk_SMLAWW( silk_LSHIFT( ResNrgPart, 16 ), gain, gain ); in silk_process_gains_FIX()
|