Loading lib_com/ivas_dirac_com.c +2 −0 Original line number Diff line number Diff line Loading @@ -173,8 +173,10 @@ ivas_error ivas_dirac_config( } hConfig->enc_param_start_band = 0; hConfig->dec_param_estim = FALSE; #ifndef FIX_393_459_460_SBA_MD #ifdef FIX_391_SBA hConfig->dec_param_estim_old = hConfig->dec_param_estim; #endif #endif if ( ivas_format == SBA_FORMAT ) /* skip for MASA decoder */ { Loading lib_com/ivas_prot.h +9 −1 Original line number Diff line number Diff line Loading @@ -3878,8 +3878,12 @@ void ivas_dirac_dec_output_synthesis_process_subframe_gain_shd( const float *onset_filter #ifdef HODIRAC , #ifdef FIX_393_459_460_SBA_MD float *diffuseness, #else #ifdef JBM_TSM_ON_TCS const int16_t md_idx, #endif #endif const int16_t hodirac_flag /* i : flag to indicate HO-DirAC mode */ #endif Loading @@ -3891,7 +3895,11 @@ void ivas_dirac_dec_output_synthesis_process_subframe_psd_ls( DIRAC_DEC_HANDLE hDirAC, /* i/o: DirAC handle */ #ifdef JBM_TSM_ON_TCS const int16_t nbslots, /* i : number of slots to process */ #ifdef FIX_393_459_460_SBA_MD float *diffuseness_vector, /* i : diffuseness (needed for direction smoothing)*/ #else const int16_t diff_md_idx, /* i : md slot idx of diffuseness to use */ #endif #endif float *reference_power_smooth, float qualityBasedSmFactor Loading lib_com/ivas_stat_com.h +2 −0 Original line number Diff line number Diff line Loading @@ -185,8 +185,10 @@ typedef struct ivas_dirac_config_data_struct { int16_t enc_param_start_band; int16_t dec_param_estim; #ifndef FIX_393_459_460_SBA_MD #ifdef FIX_391_SBA int16_t dec_param_estim_old; #endif #endif int16_t nbands; Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ #define JBM_TSM_ON_TCS /* FhG: run the TSM part of JBM on the TCs instead of the final output pcm waveforms */ #define FIX_DTX_428 /* FhG: fix for issue 428, crash with DTX and bitrate switching */ #define FIX_393_459_460_SBA_MD /* FhG: fix issues 393, 459, 460, 494 all related to MD buffers and the read index for accessing them */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading lib_dec/ivas_dirac_dec.c +163 −14 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
lib_com/ivas_dirac_com.c +2 −0 Original line number Diff line number Diff line Loading @@ -173,8 +173,10 @@ ivas_error ivas_dirac_config( } hConfig->enc_param_start_band = 0; hConfig->dec_param_estim = FALSE; #ifndef FIX_393_459_460_SBA_MD #ifdef FIX_391_SBA hConfig->dec_param_estim_old = hConfig->dec_param_estim; #endif #endif if ( ivas_format == SBA_FORMAT ) /* skip for MASA decoder */ { Loading
lib_com/ivas_prot.h +9 −1 Original line number Diff line number Diff line Loading @@ -3878,8 +3878,12 @@ void ivas_dirac_dec_output_synthesis_process_subframe_gain_shd( const float *onset_filter #ifdef HODIRAC , #ifdef FIX_393_459_460_SBA_MD float *diffuseness, #else #ifdef JBM_TSM_ON_TCS const int16_t md_idx, #endif #endif const int16_t hodirac_flag /* i : flag to indicate HO-DirAC mode */ #endif Loading @@ -3891,7 +3895,11 @@ void ivas_dirac_dec_output_synthesis_process_subframe_psd_ls( DIRAC_DEC_HANDLE hDirAC, /* i/o: DirAC handle */ #ifdef JBM_TSM_ON_TCS const int16_t nbslots, /* i : number of slots to process */ #ifdef FIX_393_459_460_SBA_MD float *diffuseness_vector, /* i : diffuseness (needed for direction smoothing)*/ #else const int16_t diff_md_idx, /* i : md slot idx of diffuseness to use */ #endif #endif float *reference_power_smooth, float qualityBasedSmFactor Loading
lib_com/ivas_stat_com.h +2 −0 Original line number Diff line number Diff line Loading @@ -185,8 +185,10 @@ typedef struct ivas_dirac_config_data_struct { int16_t enc_param_start_band; int16_t dec_param_estim; #ifndef FIX_393_459_460_SBA_MD #ifdef FIX_391_SBA int16_t dec_param_estim_old; #endif #endif int16_t nbands; Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ #define JBM_TSM_ON_TCS /* FhG: run the TSM part of JBM on the TCs instead of the final output pcm waveforms */ #define FIX_DTX_428 /* FhG: fix for issue 428, crash with DTX and bitrate switching */ #define FIX_393_459_460_SBA_MD /* FhG: fix issues 393, 459, 460, 494 all related to MD buffers and the read index for accessing them */ /* ################## End DEVELOPMENT switches ######################### */ /* clang-format on */ Loading
lib_dec/ivas_dirac_dec.c +163 −14 File changed.Preview size limit exceeded, changes collapsed. Show changes