Loading lib_com/options.h +3 −2 Original line number Diff line number Diff line Loading @@ -126,6 +126,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 NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST /* FhG: address issue 1037 */ /* #################### End BASOP porting switches ############################ */ Loading lib_dec/waveadjust_fec_dec_fx.c +16 −1 Original line number Diff line number Diff line Loading @@ -930,7 +930,22 @@ void concealment_decode_fix( /* sign randomization */ FOR( i = 0; i < N; i++ ) { #ifdef NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST Word16 rnd; rnd = own_random_fix( seed ); IF ( GE_16(rnd,0) ) { sign = 1; move16(); } ELSE IF( LT_16(rnd, 0) ) { sign = -1; move16(); } #else sign = add( shl( shr( own_random_fix( seed ), 15 ), 1 ), 1 ); #endif if ( EQ_16( sign, -1 ) ) { invkoef[i] = L_negate( invkoef[i] ); Loading Loading
lib_com/options.h +3 −2 Original line number Diff line number Diff line Loading @@ -126,6 +126,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 NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST /* FhG: address issue 1037 */ /* #################### End BASOP porting switches ############################ */ Loading
lib_dec/waveadjust_fec_dec_fx.c +16 −1 Original line number Diff line number Diff line Loading @@ -930,7 +930,22 @@ void concealment_decode_fix( /* sign randomization */ FOR( i = 0; i < N; i++ ) { #ifdef NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST Word16 rnd; rnd = own_random_fix( seed ); IF ( GE_16(rnd,0) ) { sign = 1; move16(); } ELSE IF( LT_16(rnd, 0) ) { sign = -1; move16(); } #else sign = add( shl( shr( own_random_fix( seed ), 15 ), 1 ), 1 ); #endif if ( EQ_16( sign, -1 ) ) { invkoef[i] = L_negate( invkoef[i] ); Loading