Changeset 1307 in 3DVCSoftware for branches/HTM-14.1-update-dev1/source/Lib/TLibCommon
- Timestamp:
- 3 Aug 2015, 03:23:44 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComDataCU.cpp
r1305 r1307 5441 5441 } 5442 5442 #endif 5443 #if H_3D_FAST_TEXTURE_ENCODING5443 #if NH_3D_FAST_TEXTURE_ENCODING 5444 5444 Void 5445 5445 TComDataCU::getIVNStatus ( UInt uiPartIdx, DisInfo* pDInfo, Bool& bIVFMerge, Int& iIVFMaxD) … … 5457 5457 5458 5458 Int iCurrPosX, iCurrPosY; 5459 pcBaseRec->getTopLeftSamplePos( getAddr(), getZorderIdxInCU() + uiPartAddr, iCurrPosX, iCurrPosY );5459 pcBaseRec->getTopLeftSamplePos( this->getCtuRsAddr(), this->getZorderIdxInCtu() + uiPartAddr, iCurrPosX, iCurrPosY ); 5460 5460 5461 5461 iCurrPosX += ( ( iWidth - 1 ) >> 1 ); … … 5473 5473 } 5474 5474 5475 Int iBasePosX = Clip3( 0, pcBaseRec->getWidth ( ) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) );5476 Int iBasePosY = Clip3( 0, pcBaseRec->getHeight( ) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 ));5477 Int iBaseLPosX = Clip3( 0, pcBaseRec->getWidth ( ) - 1, iCurrPosX - (iWidth >> 1) + ( (cDv.getHor() + 2 ) >> 2 ) );5478 Int iBaseLPosY = Clip3( 0, pcBaseRec->getHeight( ) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 ));5479 Int iBaseRPosX = Clip3( 0, pcBaseRec->getWidth ( ) - 1, iCurrPosX + (iWidth >> 1) + 1 + ( (cDv.getHor() + 2 ) >> 2 ) );5480 Int iBaseRPosY = Clip3( 0, pcBaseRec->getHeight( ) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 ));5481 Int iBaseUPosX = Clip3( 0, pcBaseRec->getWidth ( ) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) );5482 Int iBaseUPosY = Clip3( 0, pcBaseRec->getHeight( ) - 1, iCurrPosY - (iHeight >> 1) + ( (cDv.getVer() + 2 ) >> 2 ));5483 Int iBaseDPosX = Clip3( 0, pcBaseRec->getWidth ( ) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) );5484 Int iBaseDPosY = Clip3( 0, pcBaseRec->getHeight( ) - 1, iCurrPosY + (iHeight >> 1) + 1 + ( (cDv.getVer() + 2 ) >> 2 ));5475 Int iBasePosX = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) ); 5476 Int iBasePosY = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 )); 5477 Int iBaseLPosX = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX - (iWidth >> 1) + ( (cDv.getHor() + 2 ) >> 2 ) ); 5478 Int iBaseLPosY = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 )); 5479 Int iBaseRPosX = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX + (iWidth >> 1) + 1 + ( (cDv.getHor() + 2 ) >> 2 ) ); 5480 Int iBaseRPosY = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY + ( (cDv.getVer() + 2 ) >> 2 )); 5481 Int iBaseUPosX = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) ); 5482 Int iBaseUPosY = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY - (iHeight >> 1) + ( (cDv.getVer() + 2 ) >> 2 )); 5483 Int iBaseDPosX = Clip3( 0, pcBaseRec->getWidth (COMPONENT_Y) - 1, iCurrPosX + ( (cDv.getHor() + 2 ) >> 2 ) ); 5484 Int iBaseDPosY = Clip3( 0, pcBaseRec->getHeight(COMPONENT_Y) - 1, iCurrPosY + (iHeight >> 1) + 1 + ( (cDv.getVer() + 2 ) >> 2 )); 5485 5485 5486 5486 Int iBaseCUAddr; … … 5499 5499 pcBaseRec->getCUAddrAndPartIdx( iBaseUPosX , iBaseUPosY , iBaseUCUAddr, iBaseUAbsPartIdx ); 5500 5500 pcBaseRec->getCUAddrAndPartIdx( iBaseDPosX , iBaseDPosY , iBaseDCUAddr, iBaseDAbsPartIdx ); 5501 TComDataCU* pcBaseCU = pcBasePic->getCU( iBaseCUAddr );5502 TComDataCU* pcBaseLCU = pcBasePic->getC U( iBaseLCUAddr );5503 TComDataCU* pcBaseRCU = pcBasePic->getC U( iBaseRCUAddr );5504 TComDataCU* pcBaseUCU = pcBasePic->getC U( iBaseUCUAddr );5505 TComDataCU* pcBaseDCU = pcBasePic->getC U( iBaseDCUAddr );5501 TComDataCU* pcBaseCU = pcBasePic->getCtu( iBaseCUAddr ); 5502 TComDataCU* pcBaseLCU = pcBasePic->getCtu( iBaseLCUAddr ); 5503 TComDataCU* pcBaseRCU = pcBasePic->getCtu( iBaseRCUAddr ); 5504 TComDataCU* pcBaseUCU = pcBasePic->getCtu( iBaseUCUAddr ); 5505 TComDataCU* pcBaseDCU = pcBasePic->getCtu( iBaseDCUAddr ); 5506 5506 bIVFMerge = pcBaseLCU->getMergeFlag( iBaseLAbsPartIdx ) && pcBaseCU->getMergeFlag( iBaseAbsPartIdx ) && pcBaseRCU->getMergeFlag( iBaseRAbsPartIdx ) && pcBaseUCU->getMergeFlag( iBaseUAbsPartIdx ) && pcBaseDCU->getMergeFlag( iBaseDAbsPartIdx ); 5507 5507 Int aiDepthL[5]; //depth level -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComDataCU.h
r1305 r1307 507 507 Bool getNeighDepth (UInt uiPartIdx, UInt uiPartAddr, Pel* pNeighDepth, Int index); 508 508 #endif 509 #if H_3D_FAST_TEXTURE_ENCODING509 #if NH_3D_FAST_TEXTURE_ENCODING 510 510 Void getIVNStatus ( UInt uiPartIdx, DisInfo* pDInfo, Bool& bIVFMerge, Int& iIVFMaxD); 511 511 #endif -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TypeDef.h
r1306 r1307 134 134 // H_3D_FAST_DEPTH_INTRA 135 135 #define NH_3D_DIS 1 136 #define NH_3D_FAST_TEXTURE_ENCODING 1 // Fast merge mode decision and early CU determination for texture component of dependent view, JCT3V-E0173 136 137 #endif 137 138
Note: See TracChangeset for help on using the changeset viewer.