Changeset 629 in 3DVCSoftware for branches/HTM-8.2-dev0-MediaTek/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 23 Sep 2013, 08:46:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev0-MediaTek/source/Lib/TLibCommon/TComPrediction.cpp
r622 r629 731 731 // Get depth reference 732 732 Int depthRefViewIdx = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan; 733 #if H_3D_FCO_VSP_DONBDV 734 TComPic* pRefPicBaseDepth = 0; 735 Bool bIsCurrDepthCoded = false; 736 pRefPicBaseDepth = pcCU->getSlice()->getIvPic( true, pcCU->getSlice()->getViewIndex() ); 737 if ( pRefPicBaseDepth->getPicYuvRec() != NULL ) 738 { 739 bIsCurrDepthCoded = true; 740 } 741 else 742 { 743 pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx ); 744 } 745 #else 733 746 TComPic* pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx ); 747 #endif 734 748 assert(pRefPicBaseDepth != NULL); 735 749 TComPicYuv* pcBaseViewDepthPicYuv = pRefPicBaseDepth->getPicYuvRec(); … … 751 765 TComMv cDv = pcCU->getDvInfo(uiPartAddr).m_acNBDV; 752 766 pcCU->clipMv(cDv); 767 768 #if H_3D_FCO_VSP_DONBDV 769 if ( bIsCurrDepthCoded ) 770 { 771 cDv.setZero(); 772 } 773 #endif 753 774 754 775 #if NTT_VSP_COMMON_E0207_E0208
Note: See TracChangeset for help on using the changeset viewer.