From c61e13cf532ada17f5d93e18c7ff1c5437d592d0 Mon Sep 17 00:00:00 2001 From: rhb Date: Mon, 12 Jun 2023 10:47:48 +0200 Subject: [PATCH] slight tuning of 96 kbps stereo IGF config --- lib_com/options.h | 1 + lib_com/rom_com.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 4328602f5a..7b26543f13 100755 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -170,6 +170,7 @@ #define FIX_122_MC_DECODER_COMPLEXITY /* FhG: Issue 122, significant decrease of worst case MC decoder complexity */ #define FIX_531_BWS_ISM_BFI /* VA: issue 531: fix MemorySanitizer: use-of-uninitialized-value in ISM2 rate switching with frame errors */ #define FIX_395_CNG_BW /* Eri: Issue 395 - CNG bandwidth issue for unified stereo */ +#define IGF_TUNING_96 /* FhG: Issue 546: slight tuning of IGF config used in 96 kbps stereo, 128 kbps SBA and others */ #define EXTERNAL_ORIENTATIONS /* Nokia: Contribution 41: (external) orientation information handling */ diff --git a/lib_com/rom_com.c b/lib_com/rom_com.c index 800362b576..a1a7459885 100755 --- a/lib_com/rom_com.c +++ b/lib_com/rom_com.c @@ -21632,14 +21632,22 @@ const int16_t igf_tile_offset_table[IGF_BITRATE_UNKNOWN][2*IGF_MAX_TILES+1] = { { 3, 1, 0, 2, 40, 3, 80 }, /* 48000 SWB (stereo TCX10) */ { 4, 2, 80, 4, 128, 6, 144, 7, 212 }, /* 64000 SWB (stereo) */ { 2, 2, 212, 4, 280 }, /* 80000 SWB (stereo) */ +#ifdef IGF_TUNING_96 + { 1, 3, 200}, /* 96000 SWB (stereo) */ +#else { 1, 3, 320}, /* 96000 SWB (stereo) */ +#endif { 9, 1, 0, 2, 32, 3, 72, 4, 120, 5, 48, 6, 112, 7, 64, 8, 0, 9, 80 }, /* 24400 FB (stereo) */ {10, 1, 0, 2, 28, 3, 64, 4, 104, 5, 32, 6, 80, 7, 136, 8, 64, 9, 0, 10, 80 }, /* 32000 FB (stereo) */ { 7, 1, 120, 2, 152, 3, 184, 4, 224, 5, 140, 6, 192, 8, 140}, /* 48000 FB (stereo) */ { 4, 1, 0, 2, 40, 3, 80, 4, 140 }, /* 48000 FB (stereo TCX10) */ { 5, 2, 80, 4, 128, 6, 144, 7, 212, 9, 160 }, /* 64000 FB (stereo) */ { 3, 2, 212, 4, 280, 6, 200 }, /* 80000 FB (stereo) */ +#ifdef IGF_TUNING_96 + { 2, 3, 200, 5, 240}, /* 96000 FB (stereo) */ +#else { 2, 3, 320, 5, 240}, /* 96000 FB (stereo) */ +#endif { 1, 2, 416} /*128000 FB (stereo) */ }; -- GitLab