diff --git a/lib_com/options.h b/lib_com/options.h index 8b31fe195cb9290f127d9f0edfde4d201a49caf6..aacc67cc772fbb92eadb419217e66e681e3038b9 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -103,6 +103,7 @@ #define HARMONIZE_2604_decoder_tcx_post /* FhG: Harmonize decoder_tcx_post with its ivas derivate */ #define HARMONIZE_2598_tcx_arith_decode_envelope /* FhG: harmonize tcx_arith_decode_envelope between EVS and IVAS versions */ #define HARMONIZE_2598_tcx_arith_encode_envelope /* FhG: harmonize tcx_arith_encode_envelope between EVS and IVAS versions */ +#define FIX_ISSUE_2594_FALSE_COMMENT /* FhG: basop issue 2594: fixing false comments about Q value*/ /* #################### End BE switches ################################## */ diff --git a/lib_dec/ivas_stereo_ica_dec_fx.c b/lib_dec/ivas_stereo_ica_dec_fx.c index 9345fccaebfca269ed67ca8ac538e835852c3991..d88bdd3a959178fb7d9af5ed31da0935fdaa45cb 100644 --- a/lib_dec/ivas_stereo_ica_dec_fx.c +++ b/lib_dec/ivas_stereo_ica_dec_fx.c @@ -436,11 +436,20 @@ void stereo_tca_scale_R_channel_fx( move32(); BREAK; case 32000: +#ifndef FIX_ISSUE_2594_FALSE_COMMENT winSlope_fx = 13421773; // 0.00625 in Q30 +#else + winSlope_fx = 13421773; // 0.00625 in Q31 +#endif // !FIX_ISSUE_2594_FALSE_COMMENT move32(); BREAK; case 48000: +#ifndef FIX_ISSUE_2594_FALSE_COMMENT winSlope_fx = 8947849; // 0.00416 in Q30 +#else + winSlope_fx = 8947849; // 0.00416 in Q31 +#endif // !FIX_ISSUE_2594_FALSE_COMMENT + move32(); BREAK; }