From f0e1a11930b280c5e72af97255852f3373c21bc0 Mon Sep 17 00:00:00 2001 From: vaclav Date: Mon, 15 Dec 2025 16:35:06 +0100 Subject: [PATCH 1/3] introduce FIX_2285_CODE_DECODER_INIT_BW --- lib_com/options.h | 1 + lib_dec/init_dec.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index 59daf40a86..26872f8291 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -172,6 +172,7 @@ #define FIX_1454_FIX_STEREO_TO_FOA_JBM /* VA: issue 1454: fix buggy stereo to FOA in JBM */ #define FIX_1461_CNG_BW_SWITCHING /* Eri: issue 1461: Stereo parameters are not updated when SID/NODATA forces BW to stay the same */ #define FIX_2252_LP_CNG_STARTS_SID /* VA: issues 2251 and 2252: fix LP CNG uninitialized value in bitstream that starts with an SID */ +#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_dec/init_dec.c b/lib_dec/init_dec.c index f13748c54b..38f7429b69 100644 --- a/lib_dec/init_dec.c +++ b/lib_dec/init_dec.c @@ -87,7 +87,7 @@ ivas_error init_decoder( } else { -#if 0 // keep deactivated for the moment to keep BE +#ifdef FIX_2285_CODE_DECODER_INIT_BW st->bwidth = WB; st->last_bwidth = WB; #else -- GitLab From 7ec9e29d53030a90768aa3588dbc20fb91122f40 Mon Sep 17 00:00:00 2001 From: vaclav Date: Mon, 15 Dec 2025 17:58:41 +0100 Subject: [PATCH 2/3] comment --- lib_com/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index 26872f8291..a305048187 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -172,7 +172,7 @@ #define FIX_1454_FIX_STEREO_TO_FOA_JBM /* VA: issue 1454: fix buggy stereo to FOA in JBM */ #define FIX_1461_CNG_BW_SWITCHING /* Eri: issue 1461: Stereo parameters are not updated when SID/NODATA forces BW to stay the same */ #define FIX_2252_LP_CNG_STARTS_SID /* VA: issues 2251 and 2252: fix LP CNG uninitialized value in bitstream that starts with an SID */ -#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ +#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ /* ##################### End NON-BE switches ########################### */ -- GitLab From 62f69106abfac589c65e7bf52c438787ed2d3c0e Mon Sep 17 00:00:00 2001 From: vaclav Date: Mon, 15 Dec 2025 18:45:30 +0100 Subject: [PATCH 3/3] comment --- lib_com/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index a305048187..26872f8291 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -172,7 +172,7 @@ #define FIX_1454_FIX_STEREO_TO_FOA_JBM /* VA: issue 1454: fix buggy stereo to FOA in JBM */ #define FIX_1461_CNG_BW_SWITCHING /* Eri: issue 1461: Stereo parameters are not updated when SID/NODATA forces BW to stay the same */ #define FIX_2252_LP_CNG_STARTS_SID /* VA: issues 2251 and 2252: fix LP CNG uninitialized value in bitstream that starts with an SID */ -#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ +#define FIX_2285_CODE_DECODER_INIT_BW /* VA: basop issue 2285: fix core-decoder initialization bandwidth */ /* ##################### End NON-BE switches ########################### */ -- GitLab