Commit 1fba2414 authored by fotopoulou's avatar fotopoulou
Browse files

remove obsolete code for dft stereo in fd-bwe

parent 1b307622
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
#define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR      /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED              /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR.  */
#define FIX_ISSUE_1546_DEAD_CODE                        /* FhG: remove dead code reported in the issue*/


/* #################### End BE switches ################################## */
+4 −0
Original line number Diff line number Diff line
@@ -548,7 +548,9 @@ void swb_bwe_enc(
            if ( st->element_mode == IVAS_CPE_DFT )
            {
                mvr2r( old_input_12k8 + L_INP_MEM - Sample_Delay_LP, hBWE_FD->old_input_lp, Sample_Delay_LP );
#ifndef FIX_ISSUE_1546_DEAD_CODE
                mvr2r( hBWE_TD->old_speech_shb + L_LOOK_16k + L_SUBFR16k - Sample_Delay_HP, new_input_hp, Sample_Delay_HP );
#endif
            }
        }

@@ -574,7 +576,9 @@ void swb_bwe_enc(
            if ( st->element_mode == IVAS_CPE_DFT )
            {
                mvr2r( old_input_16k + L_INP_MEM - Sample_Delay_LP, hBWE_FD->old_input_lp, Sample_Delay_LP );
#ifndef FIX_ISSUE_1546_DEAD_CODE
                mvr2r( hBWE_TD->old_speech_shb + L_LOOK_16k + L_SUBFR16k - Sample_Delay_HP, new_input_hp, Sample_Delay_HP );
#endif
            }
        }