Changeset 943 in SHVCSoftware


Ignore:
Timestamp:
30 Dec 2014, 22:51:40 (10 years ago)
Author:
seregin
Message:

remove profilePresentFlag condition, patch was provided by Hendry <fhendry@…>

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

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

    r942 r943  
    41004100  for (Int i = 0; i < maxNumSubLayersMinus1; i++)
    41014101  {
     4102#if MULTIPLE_PTL_SUPPORT
     4103    READ_FLAG( uiCode, "sub_layer_profile_present_flag[i]" ); rpcPTL->setSubLayerProfilePresentFlag(i, uiCode);
     4104#else
    41024105    if(profilePresentFlag)
    41034106    {
    41044107      READ_FLAG( uiCode, "sub_layer_profile_present_flag[i]" ); rpcPTL->setSubLayerProfilePresentFlag(i, uiCode);
    41054108    }
     4109#endif
    41064110    READ_FLAG( uiCode, "sub_layer_level_present_flag[i]"   ); rpcPTL->setSubLayerLevelPresentFlag  (i, uiCode);
    41074111  }
     
    41184122  for(Int i = 0; i < maxNumSubLayersMinus1; i++)
    41194123  {
     4124#if MULTIPLE_PTL_SUPPORT
     4125    if( rpcPTL->getSubLayerProfilePresentFlag(i) )
     4126#else
    41204127    if( profilePresentFlag && rpcPTL->getSubLayerProfilePresentFlag(i) )
     4128#endif
    41214129    {
    41224130      parseProfileTier(rpcPTL->getSubLayerPTL(i));
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r942 r943  
    25862586  for (Int i = 0; i < maxNumSubLayersMinus1; i++)
    25872587  {
     2588#if MULTIPLE_PTL_SUPPORT
     2589    WRITE_FLAG( pcPTL->getSubLayerProfilePresentFlag(i), "sub_layer_profile_present_flag[i]" );
     2590#else
    25882591    if(profilePresentFlag)
    25892592    {
    25902593      WRITE_FLAG( pcPTL->getSubLayerProfilePresentFlag(i), "sub_layer_profile_present_flag[i]" );
    25912594    }
     2595#endif
    25922596   
    25932597    WRITE_FLAG( pcPTL->getSubLayerLevelPresentFlag(i),   "sub_layer_level_present_flag[i]" );
     
    26042608  for(Int i = 0; i < maxNumSubLayersMinus1; i++)
    26052609  {
     2610#if MULTIPLE_PTL_SUPPORT
     2611    if( pcPTL->getSubLayerProfilePresentFlag(i) )
     2612#else
    26062613    if( profilePresentFlag && pcPTL->getSubLayerProfilePresentFlag(i) )
     2614#endif
    26072615    {
    26082616      codeProfileTier(pcPTL->getSubLayerPTL(i));  // sub_layer_...
Note: See TracChangeset for help on using the changeset viewer.