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

Integration of DDD (JCT3V-G0063)

Location:
branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibDecoder
Files:
3 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 );
  • branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibDecoder/TDecEntropy.cpp

    r773 r795  
    320320      pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
    321321
     322#if MTK_DDD_G0063
     323      if( uiMergeIndex == pcSubCU->getUseDDDCandIdx() )
     324      {
     325          assert( pcCU->getSlice()->getViewIndex() != 0 );
     326          pcCU->setUseDDD( true, uiSubPartIdx, uiPartIdx, uiDepth );
     327          pcCU->setDDDepthSubParts( pcSubCU->getDDTmpDepth(),uiSubPartIdx, uiPartIdx, uiDepth );
     328      }
     329      else
     330      {
     331          pcCU->setUseDDD( false, uiSubPartIdx, uiPartIdx, uiDepth );
     332      }
     333#endif
     334
    322335      TComMv cTmpMv( 0, 0 );
    323336      for ( UInt uiRefListIdx = 0; uiRefListIdx < 2; uiRefListIdx++ )
  • branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibDecoder/TDecTop.h

    r773 r795  
    8282#endif
    8383
     84#if MTK_DDD_G0063
     85  Int getCodedScale( Int iBaseView, Int iCureView){ return m_aaiCodedScale[ iBaseView ][ iCureView ];}
     86  Int getCodedOffset( Int iBaseView, Int iCureView){ return m_aaiCodedOffset[ iBaseView ][ iCureView ];}
     87  UInt getCamParsCodedPrecision(){ return m_uiCamParsCodedPrecision; }
     88#endif
     89
    8490private:
    8591  Bool  xIsComplete ();
Note: See TracChangeset for help on using the changeset viewer.