Loading lib_dec/ivas_spar_decoder.c +1 −16 Original line number Diff line number Diff line Loading @@ -1204,6 +1204,7 @@ void ivas_spar_dec_upmixer( for ( in_ch = 0; in_ch < numch_in; in_ch++ ) { mixer_mat[out_ch][in_ch][spar_band] = (1 - hSpar->hMdDec->smooth_fac[in_ch][spar_band]) * mixer_mat[out_ch][in_ch][spar_band] + hSpar->hMdDec->smooth_fac[in_ch][spar_band] * hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band]; hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band] = mixer_mat[out_ch][in_ch][spar_band]; } } } Loading Loading @@ -1257,22 +1258,6 @@ void ivas_spar_dec_upmixer( } } #ifdef LBR_ADAP_SMOOTHING if ( hDecoderConfig->ivas_total_brate < IVAS_24k4 ) { for ( spar_band = 0; spar_band < num_spar_bands; spar_band++ ) { for ( out_ch = 0; out_ch < numch_out; out_ch++ ) { for ( in_ch = 0; in_ch < numch_in; in_ch++ ) { hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band] = mixer_mat[out_ch][in_ch][spar_band]; } } } } #endif if ( hDecoderConfig->output_config != AUDIO_CONFIG_FOA && hDecoderConfig->output_config != AUDIO_CONFIG_STEREO && hDecoderConfig->output_config != AUDIO_CONFIG_MONO ) { ivas_dirac_dec( st_ivas, output, nchan_internal, cldfb_in_ts_re, cldfb_in_ts_im, i_sf ); Loading Loading
lib_dec/ivas_spar_decoder.c +1 −16 Original line number Diff line number Diff line Loading @@ -1204,6 +1204,7 @@ void ivas_spar_dec_upmixer( for ( in_ch = 0; in_ch < numch_in; in_ch++ ) { mixer_mat[out_ch][in_ch][spar_band] = (1 - hSpar->hMdDec->smooth_fac[in_ch][spar_band]) * mixer_mat[out_ch][in_ch][spar_band] + hSpar->hMdDec->smooth_fac[in_ch][spar_band] * hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band]; hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band] = mixer_mat[out_ch][in_ch][spar_band]; } } } Loading Loading @@ -1257,22 +1258,6 @@ void ivas_spar_dec_upmixer( } } #ifdef LBR_ADAP_SMOOTHING if ( hDecoderConfig->ivas_total_brate < IVAS_24k4 ) { for ( spar_band = 0; spar_band < num_spar_bands; spar_band++ ) { for ( out_ch = 0; out_ch < numch_out; out_ch++ ) { for ( in_ch = 0; in_ch < numch_in; in_ch++ ) { hSpar->hMdDec->mixer_mat_prev2[out_ch][in_ch][spar_band] = mixer_mat[out_ch][in_ch][spar_band]; } } } } #endif if ( hDecoderConfig->output_config != AUDIO_CONFIG_FOA && hDecoderConfig->output_config != AUDIO_CONFIG_STEREO && hDecoderConfig->output_config != AUDIO_CONFIG_MONO ) { ivas_dirac_dec( st_ivas, output, nchan_internal, cldfb_in_ts_re, cldfb_in_ts_im, i_sf ); Loading