Changeset 787 in 3DVCSoftware
- Timestamp:
- 21 Jan 2014, 05:12:07 (11 years ago)
- Location:
- branches/HTM-9.3-dev1-Samsung
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.cpp
r786 r787 6496 6496 #endif 6497 6497 #if H_3D_IV_MERGE 6498 #if SEC_DEPTH_DV_DERIVAITON_G0074 6499 Bool TComDataCU::getDispforDepth (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp) 6500 #else 6498 6501 Bool TComDataCU::getDispNeighBlocks (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp) 6499 { 6502 #endif 6503 { 6504 #if SEC_DEPTH_DV_DERIVAITON_G0074 6505 assert(getPartitionSize( uiPartAddr ) == SIZE_2Nx2N); 6506 6507 TComMv cMv; 6508 Int iDisp = getSlice()->getDepthToDisparityB( 0 )[ 128 ]; 6509 cMv.setHor(iDisp); 6510 cMv.setVer(0); 6511 pDisp->m_acNBDV = cMv; 6512 pDisp->m_aVIdxCan = 0; 6513 6514 return true; 6515 #else 6500 6516 Pel pDepPos[3] = {0, 0, 0}; 6501 6517 assert(getPartitionSize( uiPartAddr ) == SIZE_2Nx2N); … … 6543 6559 return false; 6544 6560 } 6561 #endif 6545 6562 } 6546 6563 #endif -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.h
r773 r787 501 501 #if H_3D 502 502 Void rightShiftMergeCandList( TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int* iVSPIndexTrue, InheritedVSPDisInfo* inheritedVSPDisInfo, UInt start, UInt num, Int &iCount3DV); 503 #if SEC_DEPTH_DV_DERIVAITON_G0074 504 Bool getDispforDepth ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp); 505 #else 503 506 Bool getDispNeighBlocks ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp); 507 #endif 504 508 Bool getDispMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDis, Int* iPdm ); 505 509 #endif -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TypeDef.h
r786 r787 205 205 206 206 #define SEC_SPIVMP_MCP_SIZE_G0077 1 // Apply SPIVMP only to 2Nx2N partition, JCT3V-G0077 207 #define SEC_DEPTH_DV_DERIVAITON_G0074 1 // Simplification of DV derivation for depth, JCT3V-G0074 207 208 208 209 ///// ***** VIEW SYNTHESIS OPTIMIZAION ********* -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibDecoder/TDecCu.cpp
r773 r787 318 318 if( pcCU->getSlice()->getIsDepth()) 319 319 { 320 #if SEC_DEPTH_DV_DERIVAITON_G0074 321 DvInfo.bDV = m_ppcCU[uiDepth]->getDispforDepth(0, 0, &DvInfo); 322 #else 320 323 DvInfo.bDV = m_ppcCU[uiDepth]->getDispNeighBlocks(0, 0, &DvInfo); 324 #endif 321 325 } 322 326 else -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibEncoder/TEncCu.cpp
r773 r787 570 570 if (rpcTempCU->getSlice()->getIsDepth() ) 571 571 { 572 #if SEC_DEPTH_DV_DERIVAITON_G0074 573 DvInfo.bDV = rpcTempCU->getDispforDepth(0, 0, &DvInfo); 574 #else 572 575 DvInfo.bDV = rpcTempCU->getDispNeighBlocks(0, 0, &DvInfo); 576 #endif 573 577 } 574 578 else
Note: See TracChangeset for help on using the changeset viewer.