Loading lib_com/ivas_spar_com.c +1 −1 Original line number Diff line number Diff line Loading @@ -1257,7 +1257,7 @@ static void ivas_calc_mat_inv( int16_t sign = 1; ivas_calc_mat_det( dbl_in_re, dim, &det_re ); #ifdef NONBE_FIX_XXX_SBA_DET_MAT_INV_3BY3 #ifdef NONBE_FIX_1213_SBA_DET_MAT_INV_3BY3 det = det_re > 0 ? 1 / max( IVAS_DBL_EPS, det_re ) : 1 / min( det_re, -IVAS_DBL_EPS ); #else det = det_re > 0 ? 1 / max( IVAS_DBL_EPS, det_re ) : min( det_re, -IVAS_DBL_EPS ); Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ /* #################### Start NON-BE switches ############################ */ #define NONBE_FIX_XXX_SBA_DET_MAT_INV_3BY3 /*Dolby: issue xxx: fix for inverse of det < 0*/ #define NONBE_FIX_1213_SBA_DET_MAT_INV_3BY3 /*Dolby: issue 1213: fix for inverse of det < 0*/ /* any switch which is non-be wrt selection floating point code */ /* all switches in this category should start with "NONBE_" */ Loading Loading
lib_com/ivas_spar_com.c +1 −1 Original line number Diff line number Diff line Loading @@ -1257,7 +1257,7 @@ static void ivas_calc_mat_inv( int16_t sign = 1; ivas_calc_mat_det( dbl_in_re, dim, &det_re ); #ifdef NONBE_FIX_XXX_SBA_DET_MAT_INV_3BY3 #ifdef NONBE_FIX_1213_SBA_DET_MAT_INV_3BY3 det = det_re > 0 ? 1 / max( IVAS_DBL_EPS, det_re ) : 1 / min( det_re, -IVAS_DBL_EPS ); #else det = det_re > 0 ? 1 / max( IVAS_DBL_EPS, det_re ) : min( det_re, -IVAS_DBL_EPS ); Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ /* #################### Start NON-BE switches ############################ */ #define NONBE_FIX_XXX_SBA_DET_MAT_INV_3BY3 /*Dolby: issue xxx: fix for inverse of det < 0*/ #define NONBE_FIX_1213_SBA_DET_MAT_INV_3BY3 /*Dolby: issue 1213: fix for inverse of det < 0*/ /* any switch which is non-be wrt selection floating point code */ /* all switches in this category should start with "NONBE_" */ Loading