Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ #define FIX_1385_INIT_IGF_STOP_FREQ /* FhG: Initialize infoIGFStopFreq in init_igf_dec() */ #define FIX_1387_INIT_PRM_SQQ /* FhG: initialize pointer prm_sqQ, which might be uninitialized in case of bfi == 1 */ #define FIX_1349_TNS_CRASH /* FhG: Fix crash in TNS entropy coding, in case order of joint TNS coding is reduced to 0 */ #define FIX_1179_USAN_PHASEECU /* Eri: issue 1179: better handling of 16 bit wrap around for very long(>200ms) FER-bursts */ #define NONBE_1293_CRASH_FIRST_FRAME_LOST /* VA: issue 1293: fix G.192 decoder crash when first frame is lost */ #define FIX_1384_MSAN_stereo_tcx_core_enc /* VA: issue 1384: fix use-of-uninitialized value in stereo_tcx_core_enc() */ #define NONBE_1303_REND_GRANULARITY /* VA: issue 1303: Renderer granularity revision */ Loading lib_dec/FEC_HQ_phase_ecu_fx.c +0 −32 Original line number Diff line number Diff line Loading @@ -2317,11 +2317,7 @@ static void subst_spec_fx( move16(); tmp = add( tmp, sub( Lecu, shr( sub( Lecu, Lprot ), 1 ) ) ); tmp = sub( tmp, shr( output_frame, 1 ) ); #ifdef FIX_1179_USAN_PHASEECU tmp = add_sat( tmp, time_offs ); #else tmp = add( tmp, time_offs ); #endif tmp = round_fx( L_shl( L_mult0( tmp, Lprot_inv ), 4 ) ); /* 0+22+4-16=10 */ pPlocsi = plocsi; Loading Loading @@ -4516,20 +4512,11 @@ static void ivas_hq_phase_ecu_fx( { test(); test(); #ifdef FIX_1179_USAN_PHASEECU if ( !( prev_bfi != 0 && *last_fec != 0 && element_mode == EVS_MONO ) ) { *time_offs = 0; /* IVAS reset of offset time counter, timeoffset variable later also used to calculate burst length */ move16(); } #else // PMT("verify condition compared to float") if ( !( prev_bfi != 0 && *last_fec != 0 && element_mode == EVS_MONO ) ) { *time_offs = 0; move16(); } #endif offset = add( sub( sub( shl( output_frame, 1 ), lprot ), *time_offs ), ph_ecu_lookahead ); Loading @@ -4541,11 +4528,7 @@ static void ivas_hq_phase_ecu_fx( test(); IF( prev_bfi != 0 && *last_fec != 0 ) { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); /* when saturation is reached, this keeps the long term muting on */ #else *time_offs = add( *time_offs, output_frame ); #endif move16(); } } Loading Loading @@ -4635,9 +4618,6 @@ static void hq_phase_ecu_fx( IF( prev_bfi == 0 || ( prev_bfi != 0 && *last_fec != 0 && ( EQ_16( *time_offs, output_frame ) ) ) ) { test(); #ifndef FIX_1179_USAN_PHASEECU // PMT("verify condition compared to float") #endif if ( !( prev_bfi != 0 && *last_fec != 0 ) ) { *time_offs = 0; Loading @@ -4654,21 +4634,13 @@ static void hq_phase_ecu_fx( test(); IF( prev_bfi != 0 && *last_fec != 0 ) { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); #else *time_offs = add( *time_offs, output_frame ); #endif move16(); } } ELSE { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); #else *time_offs = add( *time_offs, output_frame ); #endif move16(); offset = sub( shl( output_frame, 1 ), lprot ); Loading @@ -4684,11 +4656,7 @@ static void hq_phase_ecu_fx( move16(); IF( *num_p > 0 ) { #ifdef FIX_1179_USAN_PHASEECU seed = add_sat( seed, plocs[*num_p - 1] ); #else seed = add( seed, plocs[*num_p - 1] ); #endif } subst_spec_fx( plocs, plocsi, num_p, *time_offs, X, mag_chg, ph_dith, old_is_transient, output_frame, &seed, Loading Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ #define FIX_1385_INIT_IGF_STOP_FREQ /* FhG: Initialize infoIGFStopFreq in init_igf_dec() */ #define FIX_1387_INIT_PRM_SQQ /* FhG: initialize pointer prm_sqQ, which might be uninitialized in case of bfi == 1 */ #define FIX_1349_TNS_CRASH /* FhG: Fix crash in TNS entropy coding, in case order of joint TNS coding is reduced to 0 */ #define FIX_1179_USAN_PHASEECU /* Eri: issue 1179: better handling of 16 bit wrap around for very long(>200ms) FER-bursts */ #define NONBE_1293_CRASH_FIRST_FRAME_LOST /* VA: issue 1293: fix G.192 decoder crash when first frame is lost */ #define FIX_1384_MSAN_stereo_tcx_core_enc /* VA: issue 1384: fix use-of-uninitialized value in stereo_tcx_core_enc() */ #define NONBE_1303_REND_GRANULARITY /* VA: issue 1303: Renderer granularity revision */ Loading
lib_dec/FEC_HQ_phase_ecu_fx.c +0 −32 Original line number Diff line number Diff line Loading @@ -2317,11 +2317,7 @@ static void subst_spec_fx( move16(); tmp = add( tmp, sub( Lecu, shr( sub( Lecu, Lprot ), 1 ) ) ); tmp = sub( tmp, shr( output_frame, 1 ) ); #ifdef FIX_1179_USAN_PHASEECU tmp = add_sat( tmp, time_offs ); #else tmp = add( tmp, time_offs ); #endif tmp = round_fx( L_shl( L_mult0( tmp, Lprot_inv ), 4 ) ); /* 0+22+4-16=10 */ pPlocsi = plocsi; Loading Loading @@ -4516,20 +4512,11 @@ static void ivas_hq_phase_ecu_fx( { test(); test(); #ifdef FIX_1179_USAN_PHASEECU if ( !( prev_bfi != 0 && *last_fec != 0 && element_mode == EVS_MONO ) ) { *time_offs = 0; /* IVAS reset of offset time counter, timeoffset variable later also used to calculate burst length */ move16(); } #else // PMT("verify condition compared to float") if ( !( prev_bfi != 0 && *last_fec != 0 && element_mode == EVS_MONO ) ) { *time_offs = 0; move16(); } #endif offset = add( sub( sub( shl( output_frame, 1 ), lprot ), *time_offs ), ph_ecu_lookahead ); Loading @@ -4541,11 +4528,7 @@ static void ivas_hq_phase_ecu_fx( test(); IF( prev_bfi != 0 && *last_fec != 0 ) { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); /* when saturation is reached, this keeps the long term muting on */ #else *time_offs = add( *time_offs, output_frame ); #endif move16(); } } Loading Loading @@ -4635,9 +4618,6 @@ static void hq_phase_ecu_fx( IF( prev_bfi == 0 || ( prev_bfi != 0 && *last_fec != 0 && ( EQ_16( *time_offs, output_frame ) ) ) ) { test(); #ifndef FIX_1179_USAN_PHASEECU // PMT("verify condition compared to float") #endif if ( !( prev_bfi != 0 && *last_fec != 0 ) ) { *time_offs = 0; Loading @@ -4654,21 +4634,13 @@ static void hq_phase_ecu_fx( test(); IF( prev_bfi != 0 && *last_fec != 0 ) { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); #else *time_offs = add( *time_offs, output_frame ); #endif move16(); } } ELSE { #ifdef FIX_1179_USAN_PHASEECU *time_offs = add_sat( *time_offs, output_frame ); #else *time_offs = add( *time_offs, output_frame ); #endif move16(); offset = sub( shl( output_frame, 1 ), lprot ); Loading @@ -4684,11 +4656,7 @@ static void hq_phase_ecu_fx( move16(); IF( *num_p > 0 ) { #ifdef FIX_1179_USAN_PHASEECU seed = add_sat( seed, plocs[*num_p - 1] ); #else seed = add( seed, plocs[*num_p - 1] ); #endif } subst_spec_fx( plocs, plocsi, num_p, *time_offs, X, mag_chg, ph_dith, old_is_transient, output_frame, &seed, Loading