Changeset 1122 in SHVCSoftware


Ignore:
Timestamp:
7 Jul 2015, 02:07:05 (9 years ago)
Author:
seregin
Message:

macro cleanup: RESAMPLING_CONSTRAINT_BUG_FIX

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1121 r1122  
    512512      memset( refResamplingLayer, 0, sizeof( refResamplingLayer ) );
    513513#endif
    514 #if !RESAMPLING_CONSTRAINT_BUG_FIX
    515       const Window &scalEL = getSPS()->getScaledRefLayerWindow(m_interLayerPredLayerIdc[i]);
    516       Int scalingOffset = ((scalEL.getWindowLeftOffset()   == 0 ) &&
    517                            (scalEL.getWindowRightOffset()  == 0 ) &&
    518                            (scalEL.getWindowTopOffset()    == 0 ) &&
    519                            (scalEL.getWindowBottomOffset() == 0 )
    520                           );
    521 #endif
    522514
    523515      for( i=0; i < m_activeNumILRRefIdx; i++ )
     
    525517        UInt refLayerIdc = m_interLayerPredLayerIdc[i];
    526518        UInt refLayerId = m_pcVPS->getRefLayerId( m_layerId, refLayerIdc );
    527 #if RESAMPLING_CONSTRAINT_BUG_FIX
     519
    528520#if O0098_SCALED_REF_LAYER_ID
    529521        const Window &scalEL = getPPS()->getScaledRefLayerWindowForLayer(refLayerId);
     
    536528                             (scalEL.getWindowBottomOffset() == 0 )
    537529                            );
    538 #endif
     530
    539531#if O0194_DIFFERENT_BITDEPTH_EL_BL
    540532        Bool sameBitDepths = ( g_bitDepthLayer[CHANNEL_TYPE_LUMA][m_layerId] == g_bitDepthLayer[CHANNEL_TYPE_LUMA][refLayerId] ) && ( g_bitDepthLayer[CHANNEL_TYPE_CHROMA][m_layerId] == g_bitDepthLayer[CHANNEL_TYPE_CHROMA][refLayerId] );
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1121 r1122  
    188188#define O0096_DEFAULT_DEPENDENCY_TYPE    1      ///< JCTVC-O0096: specify default dependency type for all direct reference layers
    189189
    190 #define RESAMPLING_CONSTRAINT_BUG_FIX    1
    191190#define O0098_SCALED_REF_LAYER_ID        1      ///< JCTVC-O0098: signal scaled reference id
    192191
Note: See TracChangeset for help on using the changeset viewer.