Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ #define NON_BE_FIX_807_MASA_DTX_BRSW /* Nokia: adds fix to check existence of DTX encoder for secondary channel in TD mode */ #define NON_BE_FIX_BASOP_819_THRESHOLD_MASA2TOTAL /* Nokia: add fix for precision limitation in comparison with masa2total energy ratio threshold */ #define FIX_828_PORT_1152_FROM_FLT_REPO /* FhG: fix for issue 828 - fix uninitialized value used in BASOP */ /* #################### End FIXES switches ############################ */ #define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ Loading lib_enc/ivas_stereo_dft_enc_itd.c +6 −0 Original line number Diff line number Diff line Loading @@ -285,7 +285,13 @@ static int16_t stereo_dft_enc_itd_vad( float Spd[STEREO_DFT_N_16k_ENC / 2 + 1]; #ifdef FIX_828_PORT_1152_FROM_FLT_REPO /* Spd is later only used starting at itd_vad_band_tbl[0], so only compute values starting from there */ /* -> this avoids uninitialized values in Spd_L and Spd_R at index 0 to be used */ for ( i = itd_vad_band_tbl[0]; i <= STEREO_DFT_N_16k_ENC / 2; i++ ) #else for ( i = 0; i <= STEREO_DFT_N_16k_ENC / 2; i++ ) #endif { Spd[i] = 0.5f * ( Spd_L[i] + Spd_R[i] ); } Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ #define NON_BE_FIX_807_MASA_DTX_BRSW /* Nokia: adds fix to check existence of DTX encoder for secondary channel in TD mode */ #define NON_BE_FIX_BASOP_819_THRESHOLD_MASA2TOTAL /* Nokia: add fix for precision limitation in comparison with masa2total energy ratio threshold */ #define FIX_828_PORT_1152_FROM_FLT_REPO /* FhG: fix for issue 828 - fix uninitialized value used in BASOP */ /* #################### End FIXES switches ############################ */ #define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ Loading
lib_enc/ivas_stereo_dft_enc_itd.c +6 −0 Original line number Diff line number Diff line Loading @@ -285,7 +285,13 @@ static int16_t stereo_dft_enc_itd_vad( float Spd[STEREO_DFT_N_16k_ENC / 2 + 1]; #ifdef FIX_828_PORT_1152_FROM_FLT_REPO /* Spd is later only used starting at itd_vad_band_tbl[0], so only compute values starting from there */ /* -> this avoids uninitialized values in Spd_L and Spd_R at index 0 to be used */ for ( i = itd_vad_band_tbl[0]; i <= STEREO_DFT_N_16k_ENC / 2; i++ ) #else for ( i = 0; i <= STEREO_DFT_N_16k_ENC / 2; i++ ) #endif { Spd[i] = 0.5f * ( Spd_L[i] + Spd_R[i] ); } Loading