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


Ignore:
Timestamp:
30 Dec 2014, 20:36:14 (11 years ago)
Author:
seregin
Message:

code clean up

File:
1 edited

Legend:

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

    r941 r942  
    10881088  if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() )
    10891089  {
    1090 #if !MULTIPLE_PTL_SUPPORT
     1090#if MULTIPLE_PTL_SUPPORT
     1091    codePTL( vps->getPTL(1), false, vps->getMaxTLayers() - 1 );
     1092#else
    10911093    codePTL( vps->getPTLForExtn(1), false, vps->getMaxTLayers() - 1 );
    1092 #else
    1093     codePTL( vps->getPTL(1), false, vps->getMaxTLayers() - 1 );
    10941094#endif
    10951095  }
     
    12581258#endif
    12591259#if LIST_OF_PTL
    1260 #if !MULTIPLE_PTL_SUPPORT
     1260#if MULTIPLE_PTL_SUPPORT
     1261  //Do something here to make sure the loop is correct to consider base layer internal stuff
     1262#else
    12611263  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
    12641264#endif
    12651265  for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)
     
    12781278    }
    12791279#endif
    1280 #if !MULTIPLE_PTL_SUPPORT
     1280#if MULTIPLE_PTL_SUPPORT
     1281    codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
     1282#else
    12811283    codePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
    1282 #else
    1283     codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );
    12841284#endif
    12851285  }
Note: See TracChangeset for help on using the changeset viewer.