Changeset 941 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
30 Dec 2014, 18:47:09 (11 years ago)
Author:
seregin
Message:

support profile, tier and level for each layer, patch was provided by Hendry <fhendry@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r937 r941  
    10881088  if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() )
    10891089  {
     1090#if !MULTIPLE_PTL_SUPPORT
    10901091    codePTL( vps->getPTLForExtn(1), false, vps->getMaxTLayers() - 1 );
     1092#else
     1093    codePTL( vps->getPTL(1), false, vps->getMaxTLayers() - 1 );
     1094#endif
    10911095  }
    10921096#endif
     
    12541258#endif
    12551259#if LIST_OF_PTL
     1260#if !MULTIPLE_PTL_SUPPORT
    12561261  assert( vps->getNumProfileTierLevel() == vps->getPTLForExtnPtr()->size());
     1262#else
     1263  //Do something here to make sure the loop is correct to consider base layer internal stuff
     1264#endif
    12571265  for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)
    12581266#else
     
    12601268#endif
    12611269  {
     1270#if MULTIPLE_PTL_SUPPORT
     1271    vps->setProfilePresentFlag(idx, true);
     1272#endif
    12621273    WRITE_FLAG( vps->getProfilePresentFlag(idx),       "vps_profile_present_flag[i]" );
    12631274#if !P0048_REMOVE_PROFILE_REF
     
    12671278    }
    12681279#endif
     1280#if !MULTIPLE_PTL_SUPPORT
    12691281    codePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
     1282#else
     1283    codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
     1284#endif
    12701285  }
    12711286#endif
Note: See TracChangeset for help on using the changeset viewer.