Ignore:
Timestamp:
9 May 2013, 07:51:01 (11 years ago)
Author:
mediatek-htm
Message:

D0156 source code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibCommon/TComDataCU.cpp

    r380 r384  
    5353#if MERL_VSP_C0152
    5454
     55#if MTK_D0156
     56#define CHECK_ADD_YET(pcCURef,uiIdx,vspIdx) && ( (!m_pcSlice->getSPS()->getUseVSPCompensation()) || (!( (pcCURef)->getVSPIndex(uiIdx) == vspIdx && bVspMvZeroDone[vspIdx-1] )))
     57#else
    5558#define CHECK_ADD_YET(pcCURef,uiIdx,vspIdx) && !( (pcCURef)->getVSPIndex(uiIdx) == vspIdx && bVspMvZeroDone[vspIdx-1] )
     59#endif
    5660
    5761inline Void TComDataCU::xInheritVspMode( TComDataCU* pcCURef, UInt uiIdx, Bool* bVspMvZeroDone, Int iCount, Int* iVSPIndexTrue, TComMvField* pcMvFieldNeighbours, DisInfo* pDInfo
     
    6165)
    6266{
     67#if MTK_D0156
     68    if( !m_pcSlice->getSPS()->getUseVSPCompensation() )
     69    {
     70        return;
     71    }
     72#endif
     73
    6374  Int vspIdx = (Int) pcCURef->getVSPIndex(uiIdx);
    6475  if( vspIdx != 0 )
     
    8899                                          UChar* puhInterDirNeighbours, TComMvField* pcMvFieldNeighbours, Int* iVSPIndexTrue, Int mrgCandIdx, DisInfo* pDInfo )
    89100{
     101#if MTK_D0156
     102    if( !m_pcSlice->getSPS()->getUseVSPCompensation() )
     103    {
     104        return true;
     105    }
     106#endif
     107
    90108#if MERL_VSP_C0152_BugFix_ForNoDepthCase
    91109  TComPic* pRefPicBaseDepth = NULL;
     
    43474365        bValid = false;
    43484366#endif
     4367
     4368#if MTK_D0156
     4369      if( !m_pcSlice->getSPS()->getUseVSPCompensation())
     4370      {
     4371          bValid = true;
     4372      }
     4373#endif
     4374
    43494375      if (abCandIsInter[i] && abCandIsInter[j]&& (puhInterDirNeighbours[i]&0x1)&&(puhInterDirNeighbours[j]&0x2)
    43504376#if MERL_VSP_C0152
     
    51705196  }
    51715197
     5198#if MTK_D0156
     5199  if( !m_pcSlice->getSPS()->getUseDVPRefine() )
     5200  {
     5201      bDepthRefine = false;
     5202  }
     5203#endif
     5204
    51725205  // Get Positions 
    51735206  PartSize eCUMode    = getPartitionSize( uiPartAddr );   
Note: See TracChangeset for help on using the changeset viewer.