Changeset 1169 in SHVCSoftware for branches/SHM-dev/source/Lib


Ignore:
Timestamp:
8 Jul 2015, 01:20:27 (10 years ago)
Author:
seregin
Message:

macro cleanup: LIST_OF_PTL

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1168 r1169  
    5353#define POC_RESET_VALUE_RESTRICTION      1      ///< R0223: Restriction on the value of full_poc_reset_flag
    5454#define PTL_SIGNALLING                   1      ///< Overall macro for all PTL-related signalling
    55 #if PTL_SIGNALLING
    56 #define LIST_OF_PTL                      1      ///< JCTVC-R0272: Signalling the PTL for the 0-th OLS
    57 #endif
     55
    5856#define BSP_INIT_ARRIVAL_SEI             1      ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag
    5957#define VPS_VUI_BSP_HRD_PARAMS           1      ///< JCTVC-R0231: Define the VPS VUI BSP hrd_params() as a separate function, and apply changes adopted.
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1168 r1169  
    26722672  Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1];
    26732673  Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1];
    2674 #if LIST_OF_PTL
     2674
    26752675  if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() )
    26762676  {
     
    26852685#endif
    26862686  }
    2687 #endif
    26882687
    26892688  UInt numScalabilityTypes = 0, i = 0, j = 0;
     
    28762875  vps->getPTLForExtnPtr()->resize(vps->getNumProfileTierLevel());
    28772876#endif
    2878 #if LIST_OF_PTL
     2877
    28792878  for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx < vps->getNumProfileTierLevel(); idx++)
    2880 #else
    2881   for(Int idx = 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)
    2882 #endif
    28832879  {
    28842880    READ_FLAG( uiCode, "vps_profile_present_flag[i]" ); vps->setProfilePresentFlag(idx, uiCode ? true : false);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1168 r1169  
    19841984  Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1];
    19851985  Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1];
    1986 #if LIST_OF_PTL
     1986
    19871987  if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() )
    19881988  {
     
    19931993#endif
    19941994  }
    1995 #endif
    19961995
    19971996  UInt i = 0, j = 0;
     
    21242123  Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() );
    21252124
    2126 #if LIST_OF_PTL
    21272125#if MULTIPLE_PTL_SUPPORT
    21282126  //Do something here to make sure the loop is correct to consider base layer internal stuff
     
    21312129#endif
    21322130  for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx < vps->getNumProfileTierLevel(); idx++)
    2133 #else
    2134   for(Int idx = 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)
    2135 #endif
    21362131  {
    21372132#if MULTIPLE_PTL_SUPPORT
Note: See TracChangeset for help on using the changeset viewer.