Ignore:
Timestamp:
4 Apr 2013, 04:36:38 (12 years ago)
Author:
qualcomm
Message:

Include signaling of profile, tier, level information for layer sets (MACRO: VPS_EXTN_PROFILE_INFO)

Include profile, tier, level signaling for all layers sets. Does not include config file support for specifying the information.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r111 r112  
    841841  UInt uiCode;
    842842  // ... More syntax elements to be parsed here
     843#if VPS_EXTN_PROFILE_INFO
     844  // Profile-tier-level signalling
     845  vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets());
     846  for(Int idx = 1; idx <= vps->getNumLayerSets() - 1; idx++)
     847  {
     848    READ_FLAG( uiCode, "vps_profile_present_flag[i]" ); vps->setProfilePresentFlag(idx, uiCode ? true : false);
     849    if( !vps->getProfilePresentFlag(idx) )
     850    {
     851      READ_UVLC( uiCode, "vps_profile_layer_set_ref_minus1[i]" ); vps->setProfileLayerSetRef(idx, uiCode + 1);
     852      assert( vps->getProfileLayerSetRef(idx) < idx );
     853      // Copy profile information as indicated
     854      vps->getPTLForExtn(idx)->copyProfileInfo( vps->getPTLForExtn( vps->getProfileLayerSetRef(idx) ) );
     855    }   
     856    parsePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
     857  }
     858#endif
     859
    843860#if VPS_EXTN_OP_LAYER_SETS
    844861  // Target output layer signalling
Note: See TracChangeset for help on using the changeset viewer.