Changeset 187 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibCommon
- Timestamp:
- 12 May 2013, 18:11:47 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r181 r187 461 461 462 462 #if REF_IDX_FRAMEWORK 463 #if ZERO_NUM_DIRECT_LAYERS 464 if( m_layerId == 0 || ( m_layerId > 0 && ( m_activeNumILRRefIdx == 0 || !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ) ) ) 465 #else 463 466 if ((getLayerId() == 0) || 464 467 ((getSPS()->getLayerId()) && !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && 465 468 (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ) 466 469 ) 470 #endif 467 471 { 468 472 #endif … … 516 520 //inter-layer reference picture 517 521 #if REF_IDX_MFM 522 #if ZERO_NUM_DIRECT_LAYERS 523 if( m_layerId > 0 && m_activeNumILRRefIdx > 0 ) 524 #else 518 525 if (getLayerId()) 526 #endif 519 527 { 520 528 if(!(getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA) && getSPS()->getMFMEnabledFlag()) -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r175 r187 437 437 #if SCALED_REF_LAYER_OFFSETS 438 438 // Only increase the x position of reference upsample picture when within the window 439 // "-2" to ensure that pointer doesn't go beyond the bound eary rightEndL-1439 // "-2" to ensure that pointer doesn't go beyond the boundary rightEndL-1 440 440 if( (i >= leftStartL) && (i <= rightEndL-2) ) 441 441 { … … 605 605 #if SCALED_REF_LAYER_OFFSETS 606 606 // Only increase the x position of reference upsample picture when within the window 607 // "-2" to ensure that pointer doesn't go beyond the bound eary rightEndC-1607 // "-2" to ensure that pointer doesn't go beyond the boundary rightEndC-1 608 608 if( (i >= leftStartC) && (i <= rightEndC-2) ) 609 609 { -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r175 r187 90 90 #define REF_IDX_MFM 1 ///< L0336: motion vector mapping of inter-layer reference picture 91 91 #define JCTVC_M0458_INTERLAYER_RPS_SIG 1 ///< implementation of JCTVC-L0178 (currently only one reference layer is supported ) 92 #if JCTVC_M0458_INTERLAYER_RPS_SIG 93 #define ZERO_NUM_DIRECT_LAYERS 1 ///< support of zero direct reference layers 94 #endif 92 95 #else 93 96 #define INTRA_BL 1 ///< inter-layer texture prediction
Note: See TracChangeset for help on using the changeset viewer.