Ticket #474: 20120409-HM-6.1-dev-rev-2173-IPCM-bugfix.patch

File 20120409-HM-6.1-dev-rev-2173-IPCM-bugfix.patch, 1.3 KB (added by kchono, 12 years ago)
  • source/Lib/TLibDecoder/TDecSbac.cpp

     
    435435
    436436    pcCU->setPartSizeSubParts  ( SIZE_2Nx2N, uiAbsPartIdx, uiDepth );
    437437    pcCU->setSizeSubParts      ( g_uiMaxCUWidth>>uiDepth, g_uiMaxCUHeight>>uiDepth, uiAbsPartIdx, uiDepth );
     438    pcCU->setTrIdxSubParts     ( 0, uiAbsPartIdx, uiDepth );
    438439    pcCU->setIPCMFlagSubParts  ( bIpcmFlag, uiAbsPartIdx, uiDepth );
    439440
    440441    UInt uiMinCoeffSize = pcCU->getPic()->getMinCUWidth()*pcCU->getPic()->getMinCUHeight();
  • source/Lib/TLibEncoder/TEncCu.cpp

     
    15121512  rpcTempCU->setIPCMFlagSubParts (true, 0, rpcTempCU->getDepth(0));
    15131513  rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );
    15141514  rpcTempCU->setPredModeSubParts( MODE_INTRA, 0, uiDepth );
     1515  rpcTempCU->setTrIdxSubParts ( 0, 0, uiDepth );
    15151516
    15161517  m_pcPredSearch->IPCMSearch( rpcTempCU, m_ppcOrigYuv[uiDepth], m_ppcPredYuvTemp[uiDepth], m_ppcResiYuvTemp[uiDepth], m_ppcRecoYuvTemp[uiDepth]);
    15171518