Commit 8d0cf2c5 authored by Brown, Stefanie's avatar Brown, Stefanie
Browse files

Low bitrate SBA tuning fix to ensure worst case SPAR MD bitstream and...

Low bitrate SBA tuning fix to ensure worst case SPAR MD bitstream and ivas_spar_br_table_consts[] core codec worst case bitrate values agree.
parent 33ba50d9
Loading
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -889,13 +889,20 @@ const ivas_spar_br_table_t ivas_spar_br_table_consts[IVAS_SPAR_BR_TABLE_LEN] =
{
/* When AGC is ON additional (AGC_BITS_PER_CH+1) bits may be taken from each core-coder channel
   so minimum core-coder bitrate per channel can be min core-coder bitrates as per the table - AGC_BITS_PER_CH */
 /* preferred tuning (3.2/4.9kbps) with/out TDD */
	{ 13200, 0, SBA_FOA_ORDER, FB, 24000, 1, WYXZ, 1, 0,
#ifdef FIX_487_LOWRATE_SBA_TUNING_FIX
	{ { 10000, 8150, 13150 } },
#else
	{ { 10000, 8300, 13150 } },
#endif
    { { 15, 1, 5, 1 },{ 15, 1, 3, 1 },{ 7, 1, 3, 1 } }, 0, 0, 0 },
	{ 16400, 0, SBA_FOA_ORDER, FB, 24000, 1, WYXZ, 1, 0,
#ifdef FIX_487_LOWRATE_SBA_TUNING_FIX
	{ { 13200, 11350, 16350 } },
#else
	{ { 13200, 11500, 16350 } },
#endif
    { { 15, 1, 5, 1 },{ 15, 1, 3, 1 },{ 7, 1, 3, 1 } },	0, 0, 0 },
    { 24400, 0, SBA_FOA_ORDER, FB, 24000, 1, WYXZ, 1, 0,{ { 16400, 14850, 24350 } },
    { { 15, 1, 5, 1 },{ 15, 1, 3, 1 },{ 7, 1, 3, 1 } }, 0, 0, 0 },
+2 −0
Original line number Diff line number Diff line
@@ -221,6 +221,8 @@

#define HYBRID_ITD_MAX                                 /* FhG: Improvement for DFT-stereo for cases with large ITDs */

#define FIX_487_LOWRATE_SBA_TUNING_FIX                  /* Dlb: TUning fix for low bitrate cases to match theoretical longest SPAR MD bitstream */


/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */