Ignore:
Timestamp:
18 Jun 2013, 17:25:49 (12 years ago)
Author:
tech
Message:

Minor clean ups.

Location:
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/CommonDef.h

    r476 r478  
    211211}
    212212#endif
    213 
    214213template <typename T>
    215214__inline T gSign(const T& t)
     
    362361
    363362#if H_3D_IV_MERGE
     363 // GT: To be checked if all of this is still necessary.
    364364#define PDM_USE_FOR_IVIEW                 1
    365365#define PDM_USE_FOR_INTER                 2
     
    381381
    382382#endif
    383 
    384383#endif // end of H_3D
    385384//! \}
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp

    r476 r478  
    24572457  deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT );
    24582458  deriveLeftBottomIdxGeneral  ( uiAbsPartIdx, uiPUIdx, uiPartIdxLB );
    2459 
    24602459#if H_3D_IV_MERGE
    24612460  Bool bNoPdmMerge   = ( m_pcSlice->getSPS()->getViewIndex() == 0 || ( m_pcSlice->getSPS()->getMultiviewMvPredMode() & PDM_USE_FOR_MERGE ) != PDM_USE_FOR_MERGE );
     
    26032602#endif
    26042603#endif
    2605 
    26062604  //left
    26072605  UInt uiLeftPartIdx = 0;
     
    26232621      pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] );
    26242622    }
    2625 
    26262623#if H_3D_IV_MERGE
    26272624    Bool bRemoveSpa = false; //pruning to inter-view candidates
     
    45024499}
    45034500#endif
    4504 
    45054501#if H_3D_IV_MERGE
    45064502Bool TComDataCU::getUnifiedMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo, Int* iPdm, Bool bMerge )
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.h

    r476 r478  
    434434   
    435435#endif
    436 
    437436#if H_3D_IV_MERGE
    438437  Bool          getUnifiedMvPredCan       ( UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo, Int* iPdm, Bool bMerge );
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDepthMapGenerator.cpp

    r476 r478  
    4343#include "TComDepthMapGenerator.h"
    4444
    45 
     45#if H_3D_IV_MERGE
    4646
    4747TComDepthMapGenerator::TComDepthMapGenerator()
     
    136136}
    137137
    138 
    139 #if H_3D_IV_MERGE
    140138Bool
    141139TComDepthMapGenerator::getPdmCandidate(TComDataCU* pcCU, UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo, Int* iPdm, Bool bMerge )
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDepthMapGenerator.h

    r476 r478  
    4848#include "TComSlice.h"
    4949
    50 
     50#if H_3D_IV_MERGE
    5151
    5252class TComVPSAccess // would be better to have a real VPS buffer
     
    156156
    157157
    158 
     158#endif
    159159#endif // __TCOM_DEPTH_MAP_GENERATOR__
    160160
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComMotionInfo.h

    r476 r478  
    105105  Int getHor   () const { return  m_acMv.getHor(); }
    106106  Int getVer   () const { return  m_acMv.getVer(); }
    107 
    108107#if H_3D_IV_MERGE
    109108  Bool operator== ( const TComMvField& rcMv ) const
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComPicYuv.cpp

    r476 r478  
    8484  m_iBaseUnitHeight = uiMaxCUHeight >> uiMaxCUDepth;
    8585#endif
    86 
    8786  Int numCuInWidth  = m_iPicWidth  / m_iCuWidth  + (m_iPicWidth  % m_iCuWidth  != 0);
    8887  Int numCuInHeight = m_iPicHeight / m_iCuHeight + (m_iPicHeight % m_iCuHeight != 0);
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.cpp

    r476 r478  
    18571857  }
    18581858}
    1859 
    18601859#if H_3D_IV_MERGE
    18611860Void
     
    18711870}
    18721871#endif
    1873 
    18741872const Int TComSPS::m_winUnitX[]={1,2,2,1};
    18751873const Int TComSPS::m_winUnitY[]={1,2,1,1};
     
    19421940  m_bDepth                = false;
    19431941#endif
    1944 
    19451942  if( !m_bCamParInSliceHeader )
    19461943  {
     
    19541951  }
    19551952}
    1956 
    19571953#if H_3D_IV_MERGE
    19581954Void
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.h

    r476 r478  
    5454class TComPicLists;
    5555#endif
    56 
    5756#if H_3D_IV_MERGE
    5857class TComDepthMapGenerator;
Note: See TracChangeset for help on using the changeset viewer.