Loading lib_com/swb_tbe_com_fx.c +10 −0 Original line number Diff line number Diff line Loading @@ -3089,6 +3089,16 @@ void GenShapedSHBExcitation_ivas_fx( { excNoisyEnv[i] = mac_r( L_tmp, csfilt_num2[0], shl( excTmp2[i], sub( Q_excTmp2, *Q_bwe_exc ) ) ); move16(); /* Work-around to avoid 0s for very small value*/ test(); test(); test(); test(); if ( excNoisyEnv[i] == 0 && ( L_tmp != 0 || ( csfilt_num2[0] != 0 && excTmp2[i] != 0 ) ) ) { excNoisyEnv[i] = 1; move16(); } /* excNoisyEnv : Q_excTmp2, *mem_csfilt: Q_excTmp2+16, excTmp2: Q_excTmp2, csfilt_num2[0] Q_excTmp2 */ L_tmp = L_mult( excNoisyEnv[i], neg_csfilt_den2[1] ); /* Q_excTmp2 + 16 */ Loading Loading
lib_com/swb_tbe_com_fx.c +10 −0 Original line number Diff line number Diff line Loading @@ -3089,6 +3089,16 @@ void GenShapedSHBExcitation_ivas_fx( { excNoisyEnv[i] = mac_r( L_tmp, csfilt_num2[0], shl( excTmp2[i], sub( Q_excTmp2, *Q_bwe_exc ) ) ); move16(); /* Work-around to avoid 0s for very small value*/ test(); test(); test(); test(); if ( excNoisyEnv[i] == 0 && ( L_tmp != 0 || ( csfilt_num2[0] != 0 && excTmp2[i] != 0 ) ) ) { excNoisyEnv[i] = 1; move16(); } /* excNoisyEnv : Q_excTmp2, *mem_csfilt: Q_excTmp2+16, excTmp2: Q_excTmp2, csfilt_num2[0] Q_excTmp2 */ L_tmp = L_mult( excNoisyEnv[i], neg_csfilt_den2[1] ); /* Q_excTmp2 + 16 */ Loading