Changeset 478 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon
- Timestamp:
- 18 Jun 2013, 17:25:49 (12 years ago)
- 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 211 211 } 212 212 #endif 213 214 213 template <typename T> 215 214 __inline T gSign(const T& t) … … 362 361 363 362 #if H_3D_IV_MERGE 363 // GT: To be checked if all of this is still necessary. 364 364 #define PDM_USE_FOR_IVIEW 1 365 365 #define PDM_USE_FOR_INTER 2 … … 381 381 382 382 #endif 383 384 383 #endif // end of H_3D 385 384 //! \} -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp
r476 r478 2457 2457 deriveLeftRightTopIdxGeneral( uiAbsPartIdx, uiPUIdx, uiPartIdxLT, uiPartIdxRT ); 2458 2458 deriveLeftBottomIdxGeneral ( uiAbsPartIdx, uiPUIdx, uiPartIdxLB ); 2459 2460 2459 #if H_3D_IV_MERGE 2461 2460 Bool bNoPdmMerge = ( m_pcSlice->getSPS()->getViewIndex() == 0 || ( m_pcSlice->getSPS()->getMultiviewMvPredMode() & PDM_USE_FOR_MERGE ) != PDM_USE_FOR_MERGE ); … … 2603 2602 #endif 2604 2603 #endif 2605 2606 2604 //left 2607 2605 UInt uiLeftPartIdx = 0; … … 2623 2621 pcCULeft->getMvField( pcCULeft, uiLeftPartIdx, REF_PIC_LIST_1, pcMvFieldNeighbours[(iCount<<1)+1] ); 2624 2622 } 2625 2626 2623 #if H_3D_IV_MERGE 2627 2624 Bool bRemoveSpa = false; //pruning to inter-view candidates … … 4502 4499 } 4503 4500 #endif 4504 4505 4501 #if H_3D_IV_MERGE 4506 4502 Bool 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 434 434 435 435 #endif 436 437 436 #if H_3D_IV_MERGE 438 437 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 43 43 #include "TComDepthMapGenerator.h" 44 44 45 45 #if H_3D_IV_MERGE 46 46 47 47 TComDepthMapGenerator::TComDepthMapGenerator() … … 136 136 } 137 137 138 139 #if H_3D_IV_MERGE140 138 Bool 141 139 TComDepthMapGenerator::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 48 48 #include "TComSlice.h" 49 49 50 50 #if H_3D_IV_MERGE 51 51 52 52 class TComVPSAccess // would be better to have a real VPS buffer … … 156 156 157 157 158 158 #endif 159 159 #endif // __TCOM_DEPTH_MAP_GENERATOR__ 160 160 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComMotionInfo.h
r476 r478 105 105 Int getHor () const { return m_acMv.getHor(); } 106 106 Int getVer () const { return m_acMv.getVer(); } 107 108 107 #if H_3D_IV_MERGE 109 108 Bool operator== ( const TComMvField& rcMv ) const -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComPicYuv.cpp
r476 r478 84 84 m_iBaseUnitHeight = uiMaxCUHeight >> uiMaxCUDepth; 85 85 #endif 86 87 86 Int numCuInWidth = m_iPicWidth / m_iCuWidth + (m_iPicWidth % m_iCuWidth != 0); 88 87 Int numCuInHeight = m_iPicHeight / m_iCuHeight + (m_iPicHeight % m_iCuHeight != 0); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.cpp
r476 r478 1857 1857 } 1858 1858 } 1859 1860 1859 #if H_3D_IV_MERGE 1861 1860 Void … … 1871 1870 } 1872 1871 #endif 1873 1874 1872 const Int TComSPS::m_winUnitX[]={1,2,2,1}; 1875 1873 const Int TComSPS::m_winUnitY[]={1,2,1,1}; … … 1942 1940 m_bDepth = false; 1943 1941 #endif 1944 1945 1942 if( !m_bCamParInSliceHeader ) 1946 1943 { … … 1954 1951 } 1955 1952 } 1956 1957 1953 #if H_3D_IV_MERGE 1958 1954 Void -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.h
r476 r478 54 54 class TComPicLists; 55 55 #endif 56 57 56 #if H_3D_IV_MERGE 58 57 class TComDepthMapGenerator;
Note: See TracChangeset for help on using the changeset viewer.