Changeset 959 in SHVCSoftware for branches/SHM-upgrade/source/Lib


Ignore:
Timestamp:
6 Jan 2015, 03:12:18 (10 years ago)
Author:
seregin
Message:

update on PTL

Location:
branches/SHM-upgrade/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibCommon/TComSlice.h

    r945 r959  
    628628#if SVC_EXTENSION
    629629#if MULTIPLE_PTL_SUPPORT
    630   TComPTL     m_pcPTLList[NUM_POSSIBLE_LEVEL];
     630  TComPTL     m_pcPTLList[MAX_NUM_LAYER_IDS + 1];
    631631#endif
    632632#if DERIVE_LAYER_ID_LIST_VARIABLES
  • branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h

    r946 r959  
    247247#endif
    248248#define MULTIPLE_PTL_SUPPORT             1      ///< Profile, tier and level signalling
    249 #define NUM_POSSIBLE_LEVEL               13
    250249
    251250#define VPS_DPB_SIZE_TABLE               1      ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters
     
    930929    MAINREXT = 4,
    931930    HIGHTHROUGHPUTREXT = 5,
     931#if MULTIPLE_PTL_SUPPORT
     932    MULTIVIEWMAIN = 6,
     933    SCALABLEMAIN = 7,
     934    SCALABLEMAIN10 = 7,
     935#endif
    932936  };
    933937}
  • branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r945 r959  
    31633163      if( vps->getNecessaryLayerFlag(i, j) )
    31643164      {
    3165         READ_CODE( numBitsForPtlIdx, uiCode, "profile_level_tier_idx[i]" ); 
     3165        READ_CODE( numBitsForPtlIdx, uiCode, "profile_level_tier_idx[i]" );
    31663166        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
    31673182      }
    31683183    }
Note: See TracChangeset for help on using the changeset viewer.