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


Ignore:
Timestamp:
8 Jul 2015, 03:47:31 (10 years ago)
Author:
seregin
Message:

macro cleanup: O0109_VIEW_ID_LEN, VIEW_ID_RELATED_SIGNALING

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

Legend:

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

    r1180 r1190  
    19641964, m_vpsNumRepFormats          (1)
    19651965#endif
    1966 #if VIEW_ID_RELATED_SIGNALING
    1967 #if O0109_VIEW_ID_LEN
    19681966, m_viewIdLen                (0)
    1969 #else
    1970 , m_viewIdLenMinus1           (0)
    1971 #endif
    1972 #endif
    19731967, m_vpsNonVuiExtLength (0)
    19741968#if P0297_VPS_POC_LSB_ALIGNED_FLAG
     
    20562050  ::memset( m_vpsRepFormatIdx, 0, sizeof(m_vpsRepFormatIdx) );
    20572051#endif
    2058 #if VIEW_ID_RELATED_SIGNALING
    20592052  ::memset(m_viewIdVal, 0, sizeof(m_viewIdVal));
    2060 #endif
    20612053
    20622054  for( Int i = 0; i < MAX_NUM_LAYER_IDS; i++ )
     
    32783270}
    32793271
    3280 #if VIEW_ID_RELATED_SIGNALING
    32813272Int TComVPS::getNumViews()
    32823273{
     
    32933284  return numViews;
    32943285}
     3286
    32953287Int TComVPS::getScalabilityId( Int layerIdInVps, ScalabilityType scalType )
    32963288{
    32973289  return getScalabilityMask( scalType ) ? getDimensionId( layerIdInVps, scalTypeToScalIdx( scalType ) ) : 0;
    3298 
     3290}
     3291
    32993292Int TComVPS::scalTypeToScalIdx( ScalabilityType scalType )
    33003293{
     
    33103303  return scalIdx;
    33113304}
    3312 #endif
     3305
    33133306#if VPS_DPB_SIZE_TABLE
    33143307Int TComVPS::getLayerIdcForOls( Int olsIdx, Int layerId )
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1186 r1190  
    690690  Int        m_vpsRepFormatIdx[16];
    691691#endif
    692 #if VIEW_ID_RELATED_SIGNALING
    693 #if O0109_VIEW_ID_LEN
    694692  Int        m_viewIdLen;
    695 #else
    696   Int        m_viewIdLenMinus1;
    697 #endif
    698693  Int        m_viewIdVal                [MAX_LAYERS];
    699 #endif
    700694
    701695  Int        m_numberRefLayers[MAX_NUM_LAYER_IDS];  // number of direct and indirect reference layers of a coding layer
     
    10821076  Void   setVpsRepFormatIdx(Int idx, Int x) { m_vpsRepFormatIdx[idx] = x;       }         
    10831077#endif
    1084 #if VIEW_ID_RELATED_SIGNALING
    1085 #if O0109_VIEW_ID_LEN
     1078
    10861079  Void   setViewIdLen( Int  val )                                   { m_viewIdLen = val;  }
    10871080  Int    getViewIdLen(  )                                           { return m_viewIdLen; }
    1088 #else
    1089   Void   setViewIdLenMinus1( Int  val )                             { m_viewIdLenMinus1 = val;  }
    1090   Int    getViewIdLenMinus1(  )                                     { return m_viewIdLenMinus1; }
    1091 #endif
    10921081
    10931082  Void   setViewIdVal( Int viewOrderIndex, Int  val )               { m_viewIdVal[viewOrderIndex] = val;  }
     
    10991088  Int    getNumViews();
    11001089  Int    scalTypeToScalIdx( ScalabilityType scalType );
    1101 #endif
     1090
    11021091#if VPS_DPB_SIZE_TABLE
    11031092  Bool   getSubLayerFlagInfoPresentFlag(Int olsIdx)         { return m_subLayerFlagInfoPresentFlag[olsIdx]; }
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1189 r1190  
    6363#define ALIGNED_BUMPING                  1      ///< JCTVC-P0192: Align bumping of pictures in an AU
    6464#define FIX_ALIGN_BUMPING                1
    65 #define O0109_VIEW_ID_LEN                1      ///< JCTVC-O0109: view_id_len_minus1 to view_id_len, and add constraint (1<<view_id_len) is greater than or equal to NumViews
    6665
    6766#define O0164_MULTI_LAYER_HRD            1      ///< JCTVC-O0164: Multi-layer HRD operation
     
    106105#define MOTION_RESAMPLING_CONSTRAINT     1      ///< JCTVC-N0108: Allow maximum of one motion resampling process for direct reference layers, and use motion inter-layer prediction from the same layer as texture inter-layer prediction.
    107106
    108 #define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id and view_id_val
    109107#define AUXILIARY_PICTURES               1      ///< JCTVC-O0041: auxiliary picture layers
    110108#define R0062_AUX_PSEUDO_MONOCHROME      1      ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures
Note: See TracChangeset for help on using the changeset viewer.