From b2d4f1ac913c0c9b074c976c66d4e3444a2fc023 Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Wed, 7 Feb 2024 14:54:19 +0530 Subject: [PATCH] Fix for infinite loop issue observed with an LTV test stream of -10dB. During conversion of some sub-modules, value of macro MASA2TOTAL_THR was modified in fixed point considering conversion error margin. This was causing the issue. After the dependent sub-modules conversion, the same value has been reverted back. --- lib_com/ivas_cnst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_com/ivas_cnst.h b/lib_com/ivas_cnst.h index a9fab43cf..b43355c63 100644 --- a/lib_com/ivas_cnst.h +++ b/lib_com/ivas_cnst.h @@ -1159,8 +1159,8 @@ enum #define MASA_TRANSP_BITS 1 #define NO_BITS_MASA_ISM_NO_OBJ 2 #ifdef IVAS_FLOAT_FIXED -#define MASA2TOTAL_THR 0.979965f // Temporary -#define MASA2TOTAL_THR_Q30 1052229376l // 0.979965f in Q30 +#define MASA2TOTAL_THR 0.98f +#define MASA2TOTAL_THR_Q30 1052266987 // 0.98f in Q30 //Maximum error in float to fixed conversion : 0.005% //Assuming the accuracy of 99.995% //New value = 99.995 / 100 * 0.98 = 0.979951 -- GitLab