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


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.