Ignore:
Timestamp:
12 Aug 2013, 11:11:06 (11 years ago)
Author:
mediatek-htm
Message:

Integration of JCT3V-E0172. The MACRO is "MTK_RVS_BUGFIX_E0172".

By Na Zhang (na.zhang@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-2.0-dev1-Mediatek/source/Lib/TLibCommon/TComPrediction.cpp

    r537 r566  
    697697{
    698698  // 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
    699705  Int depthRefViewIdx = pcCU->getDvInfo(uiPartAddr).m_aVIdxCan;
     706#endif
    700707  TComPic* pRefPicBaseDepth = pcCU->getSlice()->getIvPic (true, depthRefViewIdx );
    701708  assert(pRefPicBaseDepth != NULL);
     
    716723
    717724  // Do compensation
     725#if MTK_VSP_FIX_E0172
     726  TComMv cDv  = pcCU->getCUMvField( privateRefPicList )->getMv( uiPartAddr );
     727#else
    718728  TComMv cDv  = pcCU->getCUMvField( eRefPicList )->getMv( uiPartAddr ); // cDv is the disparity vector derived from the neighbors
     729#endif
    719730  pcCU->clipMv(cDv);
    720731  UInt uiAbsPartIdx = pcCU->getZorderIdxInCU();
Note: See TracChangeset for help on using the changeset viewer.