- Timestamp:
- 7 Jul 2015, 02:07:05 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1121 r1122 512 512 memset( refResamplingLayer, 0, sizeof( refResamplingLayer ) ); 513 513 #endif 514 #if !RESAMPLING_CONSTRAINT_BUG_FIX515 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 #endif522 514 523 515 for( i=0; i < m_activeNumILRRefIdx; i++ ) … … 525 517 UInt refLayerIdc = m_interLayerPredLayerIdc[i]; 526 518 UInt refLayerId = m_pcVPS->getRefLayerId( m_layerId, refLayerIdc ); 527 #if RESAMPLING_CONSTRAINT_BUG_FIX 519 528 520 #if O0098_SCALED_REF_LAYER_ID 529 521 const Window &scalEL = getPPS()->getScaledRefLayerWindowForLayer(refLayerId); … … 536 528 (scalEL.getWindowBottomOffset() == 0 ) 537 529 ); 538 #endif 530 539 531 #if O0194_DIFFERENT_BITDEPTH_EL_BL 540 532 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 188 188 #define O0096_DEFAULT_DEPENDENCY_TYPE 1 ///< JCTVC-O0096: specify default dependency type for all direct reference layers 189 189 190 #define RESAMPLING_CONSTRAINT_BUG_FIX 1191 190 #define O0098_SCALED_REF_LAYER_ID 1 ///< JCTVC-O0098: signal scaled reference id 192 191
Note: See TracChangeset for help on using the changeset viewer.