Changeset 303 in 3DVCSoftware for branches/HTM-6.0-Mediatek/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 8 Mar 2013, 16:13:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.0-Mediatek/source/Lib/TLibCommon/TComDataCU.cpp
r296 r303 3596 3596 #if H3D_IVMP 3597 3597 #if MTK_DEPTH_MERGE_TEXTURE_CANDIDATE_C0137 3598 #if FCO_FIX 3599 const Int extraMergeCand = ( ( ( getSlice()->getIsDepth() && m_pcSlice->getTexturePic() ) || getSlice()->getSPS()->getMultiviewMvPredMode() )? 1 : 0 ); 3600 #else 3598 3601 const Int extraMergeCand = ( ( getSlice()->getIsDepth() || getSlice()->getSPS()->getMultiviewMvPredMode() )? 1 : 0 ); 3602 #endif 3599 3603 #else 3600 3604 const Int extraMergeCand = ( getSlice()->getSPS()->getMultiviewMvPredMode() ? 1 : 0 ); … … 3651 3655 if(!bNoPdmMerge) 3652 3656 { 3657 #if FCO_DVP_REFINE_C0132_C0170 3658 if( !getPic()->getDepthCoded() ) 3659 #endif 3653 3660 getDisMvpCandNBDV(uiPUIdx, uiAbsPartIdx, &cDisInfo , true 3654 3661 #if MERL_VSP_C0152 … … 3657 3664 ); 3658 3665 } 3666 #if FCO_DVP_REFINE_C0132_C0170 3667 if(getPic()->getDepthCoded() ) 3668 { 3669 TComPic* pcCodedDepthMap = getPic()->getRecDepthMap(); 3670 TComMv cColMv; 3671 3672 cColMv.setZero(); 3673 estimateDVFromDM(uiPUIdx, pcCodedDepthMap, uiAbsPartIdx, &cColMv, false); 3674 3675 cDisInfo.iN = 1; 3676 cDisInfo.m_acMvCand[0].setHor( cColMv.getHor() ); 3677 cDisInfo.m_acMvCand[0].setVer( cColMv.getVer() ); 3678 cDisInfo.m_aVIdxCan[0] = 0; 3679 3680 } 3681 #endif 3659 3682 if(cDisInfo.iN==0) 3660 3683 { … … 3669 3692 3670 3693 #if MTK_DEPTH_MERGE_TEXTURE_CANDIDATE_C0137 3694 #if FCO_FIX 3695 if( m_pcSlice->getIsDepth() && m_pcSlice->getTexturePic() ) 3696 #else 3671 3697 if( m_pcSlice->getIsDepth()) 3698 #endif 3672 3699 { 3673 3700 UInt uiPartIdxCenter; … … 6079 6106 DisInfo cDisInfo; 6080 6107 cDisInfo.iN = 0; 6108 #if FCO_DVP_REFINE_C0132_C0170 6109 if( !getPic()->getDepthCoded() ) 6110 #endif 6081 6111 getDisMvpCandNBDV(uiPartIdx, uiPartAddr, &cDisInfo, false 6082 6112 #if MERL_VSP_C0152 … … 6084 6114 #endif 6085 6115 ); 6116 #if FCO_DVP_REFINE_C0132_C0170 6117 if(getPic()->getDepthCoded() ) 6118 { 6119 TComPic* pcCodedDepthMap = getPic()->getRecDepthMap(); 6120 TComMv cColMv; 6121 6122 cColMv.setZero(); 6123 estimateDVFromDM(uiPartIdx, pcCodedDepthMap, uiPartAddr, &cColMv, false); 6124 6125 cDisInfo.iN = 1; 6126 cDisInfo.m_acMvCand[0].setHor( cColMv.getHor() ); 6127 cDisInfo.m_acMvCand[0].setVer( cColMv.getVer() ); 6128 cDisInfo.m_aVIdxCan[0] = 0; 6129 } 6130 #endif 6086 6131 if(cDisInfo.iN==0) 6087 6132 { … … 7921 7966 PartSize m_peSaved = getPartitionSize( 0 ); 7922 7967 m_pePartSize[0] = SIZE_2Nx2N; 7968 #if FCO_DVP_REFINE_C0132_C0170 7969 if(getPic()->getDepthCoded() ) 7970 { 7971 TComPic* pcCodedDepthMap = getPic()->getRecDepthMap(); 7972 TComMv cColMv; 7973 7974 cColMv.setZero(); 7975 estimateDVFromDM(0, pcCodedDepthMap, 0, &cColMv, false); 7976 7977 cDisInfo.iN = 1; 7978 cDisInfo.m_acMvCand[0].setHor( cColMv.getHor() ); 7979 cDisInfo.m_acMvCand[0].setVer( cColMv.getVer() ); 7980 cDisInfo.m_aVIdxCan[0] = 0; 7981 7982 } 7983 else 7984 #endif 7923 7985 getDisMvpCandNBDV( 0, 0, &cDisInfo, false ); 7924 7986 if( cDisInfo.iN == 0)
Note: See TracChangeset for help on using the changeset viewer.