Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ #define FIX_1530_Codec_Level_Harmonization_Non_diegetic_panning /* FhG: Adjust non-diegetic panning law to harmonize codec levels with 3GPP reference software */ #define FIX_FLOAT_1518 /* FhG: fix issue 1518: loudness differences in OSBA decoding to mono or stereo output */ #define FIX_FLOAT_1533_BLEND_SUBFR2 /* FhG: float issue 1533: correct blending in blend_subfr2() */ #define FIX_2465_Q_BWE_EXC /* VA: basop issue 2465: fix calculation of Q_bwe_exc in SWB TBE encoder */ /* ##################### End NON-BE switches ########################### */ Loading lib_dec/swb_tbe_dec_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -5312,7 +5312,11 @@ void swb_tbe_dec_ivas_fx( Lmax = 0; move32(); #ifdef FIX_2465_Q_BWE_EXC FOR( cnt = 0; cnt < sig_len; cnt++ ) #else FOR( cnt = 0; cnt < sig_len; cnt++ ) // note: this differs from the encoder where the length is always L_FRAME32k #endif #else Lmax = 0; move32(); Loading lib_enc/swb_tbe_enc_fx.c +13 −0 Original line number Diff line number Diff line Loading @@ -3097,8 +3097,21 @@ void swb_tbe_enc_ivas_fx( /* -------- start of memory rescaling -------- */ /* ----- calculate optimum Q_bwe_exc and rescale memories accordingly ----- */ #ifdef FIX_2465_Q_BWE_EXC Word16 sig_len = L_FRAME32k + NL_BUFF_OFFSET; move16(); IF( st_fx->element_mode == EVS_MONO ) { sig_len = L_FRAME32k; move16(); } Lmax = L_deposit_l( 0 ); FOR( cnt = 0; cnt < sig_len; cnt++ ) #else Lmax = L_deposit_l( 0 ); FOR( cnt = 0; cnt < L_FRAME32k; cnt++ ) #endif { Lmax = L_max( Lmax, L_abs( bwe_exc_extended[cnt] ) ); } Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,7 @@ #define FIX_1530_Codec_Level_Harmonization_Non_diegetic_panning /* FhG: Adjust non-diegetic panning law to harmonize codec levels with 3GPP reference software */ #define FIX_FLOAT_1518 /* FhG: fix issue 1518: loudness differences in OSBA decoding to mono or stereo output */ #define FIX_FLOAT_1533_BLEND_SUBFR2 /* FhG: float issue 1533: correct blending in blend_subfr2() */ #define FIX_2465_Q_BWE_EXC /* VA: basop issue 2465: fix calculation of Q_bwe_exc in SWB TBE encoder */ /* ##################### End NON-BE switches ########################### */ Loading
lib_dec/swb_tbe_dec_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -5312,7 +5312,11 @@ void swb_tbe_dec_ivas_fx( Lmax = 0; move32(); #ifdef FIX_2465_Q_BWE_EXC FOR( cnt = 0; cnt < sig_len; cnt++ ) #else FOR( cnt = 0; cnt < sig_len; cnt++ ) // note: this differs from the encoder where the length is always L_FRAME32k #endif #else Lmax = 0; move32(); Loading
lib_enc/swb_tbe_enc_fx.c +13 −0 Original line number Diff line number Diff line Loading @@ -3097,8 +3097,21 @@ void swb_tbe_enc_ivas_fx( /* -------- start of memory rescaling -------- */ /* ----- calculate optimum Q_bwe_exc and rescale memories accordingly ----- */ #ifdef FIX_2465_Q_BWE_EXC Word16 sig_len = L_FRAME32k + NL_BUFF_OFFSET; move16(); IF( st_fx->element_mode == EVS_MONO ) { sig_len = L_FRAME32k; move16(); } Lmax = L_deposit_l( 0 ); FOR( cnt = 0; cnt < sig_len; cnt++ ) #else Lmax = L_deposit_l( 0 ); FOR( cnt = 0; cnt < L_FRAME32k; cnt++ ) #endif { Lmax = L_max( Lmax, L_abs( bwe_exc_extended[cnt] ) ); } Loading