*Etot_v_h2=s_max(round_fx(L_Etot_v_h2),26/* 0.1 in Q8*/);// Q8
*Etot_v_h2=L_max(L_Etot_v_h2,1677722/* 0.1 in Q24*/);// Q24
move16();
return;
@@ -3494,7 +3494,7 @@ void noise_est_ivas_fx(
) */
ELSEIF((LT_16(hNoiseEst->act_pred_fx,26214/* 0.8 in Q15*/)&&((aE_bgd!=0)||(PAU!=0))&&(LT_16(hNoiseEst->lt_haco_ev_fx,3277/* 0.1 in q15*/)))||
((LT_16(hNoiseEst->act_pred_fx,22938/* 0.70 in Q15 */))&&((aE_bgd!=0)||(LT_16(non_staB,17*256/* 17.0 in Q8 */)))&&(PAU!=0)&&(LT_16(hNoiseEst->lt_haco_ev_fx,4915/* 0.15 in Q15 */)))||
(GT_16(hNoiseEst->harm_cor_cnt,80)&>_16(hNoiseEst->totalNoise_fx,5*256/* 5.0 in Q8 */)&<_16(Etot,s_max(1*256,add(Etot_l_lp,add(hNoiseEst->Etot_v_h2_fx,shr(hNoiseEst->Etot_v_h2_fx,1))/* 1.5= 1.0+.5 */))))||
(GT_16(hNoiseEst->harm_cor_cnt,80)&>_16(hNoiseEst->totalNoise_fx,5*256/* 5.0 in Q8 */)&<_16(Etot,s_max(1*256,add(Etot_l_lp,extract_h(L_add(hNoiseEst->Etot_v_h2_32fx,L_shr(hNoiseEst->Etot_v_h2_32fx,1)))/* 1.5= 1.0+.5 */))))||
(GT_16(hNoiseEst->harm_cor_cnt,50)&>_16(hNoiseEst->first_noise_updt,30)&&(aE_bgd!=0)&>_16(hNoiseEst->lt_aEn_zero_fx,16384/*.5 in Q15*/))||(tn_ini!=0))