Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ #define FIX_1942_ASSERTION_LOWSHELF /* FhG: Modified the target_gains_db_fx calculation in compute_t60_coeffs_fx() */ #define FIX_1944_CRASH_FOR_STEREO /* FhG: improve TonalMDCTConceal_InsertNoise calculation precision */ #define FIX_1970_SBA_CRASH /* Dlb: Fix for issue 1970, SBA crash */ #define FIX_maximum_exp_fx /*issue needed*/ #define FIX_1981_MAXIMUM_EXP_FX /* FhG: Fix bug in function to find maximum value in vector */ #define FIX_1946_CRASH_JBM_PROCESSING /* FhG: Increased guard bits of DFT_fx */ /* #################### Start BASOP porting switches ############################ */ Loading lib_com/tools_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1224,7 +1224,7 @@ Word16 maximum_exp_fx( /* o : index of the maximum value Word16 tmp, exp; ind = 0; move16(); #ifndef FIX_maximum_exp_fx #ifndef FIX_1981_MAXIMUM_EXP_FX tmp = vec_fx[0]; move16(); exp = exp_vec[0]; Loading @@ -1233,7 +1233,7 @@ Word16 maximum_exp_fx( /* o : index of the maximum value FOR( j = 1; j < lvec_fx; j++ ) { #ifdef FIX_maximum_exp_fx #ifdef FIX_1981_MAXIMUM_EXP_FX exp = sub(norm_s( vec_fx[j] ), 1); tmp = shl( vec_fx[j], exp ); if( LT_16( vec_fx[ind], shr_sat( tmp, sub( exp_vec[ind], sub(exp_vec[j], exp) ) ) ) ) Loading Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ #define FIX_1942_ASSERTION_LOWSHELF /* FhG: Modified the target_gains_db_fx calculation in compute_t60_coeffs_fx() */ #define FIX_1944_CRASH_FOR_STEREO /* FhG: improve TonalMDCTConceal_InsertNoise calculation precision */ #define FIX_1970_SBA_CRASH /* Dlb: Fix for issue 1970, SBA crash */ #define FIX_maximum_exp_fx /*issue needed*/ #define FIX_1981_MAXIMUM_EXP_FX /* FhG: Fix bug in function to find maximum value in vector */ #define FIX_1946_CRASH_JBM_PROCESSING /* FhG: Increased guard bits of DFT_fx */ /* #################### Start BASOP porting switches ############################ */ Loading
lib_com/tools_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -1224,7 +1224,7 @@ Word16 maximum_exp_fx( /* o : index of the maximum value Word16 tmp, exp; ind = 0; move16(); #ifndef FIX_maximum_exp_fx #ifndef FIX_1981_MAXIMUM_EXP_FX tmp = vec_fx[0]; move16(); exp = exp_vec[0]; Loading @@ -1233,7 +1233,7 @@ Word16 maximum_exp_fx( /* o : index of the maximum value FOR( j = 1; j < lvec_fx; j++ ) { #ifdef FIX_maximum_exp_fx #ifdef FIX_1981_MAXIMUM_EXP_FX exp = sub(norm_s( vec_fx[j] ), 1); tmp = shl( vec_fx[j], exp ); if( LT_16( vec_fx[ind], shr_sat( tmp, sub( exp_vec[ind], sub(exp_vec[j], exp) ) ) ) ) Loading