Changeset 787 in 3DVCSoftware


Ignore:
Timestamp:
21 Jan 2014, 05:12:07 (10 years ago)
Author:
samsung-htm
Message:

Integration of JCT3V-G0074: Simplification of DV Derivation

Location:
branches/HTM-9.3-dev1-Samsung
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.cpp

    r786 r787  
    64966496#endif
    64976497#if H_3D_IV_MERGE
     6498#if SEC_DEPTH_DV_DERIVAITON_G0074
     6499Bool TComDataCU::getDispforDepth (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp)
     6500#else
    64986501Bool TComDataCU::getDispNeighBlocks (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp)
    6499 {
     6502#endif
     6503{
     6504#if SEC_DEPTH_DV_DERIVAITON_G0074
     6505  assert(getPartitionSize( uiPartAddr ) == SIZE_2Nx2N);
     6506
     6507  TComMv cMv;
     6508  Int iDisp     = getSlice()->getDepthToDisparityB( 0 )[ 128 ];
     6509  cMv.setHor(iDisp);
     6510  cMv.setVer(0);
     6511  pDisp->m_acNBDV = cMv;
     6512  pDisp->m_aVIdxCan = 0;
     6513
     6514  return true;
     6515#else
    65006516  Pel pDepPos[3] = {0, 0, 0};
    65016517  assert(getPartitionSize( uiPartAddr ) == SIZE_2Nx2N);
     
    65436559    return false;
    65446560  }
     6561#endif
    65456562}
    65466563#endif
  • branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.h

    r773 r787  
    501501#if H_3D
    502502  Void          rightShiftMergeCandList( TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int* iVSPIndexTrue, InheritedVSPDisInfo*  inheritedVSPDisInfo, UInt start, UInt num, Int &iCount3DV);
     503#if SEC_DEPTH_DV_DERIVAITON_G0074
     504  Bool          getDispforDepth  ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp);
     505#else
    503506  Bool          getDispNeighBlocks  ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp);
     507#endif
    504508  Bool          getDispMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDis, Int* iPdm );
    505509#endif
  • branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TypeDef.h

    r786 r787  
    205205
    206206#define SEC_SPIVMP_MCP_SIZE_G0077         1  // Apply SPIVMP only to 2Nx2N partition, JCT3V-G0077
     207#define SEC_DEPTH_DV_DERIVAITON_G0074     1  // Simplification of DV derivation for depth, JCT3V-G0074
    207208
    208209///// ***** VIEW SYNTHESIS OPTIMIZAION *********
  • branches/HTM-9.3-dev1-Samsung/source/Lib/TLibDecoder/TDecCu.cpp

    r773 r787  
    318318      if( pcCU->getSlice()->getIsDepth())
    319319      {
     320#if SEC_DEPTH_DV_DERIVAITON_G0074
     321        DvInfo.bDV = m_ppcCU[uiDepth]->getDispforDepth(0, 0, &DvInfo);
     322#else
    320323        DvInfo.bDV = m_ppcCU[uiDepth]->getDispNeighBlocks(0, 0, &DvInfo);
     324#endif
    321325      }
    322326      else
  • branches/HTM-9.3-dev1-Samsung/source/Lib/TLibEncoder/TEncCu.cpp

    r773 r787  
    570570          if (rpcTempCU->getSlice()->getIsDepth() )
    571571          {
     572#if SEC_DEPTH_DV_DERIVAITON_G0074
     573            DvInfo.bDV = rpcTempCU->getDispforDepth(0, 0, &DvInfo);
     574#else
    572575            DvInfo.bDV = rpcTempCU->getDispNeighBlocks(0, 0, &DvInfo);
     576#endif
    573577          }
    574578          else
Note: See TracChangeset for help on using the changeset viewer.