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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.