Changeset 382 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibCommon
- Timestamp:
- 5 Sep 2013, 23:09:52 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r377 r382 1671 1671 m_maxSublayerForIlpPlus1[i] = m_uiMaxTLayers + 1; 1672 1672 } 1673 #endif 1674 #if N0160_TILE_BOUNDARY_ALIGNED_FLAG 1675 ::memset(m_tileBoundariesAlignedFlag, 0, sizeof(m_tileBoundariesAlignedFlag)); 1676 #endif 1677 #if N0160_VUI_EXT_ILP_REF 1678 m_numIlpRestrictedRefLayers = false; 1679 ::memset(m_minSpatialSegmentOffsetPlus1, 0, sizeof(m_minSpatialSegmentOffsetPlus1)); 1680 ::memset(m_ctuBasedOffsetEnabledFlag, 0, sizeof(m_ctuBasedOffsetEnabledFlag)); 1681 ::memset(m_minHorizontalCtuOffsetPlus1, 0, sizeof(m_minHorizontalCtuOffsetPlus1)); 1673 1682 #endif 1674 1683 } -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.h
r381 r382 500 500 Bool m_singleLayerForNonIrapFlag; 501 501 #endif 502 #if N0160_TILE_BOUNDARY_ALIGNED_FLAG 503 Bool m_tileBoundariesAlignedFlag[MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 504 #endif 505 #if N0160_VUI_EXT_ILP_REF 506 Bool m_numIlpRestrictedRefLayers; 507 Int m_minSpatialSegmentOffsetPlus1[MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 508 Bool m_ctuBasedOffsetEnabledFlag [MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 509 Int m_minHorizontalCtuOffsetPlus1 [MAX_VPS_LAYER_ID_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 510 #endif 502 511 public: 503 512 TComVPS(); … … 671 680 Void setSingleLayerForNonIrapFlag(Bool x) { m_singleLayerForNonIrapFlag = x; } 672 681 #endif 682 #if N0160_TILE_BOUNDARY_ALIGNED_FLAG 683 Bool getTileBoundariesAlignedFlag(Int currLayerId, Int refLayerId) { return m_tileBoundariesAlignedFlag[currLayerId][refLayerId]; } 684 Void setTileBoundariesAlignedFlag(Int currLayerId, Int refLayerId, Bool x) { m_tileBoundariesAlignedFlag[currLayerId][refLayerId] = x; } 685 #endif 686 #if N0160_VUI_EXT_ILP_REF 687 Bool getNumIlpRestrictedRefLayers ( ) { return m_numIlpRestrictedRefLayers ;} 688 Void setNumIlpRestrictedRefLayers ( Int val ) { m_numIlpRestrictedRefLayers = val;} 689 690 Int getMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId ) { return m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId];} 691 Void setMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId, Int val ) { m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId] = val;} 692 693 Bool getCtuBasedOffsetEnabledFlag ( Int currLayerId, Int refLayerId ) { return m_ctuBasedOffsetEnabledFlag[currLayerId][refLayerId];} 694 Void setCtuBasedOffsetEnabledFlag ( Int currLayerId, Int refLayerId, Bool flag ) { m_ctuBasedOffsetEnabledFlag[currLayerId][refLayerId] = flag;} 695 696 Int getMinHorizontalCtuOffsetPlus1 ( Int currLayerId, Int refLayerId ) { return m_minHorizontalCtuOffsetPlus1[currLayerId][refLayerId];} 697 Void setMinHorizontalCtuOffsetPlus1 ( Int currLayerId, Int refLayerId, Int val ) { m_minHorizontalCtuOffsetPlus1[currLayerId][refLayerId] = val;} 698 #endif 699 673 700 }; 674 701 -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r380 r382 54 54 #define EXTERNAL_USEDBYCURR_N0082 1 ///< N0082: final ref picture list change (encoder) //dev ver. 55 55 #endif 56 #define M0464_TILE_BOUNDARY_ALIGNED_FLAG 1///< VUI flag to indicate tile boundary alignment57 #define M0463_VUI_EXT_ILP_REF 1///< VUI extension inter-layer dependency offset signalling56 #define M0464_TILE_BOUNDARY_ALIGNED_FLAG 0 ///< VUI flag to indicate tile boundary alignment 57 #define M0463_VUI_EXT_ILP_REF 0 ///< VUI extension inter-layer dependency offset signalling 58 58 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure 59 59 #define SCALED_REF_LAYER_OFFSET_FLAG 0 ///< M0309: Signal scaled reference layer offsets in SPS … … 78 78 #define M0457_PREDICTION_INDICATIONS 1 79 79 #define M0040_ADAPTIVE_RESOLUTION_CHANGE 1 80 #define VPS_VUI 1 ///< Include function structure for VPS VUI 81 82 #if VPS_VUI 83 #define N0160_TILE_BOUNDARY_ALIGNED_FLAG 1 ///< VPS VUI flag to indicate tile boundary alignment 84 #define N0160_VUI_EXT_ILP_REF 1 ///< VUI extension inter-layer dependency offset signalling 85 #endif //VPS_VUI 86 80 87 #endif 81 88
Note: See TracChangeset for help on using the changeset viewer.