Loading lib_com/options.h +3 −2 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ #define FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN /* FhG: fix for #1003: fix USAN caused by ParamISM reconfig */ #define FIX_1001_ARI_HM_OVERFLOW /* FhG: (no changes needed in BASOP) fix for undef behaviour in in the harmonic TCX model arithmetic coder */ #define NONBE_FIX_1005_MC_RS_TCBUFFER_UPDATE /* FhG: issue #1005: fix TC Buffer update at a MC rate switch */ #define FIX_1060_USAN_ARRAY_BOUNDS /* FhG: issue 1060: USAN array-bounds errors */ /* #################### End BASOP porting switches ############################ */ Loading lib_dec/ivas_dirac_dec_fx.c +11 −3 Original line number Diff line number Diff line Loading @@ -4061,11 +4061,19 @@ void ivas_dirac_dec_render_sf_fx( { Word32 tmp; tmp = Mpy_32_32( g_fx, *tc_re_fx ); #ifdef FIX_1060_USAN_ARRAY_BOUNDS Cldfb_RealBuffer_fx[j2][k][l] = Ladd(Cldfb_RealBuffer[j2][k][l], tmp ); #else Cldfb_RealBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l] = L_add( Cldfb_RealBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l], tmp ); #endif move32(); tc_re_fx++; tmp = Mpy_32_32( g_fx, *tc_im_fx ); #ifdef FIX_1060_USAN_ARRAY_BOUNDS Cldfb_ImagBuffer_fx[j2][k][l] = Ladd(Cldfb_ImagBuffer_fx[j2][k][l], tmp); #else Cldfb_ImagBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l] = L_add( Cldfb_ImagBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l], tmp ); #endif move32(); tc_re_fx++; } Loading Loading
lib_com/options.h +3 −2 Original line number Diff line number Diff line Loading @@ -135,6 +135,7 @@ #define FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN /* FhG: fix for #1003: fix USAN caused by ParamISM reconfig */ #define FIX_1001_ARI_HM_OVERFLOW /* FhG: (no changes needed in BASOP) fix for undef behaviour in in the harmonic TCX model arithmetic coder */ #define NONBE_FIX_1005_MC_RS_TCBUFFER_UPDATE /* FhG: issue #1005: fix TC Buffer update at a MC rate switch */ #define FIX_1060_USAN_ARRAY_BOUNDS /* FhG: issue 1060: USAN array-bounds errors */ /* #################### End BASOP porting switches ############################ */ Loading
lib_dec/ivas_dirac_dec_fx.c +11 −3 Original line number Diff line number Diff line Loading @@ -4061,11 +4061,19 @@ void ivas_dirac_dec_render_sf_fx( { Word32 tmp; tmp = Mpy_32_32( g_fx, *tc_re_fx ); #ifdef FIX_1060_USAN_ARRAY_BOUNDS Cldfb_RealBuffer_fx[j2][k][l] = Ladd(Cldfb_RealBuffer[j2][k][l], tmp ); #else Cldfb_RealBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l] = L_add( Cldfb_RealBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l], tmp ); #endif move32(); tc_re_fx++; tmp = Mpy_32_32( g_fx, *tc_im_fx ); #ifdef FIX_1060_USAN_ARRAY_BOUNDS Cldfb_ImagBuffer_fx[j2][k][l] = Ladd(Cldfb_ImagBuffer_fx[j2][k][l], tmp); #else Cldfb_ImagBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l] = L_add( Cldfb_ImagBuffer_fx[j2][0][k * hSpatParamRendCom->num_freq_bands + l], tmp ); #endif move32(); tc_re_fx++; } Loading