Changeset 1170 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 01:24:10 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1168 r1170 1998 1998 ::memset(m_layerIdxInVps, 0, sizeof(m_layerIdxInVps)); 1999 1999 2000 #if VPS_EXTN_PROFILE_INFO2001 2000 ::memset(m_profilePresentFlag, 0, sizeof(m_profilePresentFlag)); 2002 #endif2003 2001 #if VPS_EXTN_OP_LAYER_SETS 2004 2002 ::memset(m_layerIdIncludedFlag, 0, sizeof(m_layerIdIncludedFlag)); … … 3046 3044 3047 3045 #if SVC_EXTENSION 3048 3049 #if VPS_EXTN_PROFILE_INFO3050 3046 Void ProfileTierLevel::copyProfileInfo(ProfileTierLevel *ptl) 3051 3047 { … … 3062 3058 this->setFrameOnlyConstraintFlag( ptl->getFrameOnlyConstraintFlag()); 3063 3059 } 3064 #endif3065 3060 3066 3061 Window& TComPPS::getScaledRefLayerWindowForLayer(Int layerId) … … 3749 3744 #endif //REPN_FORMAT_IN_VPS 3750 3745 3751 #if VPS_EXTN_PROFILE_INFO3752 3746 Void TComPTL::copyProfileInfo(TComPTL *ptl) 3753 3747 { … … 3755 3749 this->getGeneralPTL()->copyProfileInfo(ptl->getGeneralPTL()); 3756 3750 } 3757 #endif3758 3759 3751 3760 3752 Bool TComSlice::setBaseColPic( TComList<TComPic*>& rcListPic, UInt refLayerIdc ) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1168 r1170 244 244 Void setLowerBitRateConstraintFlag(Bool b) { m_lowerBitRateConstraintFlag = b; } 245 245 246 #if VPS_EXTN_PROFILE_INFO246 #if SVC_EXTENSION 247 247 Void copyProfileInfo(ProfileTierLevel *ptl); 248 248 #endif … … 268 268 ProfileTierLevel* getSubLayerPTL(Int i) { return &m_subLayerPTL[i]; } 269 269 270 #if VPS_EXTN_PROFILE_INFO270 #if SVC_EXTENSION 271 271 Void copyProfileInfo(TComPTL *ptl); 272 272 #endif … … 633 633 #endif 634 634 Bool m_ilpSshSignalingEnabledFlag; 635 #if VPS_EXTN_PROFILE_INFO 635 636 636 // Profile-tier-level signalling related 637 637 Bool m_profilePresentFlag[MAX_VPS_LAYER_SETS_PLUS1]; // The value with index 0 will not be used. 638 638 #if !MULTIPLE_PTL_SUPPORT 639 639 std::vector<TComPTL> m_pcPTLForExtn; 640 #endif641 640 #endif 642 641 #if VPS_EXTN_OP_LAYER_SETS … … 965 964 Bool getIlpSshSignalingEnabledFlag() { return m_ilpSshSignalingEnabledFlag;} 966 965 Void setIlpSshSignalingEnabledFlag(Bool x) { m_ilpSshSignalingEnabledFlag = x;} 967 #if VPS_EXTN_PROFILE_INFO 966 968 967 Bool getProfilePresentFlag(Int id) { return m_profilePresentFlag[id]; } 969 968 Void setProfilePresentFlag(Int id, Bool x) { m_profilePresentFlag[id] = x; } … … 972 971 std::vector<TComPTL>* getPTLForExtnPtr() { return &m_pcPTLForExtn; } 973 972 TComPTL* getPTLForExtn(Int id) { return &m_pcPTLForExtn[id]; } 974 #endif975 973 #endif 976 974 #if VPS_EXTN_OP_LAYER_SETS -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1169 r1170 52 52 #define POC_RESET_RESTRICTIONS 1 ///< Restrictions on semantics of POC reset-related syntax elements, including one item from R0223 53 53 #define POC_RESET_VALUE_RESTRICTION 1 ///< R0223: Restriction on the value of full_poc_reset_flag 54 #define PTL_SIGNALLING 1 ///< Overall macro for all PTL-related signalling55 54 56 55 #define BSP_INIT_ARRIVAL_SEI 1 ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag … … 111 110 112 111 #define VPS_EXTN_OP_LAYER_SETS 1 ///< Include output layer sets in VPS extension 113 #define VPS_EXTN_PROFILE_INFO 1 ///< Include profile information for layer sets in VPS extension114 112 115 113 #define VPS_VUI_TILES_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1169 r1170 2867 2867 } 2868 2868 READ_FLAG( uiCode, "all_ref_layers_active_flag" ); vps->setIlpSshSignalingEnabledFlag(uiCode ? true : false); 2869 #if VPS_EXTN_PROFILE_INFO 2869 2870 2870 // Profile-tier-level signalling 2871 2871 READ_UVLC( uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 ); … … 2894 2894 #endif 2895 2895 } 2896 #endif2897 2896 2898 2897 if( vps->getNumLayerSets() > 1 ) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1169 r1170 2117 2117 } 2118 2118 WRITE_FLAG( vps->getIlpSshSignalingEnabledFlag(), "all_ref_layers_active_flag" ); 2119 #if VPS_EXTN_PROFILE_INFO 2119 2120 2120 // Profile-tier-level signalling 2121 2121 WRITE_UVLC( vps->getNumProfileTierLevel() - 1, "vps_num_profile_tier_level_minus1"); … … 2140 2140 #endif 2141 2141 } 2142 #endif2143 2142 2144 2143 Int numOutputLayerSets = vps->getNumOutputLayerSets();
Note: See TracChangeset for help on using the changeset viewer.