Commit 0da15e11 authored by fotopoulou's avatar fotopoulou
Browse files

Merge branch '1069-revert-zero-flush-treshold' into 'main'

[non-BE][split non-BE] Resolve "revert zero flush treshold in decoder SVD"

See merge request !1623
parents 7a4e4a85 f3d28497
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -171,6 +171,7 @@
/* all switches in this category should start with "NONBE_" */
/* all switches in this category should start with "NONBE_" */


#define NONBE_FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT   /* fix 1070 USAN: nullptr-with-offset and Segfaults in 7_1_4 to BINAURAL and BINAURAL_ROOM_REVERB decoding with bitrate switching and head rotation*/
#define NONBE_FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT   /* fix 1070 USAN: nullptr-with-offset and Segfaults in 7_1_4 to BINAURAL and BINAURAL_ROOM_REVERB decoding with bitrate switching and head rotation*/
#define REVERT_ZERO_FLUSH_TRESH                               /* FhG: issue 1069: revert threshold value introduced with !1518 due to significant complexity increase*/ 
/* ##################### End NON-BE switches ########################### */
/* ##################### End NON-BE switches ########################### */


/* ################## End DEVELOPMENT switches ######################### */
/* ################## End DEVELOPMENT switches ######################### */
+7 −3
Original line number Original line Diff line number Diff line
@@ -51,7 +51,11 @@
#define SVD_MINIMUM_VALUE     1e-32f   /* minimum value                                                   */
#define SVD_MINIMUM_VALUE     1e-32f   /* minimum value                                                   */
#define CONVERGENCE_FACTOR    1.0e-04f /* factor for SVD convergence                                      */
#define CONVERGENCE_FACTOR    1.0e-04f /* factor for SVD convergence                                      */
#define SVD_MAX_NUM_ITERATION 75       /* maximum number of interations before exiting the SVD            */
#define SVD_MAX_NUM_ITERATION 75       /* maximum number of interations before exiting the SVD            */
#ifdef REVERT_ZERO_FLUSH_TRESH
#define SVD_ZERO_FLUSH_THRESHOLD 1.0e-20f
#else
#define SVD_ZERO_FLUSH_THRESHOLD 0.0f
#define SVD_ZERO_FLUSH_THRESHOLD 0.0f
#endif




/*-----------------------------------------------------------------------*
/*-----------------------------------------------------------------------*