Changeset 959 in SHVCSoftware for branches/SHM-upgrade/source/Lib
- Timestamp:
- 6 Jan 2015, 03:12:18 (10 years ago)
- Location:
- branches/SHM-upgrade/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibCommon/TComSlice.h
r945 r959 628 628 #if SVC_EXTENSION 629 629 #if MULTIPLE_PTL_SUPPORT 630 TComPTL m_pcPTLList[ NUM_POSSIBLE_LEVEL];630 TComPTL m_pcPTLList[MAX_NUM_LAYER_IDS + 1]; 631 631 #endif 632 632 #if DERIVE_LAYER_ID_LIST_VARIABLES -
branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h
r946 r959 247 247 #endif 248 248 #define MULTIPLE_PTL_SUPPORT 1 ///< Profile, tier and level signalling 249 #define NUM_POSSIBLE_LEVEL 13250 249 251 250 #define VPS_DPB_SIZE_TABLE 1 ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters … … 930 929 MAINREXT = 4, 931 930 HIGHTHROUGHPUTREXT = 5, 931 #if MULTIPLE_PTL_SUPPORT 932 MULTIVIEWMAIN = 6, 933 SCALABLEMAIN = 7, 934 SCALABLEMAIN10 = 7, 935 #endif 932 936 }; 933 937 } -
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
r945 r959 3163 3163 if( vps->getNecessaryLayerFlag(i, j) ) 3164 3164 { 3165 READ_CODE( numBitsForPtlIdx, uiCode, "profile_level_tier_idx[i]" ); 3165 READ_CODE( numBitsForPtlIdx, uiCode, "profile_level_tier_idx[i]" ); 3166 3166 vps->setProfileLevelTierIdx(i, j, uiCode ); 3167 3168 #if MULTIPLE_PTL_SUPPORT 3169 //For conformance checking 3170 //Conformance of a layer in an output operation point associated with an OLS in a bitstream to the Scalable Main profile is indicated as follows: 3171 //If OpTid of the output operation point is equal to vps_max_sub_layer_minus1, the conformance is indicated by general_profile_idc being equal to 7 or general_profile_compatibility_flag[ 7 ] being equal to 1 3172 //Conformance of a layer in an output operation point associated with an OLS in a bitstream to the Scalable Main 10 profile is indicated as follows: 3173 //If OpTid of the output operation point is equal to vps_max_sub_layer_minus1, the conformance is indicated by general_profile_idc being equal to 7 or general_profile_compatibility_flag[ 7 ] being equal to 1 3174 //The following assert may be updated / upgraded to take care of general_profile_compatibility_flag. 3175 if (j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0) 3176 { 3177 assert(vps->getPTL(vps->getProfileLevelTierIdx(i, j))->getGeneralPTL()->getProfileIdc() == vps->getPTL(vps->getProfileLevelTierIdx(i, j - 1))->getGeneralPTL()->getProfileIdc() || 3178 vps->getPTL(vps->getProfileLevelTierIdx(i, j - 1))->getGeneralPTL()->getProfileCompatibilityFlag(vps->getPTL(vps->getProfileLevelTierIdx(i, j))->getGeneralPTL()->getProfileIdc()) || 3179 vps->getPTL(vps->getProfileLevelTierIdx(i, j))->getGeneralPTL()->getProfileCompatibilityFlag(vps->getPTL(vps->getProfileLevelTierIdx(i, j - 1))->getGeneralPTL()->getProfileIdc()) ); 3180 } 3181 #endif 3167 3182 } 3168 3183 }
Note: See TracChangeset for help on using the changeset viewer.