Changeset 323 in SHVCSoftware for branches/SHM-3.0-dev/source/Lib/TLibCommon
- Timestamp:
- 2 Aug 2013, 22:59:06 (11 years ago)
- Location:
- branches/SHM-3.0-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r313 r323 385 385 386 386 #if REF_IDX_FRAMEWORK 387 #if ZERO_NUM_DIRECT_LAYERS388 387 if( m_layerId == 0 || ( m_layerId > 0 && ( m_activeNumILRRefIdx == 0 || !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ) ) ) 389 #else390 if ((getLayerId() == 0) ||391 ((getSPS()->getLayerId()) && !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) &&392 (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) )393 )394 #endif395 388 { 396 389 #endif … … 458 451 #if ILR_RESTR 459 452 Int maxSubLayerForILPPlus1 = ( m_layerId > 0 && m_activeNumILRRefIdx > 0)? m_pcVPS->getMaxSublayerForIlpPlus1(ilpPic[refLayerIdc]->getSlice(0)->getLayerId()) : 0; 460 #if ZERO_NUM_DIRECT_LAYERS461 453 if( m_layerId > 0 && m_activeNumILRRefIdx > 0 && ( ( (Int)(ilpPic[refLayerIdc]->getSlice(0)->getTLayer())<= maxSubLayerForILPPlus1-1) || (maxSubLayerForILPPlus1==0 && ilpPic[refLayerIdc]->getSlice(0)->getRapPicFlag()) ) ) 462 #else463 if( m_layerId > 0 && ( ( (Int)(ilpPic[refLayerIdc]->getSlice(0)->getTLayer())<=maxSubLayerForILPPlus1-1) || (maxSubLayerForILPPlus1==0 && ilpPic[refLayerIdc]->getSlice(0)->getRapPicFlag()) ) )464 #endif465 454 #else //#if ILR_RESTR 466 #if ZERO_NUM_DIRECT_LAYERS467 455 if( m_layerId > 0 && m_activeNumILRRefIdx > 0 ) 468 #else469 if( m_layerId > 0 )470 #endif471 456 #endif //#if ILR_RESTR 472 457 { -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h
r322 r323 96 96 #define JCTVC_M0458_INTERLAYER_RPS_SIG 1 ///< implementation of JCTVC-L0178 97 97 #if JCTVC_M0458_INTERLAYER_RPS_SIG 98 #define ZERO_NUM_DIRECT_LAYERS 1 ///< support of zero direct reference layers99 98 #define MAX_ONE_RESAMPLING_DIRECT_LAYERS 1 ///< Allow maximum of one resampling process for direct reference layers 100 99 #endif
Note: See TracChangeset for help on using the changeset viewer.