Changeset 566 in 3DVCSoftware for branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibCommon/TComPrediction.cpp
- Timestamp:
- 12 Aug 2013, 11:11:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibCommon/TComPrediction.cpp
r537 r566 697 697 { 698 698 // Get depth reference 699 #if MTK_VSP_FIX_E0172 700 Int vspDir = pcCU->getVSPDir( uiPartAddr ); 701 RefPicList privateRefPicList = (vspDir == 0) ? REF_PIC_LIST_0 : REF_PIC_LIST_1; 702 Int privateRefIdx = pcCU->getCUMvField( privateRefPicList )->getRefIdx( uiPartAddr ); 703 Int depthRefViewIdx = pcCU->getSlice()->getRefPic(privateRefPicList, privateRefIdx)->getViewIndex(); 704 #else 699 705 Int depthRefViewIdx = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan; 706 #endif 700 707 TComPic* pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx ); 701 708 assert(pRefPicBaseDepth != NULL); … … 716 723 717 724 // Do compensation 725 #if MTK_VSP_FIX_E0172 726 TComMv cDv = pcCU->getCUMvField( privateRefPicList )->getMv( uiPartAddr ); 727 #else 718 728 TComMv cDv = pcCU->getCUMvField( eRefPicList )->getMv( uiPartAddr ); // cDv is the disparity vector derived from the neighbors 729 #endif 719 730 pcCU->clipMv(cDv); 720 731 UInt uiAbsPartIdx = pcCU->getZorderIdxInCU();
Note: See TracChangeset for help on using the changeset viewer.