Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ #define FLOAT_FIX_POINT_HRTF_FILE_FORMAT /* allows reading floation or fix point hrtf binary file format */ #define FIX_1138_SBA_EXT_ERROR_PRINTOUT /* VA: issue 1138: Fix SBA EXT output call of audioCfg2channels() */ #define FIX_1117_ISAR_MALLOC /* VA: issue 1117: call ISAR malloc() only at the initialization. */ #define FIX_BASOP_812_NAN_COHSNR /* FhG: BASOP issue 812: fix nan values in sparse frames for cohSNR value in ITD estimation*/ /* #################### End BE switches ################################## */ Loading lib_enc/ivas_stereo_dft_enc_itd.c +12 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,18 @@ void stereo_dft_enc_compute_itd( } /*calculate total cohSNR for frame in dB*/ #ifdef FIX_BASOP_812_NAN_COHSNR if( mEr > 0 ) { #endif cohSNR = 20 * log10f( mEr ); #ifdef FIX_BASOP_812_NAN_COHSNR } else { cohSNR = 0; } #endif /* collect UNCLR classifier parameters */ { Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ #define FLOAT_FIX_POINT_HRTF_FILE_FORMAT /* allows reading floation or fix point hrtf binary file format */ #define FIX_1138_SBA_EXT_ERROR_PRINTOUT /* VA: issue 1138: Fix SBA EXT output call of audioCfg2channels() */ #define FIX_1117_ISAR_MALLOC /* VA: issue 1117: call ISAR malloc() only at the initialization. */ #define FIX_BASOP_812_NAN_COHSNR /* FhG: BASOP issue 812: fix nan values in sparse frames for cohSNR value in ITD estimation*/ /* #################### End BE switches ################################## */ Loading
lib_enc/ivas_stereo_dft_enc_itd.c +12 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,18 @@ void stereo_dft_enc_compute_itd( } /*calculate total cohSNR for frame in dB*/ #ifdef FIX_BASOP_812_NAN_COHSNR if( mEr > 0 ) { #endif cohSNR = 20 * log10f( mEr ); #ifdef FIX_BASOP_812_NAN_COHSNR } else { cohSNR = 0; } #endif /* collect UNCLR classifier parameters */ { Loading