Changeset 310 in 3DVCSoftware for branches/HTM-6.0-dev0/source/Lib


Ignore:
Timestamp:
15 Mar 2013, 13:54:23 (13 years ago)
Author:
tech
Message:

Incorporated MERL_VSP_C0152_BugFix_ForNoDepthCase

Location:
branches/HTM-6.0-dev0/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.0-dev0/source/Lib/TLibCommon/TComDataCU.cpp

    r303 r310  
    8181                                          UChar* puhInterDirNeighbours, TComMvField* pcMvFieldNeighbours, Int* iVSPIndexTrue, Int mrgCandIdx, DisInfo* pDInfo )
    8282{
     83#if MERL_VSP_C0152_BugFix_ForNoDepthCase
     84  TComPic* pRefPicBaseDepth = NULL;
     85  pRefPicBaseDepth = getSlice()->getRefPicBaseDepth();
     86  if(ucVspMergePos == VSP_MERGE_POS && pRefPicBaseDepth) //VSP can be used only when depth is used as input
     87#else
     88  if( ucVspMergePos == VSP_MERGE_POS )
     89#endif
    8390  if( ucVspMergePos == VSP_MERGE_POS )
    8491  {
  • branches/HTM-6.0-dev0/source/Lib/TLibCommon/TypeDef.h

    r305 r310  
    186186#define MERL_VSP_C0152                    1 // JCT3V-C0152: 1: enable VSP-related tools; 0: disable VSP-related tools
    187187#if MERL_VSP_C0152
    188 
     188#define MERL_VSP_C0152_BugFix_ForNoDepthCase     1// MERL bugfix for test condition of no depth
    189189/*
    190190 * Two macros are used to configure combinations of JCT3V-C0152 and JCT3V-C0131
Note: See TracChangeset for help on using the changeset viewer.