Changeset 1226 in 3DVCSoftware for branches/HTM-14.1-update-dev2-Sharp


Ignore:
Timestamp:
22 May 2015, 05:45:23 (10 years ago)
Author:
sharpjp-htm
Message:

Replace some H_3D_IC macro with NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC and enable it
Note: the code is not related to illumination compensation but guarded with H_3D_IC macro

Location:
branches/HTM-14.1-update-dev2-Sharp/source/Lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TComDataCU.cpp

    r1225 r1226  
    51425142  const TComSPS &sps=*(m_pcSlice->getSPS());
    51435143  Int  iMvShift = 2;
    5144 #if H_3D_IC
     5144#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51455145  if( getSlice()->getIsDepth() )
    51465146    iMvShift = 0;
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TComPrediction.cpp

    r1225 r1226  
    19141914  Int     yFrac  = mv->getVer() & ((1<<shiftVer)-1);
    19151915
    1916 #if H_3D_IC
     1916#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    19171917  if( cu->getSlice()->getIsDepth() )
    19181918  {
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TypeDef.h

    r1225 r1226  
    8585                                              // SEC_IC_NEIGHBOR_CLIP_I0080    // Clipping of neighboring sample position, JCT3V-I0080
    8686                                              // LGE_CHROMA_IC_J0050_J0034
     87#define NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC   1   // Full Pel Interpolation for Depth, HHI_FULL_PEL_DEPTH_MAP_MV_ACC
    8788
    8889
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibEncoder/TEncSearch.cpp

    r1225 r1226  
    51075107
    51085108  m_pcRdCost->setPredictor  ( *pcMvPred );
    5109 #if H_3D_IC
     5109#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51105110  if( pcCU->getSlice()->getIsDepth() )
    51115111  {
     
    51165116#endif
    51175117    m_pcRdCost->setCostScale  ( 2 );   
    5118 #if H_3D_IC
     5118#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51195119  }
    51205120#endif
     
    51435143
    51445144  m_pcRdCost->getMotionCost( true, 0, pcCU->getCUTransquantBypass(uiPartAddr) );
    5145 #if H_3D_IC
     5145#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51465146  if( ! pcCU->getSlice()->getIsDepth() )
    51475147  {
     
    51565156  rcMv += (cMvHalf <<= 1);
    51575157  rcMv +=  cMvQter;
    5158 #if H_3D_IC
     5158#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51595159  }
    51605160#endif
    51615161
    51625162  UInt uiMvBits = m_pcRdCost->getBits( rcMv.getHor(), rcMv.getVer() );
    5163 #if H_3D_IC
     5163#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51645164  if( pcCU->getSlice()->getIsDepth() )
    51655165  {
     
    51755175{
    51765176  Int  iMvShift = 2;
    5177 #if H_3D_IC
     5177#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    51785178  if( pcCU->getSlice()->getIsDepth() )
    51795179  {
     
    53335333  UInt uiSearchRange = m_iSearchRange;
    53345334  pcCU->clipMv( rcMv );
    5335 #if H_3D_IC
     5335#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    53365336  if( ! pcCU->getSlice()->getIsDepth() )
    53375337#endif
     
    53535353      TComMv cMv = m_acMvPredictors[index];
    53545354      pcCU->clipMv( cMv );
    5355 #if H_3D_IC
     5355#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    53565356      if( ! pcCU->getSlice()->getIsDepth() )
    53575357      {     
    53585358#endif
    53595359        cMv >>= 2;
    5360 #if H_3D_IC
     5360#if NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC
    53615361      }
    53625362#endif
Note: See TracChangeset for help on using the changeset viewer.