Loading lib_dec/ivas_sba_dec.c +7 −5 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ ivas_error ivas_sba_dec_reconfigure( int32_t ivas_total_brate, last_ivas_total_brate; DECODER_CONFIG_HANDLE hDecoderConfig; ivas_error error; #ifdef SBA_BR_SWITCHING_CLEAN_UP int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1]; #endif error = IVAS_ERR_OK; hDecoderConfig = st_ivas->hDecoderConfig; Loading Loading @@ -133,9 +135,9 @@ ivas_error ivas_sba_dec_reconfigure( SPAR_DEC_HANDLE hSpar = st_ivas->hSpar; sba_order_internal = min( st_ivas->sba_analysis_order, IVAS_MAX_SBA_ORDER ); nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal ); #ifndef SBA_BR_SWITCHING_CLEAN_UP #ifndef SBA_BR_SWITCHING_CLEAN_UP nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal ); if ( hSpar != NULL && nchan_transport_old != ivas_get_sba_num_TCs( ivas_total_brate, sba_order_internal ) ) { // VE: dirty patch -> reconfiguration of SPAR modules should be used instead !! Loading Loading @@ -376,7 +378,7 @@ ivas_error ivas_sba_dec_reconfigure( ivas_dirac_dec_close( st_ivas->hDirAC ); st_ivas->hDirAC = NULL; } int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1]; st_ivas->hSpar->enc_param_start_band = min( IVAS_MAX_NUM_BANDS, SPAR_DIRAC_SPLIT_START_BAND ); Loading Loading
lib_dec/ivas_sba_dec.c +7 −5 Original line number Diff line number Diff line Loading @@ -64,7 +64,9 @@ ivas_error ivas_sba_dec_reconfigure( int32_t ivas_total_brate, last_ivas_total_brate; DECODER_CONFIG_HANDLE hDecoderConfig; ivas_error error; #ifdef SBA_BR_SWITCHING_CLEAN_UP int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1]; #endif error = IVAS_ERR_OK; hDecoderConfig = st_ivas->hDecoderConfig; Loading Loading @@ -133,9 +135,9 @@ ivas_error ivas_sba_dec_reconfigure( SPAR_DEC_HANDLE hSpar = st_ivas->hSpar; sba_order_internal = min( st_ivas->sba_analysis_order, IVAS_MAX_SBA_ORDER ); nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal ); #ifndef SBA_BR_SWITCHING_CLEAN_UP #ifndef SBA_BR_SWITCHING_CLEAN_UP nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal ); if ( hSpar != NULL && nchan_transport_old != ivas_get_sba_num_TCs( ivas_total_brate, sba_order_internal ) ) { // VE: dirty patch -> reconfiguration of SPAR modules should be used instead !! Loading Loading @@ -376,7 +378,7 @@ ivas_error ivas_sba_dec_reconfigure( ivas_dirac_dec_close( st_ivas->hDirAC ); st_ivas->hDirAC = NULL; } int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1]; st_ivas->hSpar->enc_param_start_band = min( IVAS_MAX_NUM_BANDS, SPAR_DIRAC_SPLIT_START_BAND ); Loading