Loading lib_com/ivas_cov_smooth.c +8 −1 Original line number Diff line number Diff line Loading @@ -54,13 +54,15 @@ static void ivas_set_up_cov_smoothing( const float max_update_rate, const int16_t min_pool_size #ifdef COV_SMOOTH_TUNING #ifndef FIX_331_ALL_BRS , const int16_t nchan_inp /* i : number of input channels */ #endif #endif ) { int16_t j, k; #ifndef FIX_331_ALL_BRS #ifdef COV_SMOOTH_TUNING if ( nchan_inp <= FOA_CHANNELS ) { Loading @@ -87,6 +89,8 @@ static void ivas_set_up_cov_smoothing( } else { #endif #endif for ( j = 0; j < pFb->filterbank_num_bands; j++ ) { float update_factor; Loading @@ -106,6 +110,7 @@ static void ivas_set_up_cov_smoothing( hCovState->pSmoothing_factor[j] = max_update_rate; } } #ifndef FIX_331_ALL_BRS } #endif hCovState->prior_bank_idx = -1; Loading Loading @@ -153,9 +158,11 @@ ivas_error ivas_spar_covar_smooth_enc_open( } ivas_set_up_cov_smoothing( hCovState, pFb, cov_smooth_cfg->max_update_rate, cov_smooth_cfg->min_pool_size #ifndef FIX_331_ALL_BRS #ifdef COV_SMOOTH_TUNING , nchan_inp #endif #endif ); Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,7 @@ #define SBA_HPF_TUNING_ENC /*#define SBA_HPF_TUNING_DEC*/ #define SMOOTH_WITH_TRANS_DET #define FIX_331_ALL_BRS #endif #define BINAURALIZATION_DELAY_REPORT /* VA: Issue 255 - Changes the way the decoder delay is reported */ Loading lib_enc/ivas_spar_encoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -421,10 +421,12 @@ static ivas_error ivas_spar_enc_process( #ifdef SMOOTH_WITH_TRANS_DET ivas_transient_det_process( hSpar->hTranDet, data_f[0], input_frame, transient_det ); #ifndef FIX_331_ALL_BRS if ( sba_order == 1 ) { transient_det[1] = transient_det[0]; } #endif #else transient_det = ivas_transient_det_process( hSpar->hTranDet, data_f[0], input_frame ); #endif Loading Loading
lib_com/ivas_cov_smooth.c +8 −1 Original line number Diff line number Diff line Loading @@ -54,13 +54,15 @@ static void ivas_set_up_cov_smoothing( const float max_update_rate, const int16_t min_pool_size #ifdef COV_SMOOTH_TUNING #ifndef FIX_331_ALL_BRS , const int16_t nchan_inp /* i : number of input channels */ #endif #endif ) { int16_t j, k; #ifndef FIX_331_ALL_BRS #ifdef COV_SMOOTH_TUNING if ( nchan_inp <= FOA_CHANNELS ) { Loading @@ -87,6 +89,8 @@ static void ivas_set_up_cov_smoothing( } else { #endif #endif for ( j = 0; j < pFb->filterbank_num_bands; j++ ) { float update_factor; Loading @@ -106,6 +110,7 @@ static void ivas_set_up_cov_smoothing( hCovState->pSmoothing_factor[j] = max_update_rate; } } #ifndef FIX_331_ALL_BRS } #endif hCovState->prior_bank_idx = -1; Loading Loading @@ -153,9 +158,11 @@ ivas_error ivas_spar_covar_smooth_enc_open( } ivas_set_up_cov_smoothing( hCovState, pFb, cov_smooth_cfg->max_update_rate, cov_smooth_cfg->min_pool_size #ifndef FIX_331_ALL_BRS #ifdef COV_SMOOTH_TUNING , nchan_inp #endif #endif ); Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -158,6 +158,7 @@ #define SBA_HPF_TUNING_ENC /*#define SBA_HPF_TUNING_DEC*/ #define SMOOTH_WITH_TRANS_DET #define FIX_331_ALL_BRS #endif #define BINAURALIZATION_DELAY_REPORT /* VA: Issue 255 - Changes the way the decoder delay is reported */ Loading
lib_enc/ivas_spar_encoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -421,10 +421,12 @@ static ivas_error ivas_spar_enc_process( #ifdef SMOOTH_WITH_TRANS_DET ivas_transient_det_process( hSpar->hTranDet, data_f[0], input_frame, transient_det ); #ifndef FIX_331_ALL_BRS if ( sba_order == 1 ) { transient_det[1] = transient_det[0]; } #endif #else transient_det = ivas_transient_det_process( hSpar->hTranDet, data_f[0], input_frame ); #endif Loading