Ignore:
Timestamp:
16 Aug 2013, 10:38:21 (12 years ago)
Author:
ntt
Message:

Integration for the adoptions in E0207, E0208, and E0141 by NTT.

File:
1 edited

Legend:

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

    r569 r576  
    52695269  Int iPictureWidth  = pcBaseViewDepthPicYuv->getWidth();
    52705270  Int iPictureHeight = pcBaseViewDepthPicYuv->getHeight();
    5271 
     5271 
     5272#if NTT_DoNBDV_VECTOR_CLIP_E0141
     5273  Int depthStartPosX = Clip3(0,   iPictureWidth - 1,  iBlkX + ((mv->getHor()+2)>>2));
     5274  Int depthStartPosY = Clip3(0,   iPictureHeight - 1, iBlkY + ((mv->getVer()+2)>>2));
     5275  Int depthEndPosX   = Clip3(0,   iPictureWidth - 1,  iBlkX + iBlkWidth - 1 + ((mv->getHor()+2)>>2));
     5276  Int depthEndPosY   = Clip3(0,   iPictureHeight - 1, iBlkY + iBlkHeight - 1 + ((mv->getVer()+2)>>2));
     5277#else
    52725278  Int depthStartPosX = Clip3(0,   iPictureWidth - iBlkWidth,  iBlkX + ((mv->getHor()+2)>>2));
    52735279  Int depthStartPosY = Clip3(0,   iPictureHeight- iBlkHeight,  iBlkY + ((mv->getVer()+2)>>2));
    52745280  Int depthEndPosX   = Clip3(0,   iPictureWidth - 1,  iBlkX + iBlkWidth - 1 + ((mv->getHor()+2)>>2));
    52755281  Int depthEndPosY   = Clip3(0,   iPictureHeight - 1,  iBlkY + iBlkHeight - 1 + ((mv->getVer()+2)>>2));
     5282#endif
    52765283
    52775284  Pel* depthTL  = pcBaseViewDepthPicYuv->getLumaAddr();
     
    53525359          assert( uiMvpDvPos < IDV_CANDS );
    53535360          paIDVInfo->m_acMvCand[iList][ uiMvpDvPos ] = TComMv( cMvPred.getIDVHor(), cMvPred.getIDVVer() );
    5354           //Notes from QC: DvMCP is implemented in a way that doesnt carry the reference view identifier as NBDV. It only works for CTC and needs to be fixed to be aligned with other part of the NBDV design.
     5361          //Notes from QC: DvMCP is implemented in a way that doesnE½t carry the reference view identifier as NBDV. It only works for CTC and needs to be fixed to be aligned with other part of the NBDV design.
    53555362#if MTK_DVMCP_FIX_E0172
    53565363          paIDVInfo->m_aVIdxCan[iList][ uiMvpDvPos ] = cMvPred.getIDVVId();
Note: See TracChangeset for help on using the changeset viewer.