Loading lib_enc/swb_bwe_enc_lr_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ static Word16 GetSubbandCorrIndex2_har_fx( /* o : corr_sq_hi_fx = extract_h( L_corr_sq ); L_corr_sq = L_mult_o( corr_sq_hi_fx, corr_sq_hi_fx, &Overflow ); /* (((Qhi:Qsh+exp_norm_hi-16)+Qss+1)+exp_norm-16)*2+1 */ #ifdef ISSUE_1799_replace_L_shr_o__ #ifdef ISSUE_1799_replace_L_shr_o L_corr_sq = L_shr_sat( L_corr_sq, s_min( shl( exp_norm, 1 ), 31 ) ); /* (QCorr-16)*2+1 */ /* Catching an Overflow: solve MAX_32 = x / 2^y for integers x < 2^31 and y : x has to be MAX_32 and y has to be 0 Loading Loading
lib_enc/swb_bwe_enc_lr_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,7 @@ static Word16 GetSubbandCorrIndex2_har_fx( /* o : corr_sq_hi_fx = extract_h( L_corr_sq ); L_corr_sq = L_mult_o( corr_sq_hi_fx, corr_sq_hi_fx, &Overflow ); /* (((Qhi:Qsh+exp_norm_hi-16)+Qss+1)+exp_norm-16)*2+1 */ #ifdef ISSUE_1799_replace_L_shr_o__ #ifdef ISSUE_1799_replace_L_shr_o L_corr_sq = L_shr_sat( L_corr_sq, s_min( shl( exp_norm, 1 ), 31 ) ); /* (QCorr-16)*2+1 */ /* Catching an Overflow: solve MAX_32 = x / 2^y for integers x < 2^31 and y : x has to be MAX_32 and y has to be 0 Loading