Ignore:
Timestamp:
24 Jan 2014, 02:36:31 (10 years ago)
Author:
mediatek-htm
Message:

Integration of DDD (JCT3V-G0063)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibDecoder/TDecCu.cpp

    r787 r795  
    213213  DTRACE_CU("cqtDepth"  , uiDepth)
    214214#endif
     215
    215216  TComSlice * pcSlice = pcCU->getPic()->getSlice(pcCU->getPic()->getCurrSliceIdx());
    216217  Bool bStartInCU = pcCU->getSCUAddr()+uiAbsPartIdx+uiCurNumParts>pcSlice->getSliceSegmentCurStartCUAddr()&&pcCU->getSCUAddr()+uiAbsPartIdx<pcSlice->getSliceSegmentCurStartCUAddr();
     
    274275#if H_MV_ENC_DEC_TRAC
    275276  DTRACE_CU_S("=========== coding_unit ===========\n")
     277#endif
     278
     279
     280#if MTK_DDD_G0063
     281      pcCU->setUseDDD( false, uiAbsPartIdx, uiDepth );
    276282#endif
    277283
     
    437443#endif
    438444    pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth );
     445
     446#if MTK_DDD_G0063
     447    if( uiMergeIndex == m_ppcCU[uiDepth]->getUseDDDCandIdx() )
     448    {
     449        assert( pcCU->getSlice()->getViewIndex() != 0 );
     450        pcCU->setUseDDD( true, uiAbsPartIdx, 0, uiDepth );
     451        pcCU->setDDDepthSubParts( m_ppcCU[uiDepth]->getDDTmpDepth(),uiAbsPartIdx, 0, uiDepth );
     452    }
     453#endif
    439454
    440455    TComMv cTmpMv( 0, 0 );
Note: See TracChangeset for help on using the changeset viewer.