Commit 61a0a7d7 authored by Dominik Weckbecker's avatar Dominik Weckbecker
Browse files

Merge branch 'main' into FhG/SBA-to-stereo-improvements

parents 47083ed3 7f87eaef
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@
#define FIX_337_TDREND_INTP                             /* Issue 337: TD renderer interpolation threshold set too low */

#define FIX_310_TD_REND_DELAY                           /* Adding HRTF delay being read from ROM/Binary file, fix rounding for delay compensation in renderer */
#define FIX_334_DEBUG_BE_STEREO_SWITCHING               /* FhG: Fix non-BE issue for stereo switching when DEBUGGING is enabled */

#define DFT_STEREO_SPAR_MIXING
#ifdef DFT_STEREO_SPAR_MIXING 
+4 −0
Original line number Diff line number Diff line
@@ -315,7 +315,11 @@ ivas_error ivas_cpe_enc(
        if ( hCPE->element_brate != hCPE->last_element_brate && st_ivas->hMCT == NULL )
        {
#ifdef DEBUGGING
#ifndef FIX_334_DEBUG_BE_STEREO_SWITCHING
            hCPE->hStereoMdct->mdct_stereo_mode_cmdl = hEncoderConfig->stereo_mode_cmdl;
#else
            hCPE->hStereoMdct->mdct_stereo_mode_cmdl = hEncoderConfig->mdct_stereo_mode_cmdl;
#endif
#endif
            initMdctStereoEncData( hCPE->hStereoMdct, ivas_format, hCPE->element_mode, hCPE->element_brate, max_bwidth, 0, NULL, 0 );
            hCPE->hStereoMdct->isSBAStereoMode = ( ( ivas_format == SBA_FORMAT ) && ( st_ivas->nchan_transport == 2 ) );