Changeset 1148 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
8 Jul 2015, 00:10:36 (10 years ago)
Author:
seregin
Message:

macro cleanup: VPS_EXTN_DIRECT_REF_LAYERS

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1147 r1148  
    20232023  ::memset(m_outputLayerFlag, 0, sizeof(m_outputLayerFlag));
    20242024#endif
    2025 #if VPS_EXTN_DIRECT_REF_LAYERS
     2025
    20262026  ::memset(m_directDependencyFlag, 0, sizeof(m_directDependencyFlag));
    20272027  ::memset(m_numDirectRefLayers,   0, sizeof(m_numDirectRefLayers  ));
     
    20292029  m_directDepTypeLen = 2;
    20302030  ::memset(m_directDependencyType, 0, sizeof(m_directDependencyType));
    2031 #endif
     2031
    20322032#if !NECESSARY_LAYER_FLAG
    20332033#if DERIVE_LAYER_ID_LIST_VARIABLES
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1147 r1148  
    660660#endif
    661661#endif
    662 #if VPS_EXTN_DIRECT_REF_LAYERS
     662
    663663  Bool       m_directDependencyFlag[MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1];
    664664  UInt       m_numDirectRefLayers[MAX_VPS_LAYER_IDX_PLUS1];
     
    668668  UInt       m_defaultDirectDependencyType;
    669669  UInt       m_directDependencyType[MAX_VPS_LAYER_IDX_PLUS1][MAX_VPS_LAYER_IDX_PLUS1];
    670 #endif
     670
    671671  UInt       m_numProfileTierLevel;
    672672#if !VPS_EXTN_UEV_CODING
     
    10221022  Void   setOutputLayerFlag(Int layerSet, Int layerIdx, Bool x)  { m_outputLayerFlag[layerSet][layerIdx] = x;    }
    10231023#endif
    1024 #if VPS_EXTN_DIRECT_REF_LAYERS
     1024
    10251025  // Direct dependency of layers
    10261026  Bool   getDirectDependencyFlag(Int currLayerIdx, Int refLayerIdx)             { return m_directDependencyFlag[currLayerIdx][refLayerIdx]; }
     
    10431043  Bool   isSamplePredictionType(Int currLayerIdx, Int refLayerIdx)              { assert(currLayerIdx != refLayerIdx); return ( ( m_directDependencyType[currLayerIdx][refLayerIdx] + 1 ) & 1 ) ? true : false; }
    10441044  Bool   isMotionPredictionType(Int currLayerIdx, Int refLayerIdx)              { assert(currLayerIdx != refLayerIdx); return ( ( ( m_directDependencyType[currLayerIdx][refLayerIdx] + 1 ) & 2 ) >> 1 ) ? true : false; }
    1045 #endif
     1045
    10461046  UInt   getNumProfileTierLevel()                                { return m_numProfileTierLevel; }
    10471047  Void   setNumProfileTierLevel(Int x)                           { m_numProfileTierLevel = x;    }
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1147 r1148  
    130130#define VPS_EXTN_OP_LAYER_SETS           1      ///< Include output layer sets in VPS extension
    131131#define VPS_EXTN_PROFILE_INFO            1      ///< Include profile information for layer sets in VPS extension
    132 #define VPS_EXTN_DIRECT_REF_LAYERS       1      ///< Include indication of direct dependency of layers in VPS extension
    133132
    134133#define VPS_VUI_TILES_NOT_IN_USE__FLAG   1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
Note: See TracChangeset for help on using the changeset viewer.