Changeset 780 in 3DVCSoftware for branches/HTM-9.3-dev1-Qualcomm
- Timestamp:
- 20 Jan 2014, 04:17:49 (11 years ago)
- Location:
- branches/HTM-9.3-dev1-Qualcomm
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev1-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp
r779 r780 4351 4351 //////// INTER VIEW MOTION COMP(IvMC) ///////// 4352 4352 /////////////////////////////////////////////// 4353 4353 #if QC_DEPTH_MERGE_SIMP_G0127 4354 if( getSlice()->getIsDepth() ) 4355 { 4356 ivCandDir[1] = ivCandDir[2] = ivCandDir[3] = 0; 4357 } 4358 #endif 4354 4359 if( ivCandDir[0] ) 4355 4360 { … … 4588 4593 //////// INTER VIEW DISP COMP (IvDC) //////// 4589 4594 ///////////////////////////////////////////// 4590 4595 #if QC_DEPTH_MERGE_SIMP_G0127 4596 if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() ) 4597 #else 4591 4598 if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand()) 4599 #endif 4592 4600 { 4593 4601 assert(iCount < getSlice()->getMaxNumMergeCand()); … … 4750 4758 //////// SHIFTED IV (IvMCShift + IvDCShift) //////// 4751 4759 //////////////////////////////////////////////////// 4760 #if QC_DEPTH_MERGE_SIMP_G0127 4761 if( ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() ) 4762 #else 4752 4763 if( ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() ) 4764 #endif 4753 4765 { 4754 4766 if(xAddIvMRGCand( mrgCandIdx, iCount, abCandIsInter, pcMvFieldNeighbours, puhInterDirNeighbours, ivCandDir, ivCandMv, ivCandRefIdx, posIvDC, vspFlag, iCount3DV, inheritedVSPDisInfo ) ) … … 7300 7312 iCurrPosY += ( iHeight >> 1 ); 7301 7313 } 7314 #if QC_DEPTH_MERGE_SIMP_G0127 7315 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 7316 #else 7302 7317 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < 2; iLoopCan ++) 7318 #endif 7303 7319 #else 7304 7320 for(Int iLoopCan = 1; iLoopCan < 2; iLoopCan ++) … … 7387 7403 #if H_3D_SPIVMP 7388 7404 #if QC_SPIVMP_MPI_G0119 7405 #if QC_DEPTH_MERGE_SIMP_G0127 7406 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 7407 #else 7389 7408 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < 2; iLoopCan ++) 7409 #endif 7390 7410 #else 7391 7411 for(Int iLoopCan = 1; iLoopCan < 2; iLoopCan ++) … … 7402 7422 /////// IvDC + IvDCShift /////// 7403 7423 //////////////////////////////// 7404 7424 #if QC_DEPTH_MERGE_SIMP_G0127 7425 if( !getSlice()->getIsDepth() ) 7426 { 7427 #endif 7405 7428 for( Int iRefListId = 0; iRefListId < 2 ; iRefListId++ ) 7406 7429 { … … 7436 7459 availableMcDc[1 + (iLoopCan << 1)] = ( abPdmAvailable[2 + (iLoopCan<<2)] ? 1 : 0 ) + ( abPdmAvailable[3 + (iLoopCan<<2)] ? 2 : 0 ); 7437 7460 } 7461 #if QC_DEPTH_MERGE_SIMP_G0127 7462 } 7463 #endif 7438 7464 return false; 7439 7465 } -
branches/HTM-9.3-dev1-Qualcomm/source/Lib/TLibCommon/TypeDef.h
r779 r780 229 229 #define QC_SPIVMP_MPI_G0119 1 // Sub-PU level MPI merge candidate 230 230 #endif 231 #define QC_DEPTH_MERGE_SIMP_G0127 1 // Remove DV candidate and shifting candidate for depth coding 231 232 232 233 ///// ***** DEPTH INTRA MODES *********
Note: See TracChangeset for help on using the changeset viewer.