Changeset 1168 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 8 Jul 2015, 01:16:32 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1167 r1168 2039 2039 ::memset(m_wppInUseFlag, 0, sizeof(m_wppInUseFlag)); 2040 2040 #endif 2041 #if N0160_VUI_EXT_ILP_REF 2041 2042 2042 m_ilpRestrictedRefLayersFlag = false; 2043 2043 ::memset(m_minSpatialSegmentOffsetPlus1, 0, sizeof(m_minSpatialSegmentOffsetPlus1)); 2044 2044 ::memset(m_ctuBasedOffsetEnabledFlag, 0, sizeof(m_ctuBasedOffsetEnabledFlag)); 2045 2045 ::memset(m_minHorizontalCtuOffsetPlus1, 0, sizeof(m_minHorizontalCtuOffsetPlus1)); 2046 #endif2047 2046 2048 2047 m_vidSigPresentVpsFlag=true; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1167 r1168 687 687 Bool m_wppNotInUseFlag; 688 688 Bool m_wppInUseFlag[MAX_VPS_LAYER_IDX_PLUS1]; 689 #endif 690 #if N0160_VUI_EXT_ILP_REF 689 #endif 690 691 691 Bool m_ilpRestrictedRefLayersFlag; 692 692 Int m_minSpatialSegmentOffsetPlus1[MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 693 693 Bool m_ctuBasedOffsetEnabledFlag [MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 694 694 Int m_minHorizontalCtuOffsetPlus1 [MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1]; 695 #endif696 695 697 696 Bool m_vidSigPresentVpsFlag; … … 1070 1069 Void setWppInUseFlag(Int currLayerId, Bool x) { m_wppInUseFlag[currLayerId] = x; } 1071 1070 #endif 1072 #if N0160_VUI_EXT_ILP_REF 1073 Bool getIlpRestrictedRefLayersFlag ( ) { return m_ilpRestrictedRefLayersFlag ;} 1074 Void setIlpRestrictedRefLayersFlag ( Int val ) { m_ilpRestrictedRefLayersFlag = val;} 1075 1076 Int getMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId ) { return m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId];} 1077 Void setMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId, Int val ) { m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId] = val;} 1078 1071 1072 Bool getIlpRestrictedRefLayersFlag ( ) { return m_ilpRestrictedRefLayersFlag;} 1073 Void setIlpRestrictedRefLayersFlag ( Int val ) { m_ilpRestrictedRefLayersFlag = val; } 1074 Int getMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId ) { return m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId];} 1075 Void setMinSpatialSegmentOffsetPlus1( Int currLayerId, Int refLayerId, Int val ) { m_minSpatialSegmentOffsetPlus1[currLayerId][refLayerId] = val; } 1079 1076 Bool getCtuBasedOffsetEnabledFlag ( Int currLayerId, Int refLayerId ) { return m_ctuBasedOffsetEnabledFlag[currLayerId][refLayerId];} 1080 Void setCtuBasedOffsetEnabledFlag ( Int currLayerId, Int refLayerId, Bool flag ) { m_ctuBasedOffsetEnabledFlag[currLayerId][refLayerId] = flag;} 1081 1077 Void setCtuBasedOffsetEnabledFlag ( Int currLayerId, Int refLayerId, Bool flag ) { m_ctuBasedOffsetEnabledFlag[currLayerId][refLayerId] = flag;} 1082 1078 Int getMinHorizontalCtuOffsetPlus1 ( Int currLayerId, Int refLayerId ) { return m_minHorizontalCtuOffsetPlus1[currLayerId][refLayerId];} 1083 Void setMinHorizontalCtuOffsetPlus1 ( Int currLayerId, Int refLayerId, Int val ) { m_minHorizontalCtuOffsetPlus1[currLayerId][refLayerId] = val;} 1084 #endif 1079 Void setMinHorizontalCtuOffsetPlus1 ( Int currLayerId, Int refLayerId, Int val ) { m_minHorizontalCtuOffsetPlus1[currLayerId][refLayerId] = val; } 1085 1080 1086 1081 Bool getVideoSigPresentVpsFlag() { return m_vidSigPresentVpsFlag; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1167 r1168 117 117 #define VPS_VUI_TILES_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use 118 118 #define VPS_VUI_WPP_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use 119 #define N0160_VUI_EXT_ILP_REF 1 ///< VUI extension inter-layer dependency offset signalling120 119 121 120 #define AVC_BASE 1 ///< YUV BL reading for AVC base SVC -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1167 r1168 3564 3564 assert( !vps->getHigherLayerIrapSkipFlag() ); 3565 3565 } 3566 #if N0160_VUI_EXT_ILP_REF 3566 3567 3567 READ_FLAG( uiCode, "ilp_restricted_ref_layers_flag" ); vps->setIlpRestrictedRefLayersFlag( uiCode == 1 ); 3568 3568 if( vps->getIlpRestrictedRefLayersFlag()) … … 3587 3587 } 3588 3588 } 3589 #endif3590 3589 3591 3590 #if O0164_MULTI_LAYER_HRD -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1167 r1168 2507 2507 WRITE_FLAG(vps->getHigherLayerIrapSkipFlag(), "higher_layer_irap_skip_flag" ); 2508 2508 2509 #if N0160_VUI_EXT_ILP_REF2510 2509 WRITE_FLAG( vps->getIlpRestrictedRefLayersFlag() ? 1 : 0 , "ilp_restricted_ref_layers_flag" ); 2511 2510 if( vps->getIlpRestrictedRefLayersFlag()) … … 2532 2531 } 2533 2532 } 2534 #endif2535 2533 2536 2534 #if O0164_MULTI_LAYER_HRD
Note: See TracChangeset for help on using the changeset viewer.