Loading lib_com/ivas_spar_com.c +5 −2 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ static void ivas_get_Wscaling_factor( { int16_t b, ch; float dm_f_local, abs_val; float postpred_cov_re[IVAS_SPAR_MAX_CH][IVAS_SPAR_MAX_CH]; float postpred_cov_re[IVAS_SPAR_MAX_CH][IVAS_SPAR_MAX_CH] = { 0 }; if ( dtx_vad == 0 ) { Loading @@ -701,7 +701,10 @@ static void ivas_get_Wscaling_factor( { float Gw_sq, g_sq = 0; if ( num_ch != pNum_dmx[b * bands_bw] ) { ivas_calc_post_pred_per_band( cov_real, mixer_mat, num_ch, b, postpred_cov_re ); } Gw_sq = cov_real[0][0][b] / max( postpred_cov_re[0][0], IVAS_FLT_EPS ); Loading Loading
lib_com/ivas_spar_com.c +5 −2 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ static void ivas_get_Wscaling_factor( { int16_t b, ch; float dm_f_local, abs_val; float postpred_cov_re[IVAS_SPAR_MAX_CH][IVAS_SPAR_MAX_CH]; float postpred_cov_re[IVAS_SPAR_MAX_CH][IVAS_SPAR_MAX_CH] = { 0 }; if ( dtx_vad == 0 ) { Loading @@ -701,7 +701,10 @@ static void ivas_get_Wscaling_factor( { float Gw_sq, g_sq = 0; if ( num_ch != pNum_dmx[b * bands_bw] ) { ivas_calc_post_pred_per_band( cov_real, mixer_mat, num_ch, b, postpred_cov_re ); } Gw_sq = cov_real[0][0][b] / max( postpred_cov_re[0][0], IVAS_FLT_EPS ); Loading