Commit a58358be authored by TYAGIRIS's avatar TYAGIRIS
Browse files

MCT issue in debug mode

parent b480684c
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -621,6 +621,11 @@ ivas_error create_mct_enc_fx(

#ifdef DEBUGGING
        hMCT->hBlockData[n]->hStereoMdct->mdct_stereo_mode_cmdl = SMDCT_MS_DECISION;
#ifdef DEBUG_FORCE_MDCT_STEREO_MODE
        /*set all other members to defined states */
        hMCT->hBlockData[n]->hStereoMdct->fDualMono = 0;
        hMCT->hBlockData[n]->hStereoMdct->fMSstereo = 0;
#endif
#endif

        initMdctStereoEncData_fx( hMCT->hBlockData[n]->hStereoMdct, ivas_format, IVAS_CPE_MDCT, cp_bitrate, st_ivas->hEncoderConfig->max_bwidth, st_ivas->hCPE[0]->hCoreCoder[0]->igf, st_ivas->hCPE[0]->hCoreCoder[0]->igf ? st_ivas->hCPE[0]->hCoreCoder[0]->hIGFEnc->igfData.igfInfo.grid : NULL, 1 );
@@ -802,6 +807,11 @@ ivas_error mct_enc_reconfigure_fx(

#ifdef DEBUGGING
        hMCT->hBlockData[n]->hStereoMdct->mdct_stereo_mode_cmdl = SMDCT_MS_DECISION;
#ifdef DEBUG_FORCE_MDCT_STEREO_MODE
        /*set all other members to defined states */
        hMCT->hBlockData[n]->hStereoMdct->fDualMono = 0;
        hMCT->hBlockData[n]->hStereoMdct->fMSstereo = 0;
#endif
#endif

        initMdctStereoEncData_fx( hMCT->hBlockData[n]->hStereoMdct, ivas_format, IVAS_CPE_MDCT, cp_bitrate, st_ivas->hEncoderConfig->max_bwidth, st_ivas->hCPE[0]->hCoreCoder[0]->igf, st_ivas->hCPE[0]->hCoreCoder[0]->igf ? st_ivas->hCPE[0]->hCoreCoder[0]->hIGFEnc->igfData.igfInfo.grid : NULL, mem_init );