Changeset 959 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 6 Jan 2015, 03:12:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.