Changeset 1111 in SHVCSoftware


Ignore:
Timestamp:
6 Jul 2015, 21:17:40 (9 years ago)
Author:
seregin
Message:

macro cleanup: FIX_NON_OUTPUT_LAYER

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

Legend:

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

    r1110 r1111  
    4646#define MAX_LAYERS                       8      ///< max number of layers the codec is supposed to handle
    4747#define CONFORMANCE_BITSTREAM_MODE       1      ///< In order to generate the metadata related to conformance bitstreams
    48 #define FIX_NON_OUTPUT_LAYER             1
    4948#define INFERENCE_POC_MSB_VAL_PRESENT    1      ///< JCTVC-Q0146 -- poc_msb_val_present_flag shall be equal to 0 when slice_header_extension_length is (inferred to be ) equal to 0
    5049#define NON_REF_NAL_TYPE_DISCARDABLE     1      ///< JCTVC-P0041 -- If discardable picture is a non-IRAP, it must be a non-referenced sub-layer picture
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1107 r1111  
    8989  m_bFirstSliceInSequence   = true;
    9090#endif
    91 #if SVC_EXTENSION
    92   m_layerId = 0;
    93   m_smallestLayerId = 0;
    94 #if AVC_BASE
    95   m_pBLReconFile = NULL;
    96 #endif
    97   memset(m_cIlpPic, 0, sizeof(m_cIlpPic));
    98 #endif
    9991  m_prevSliceSkipped = false;
    10092  m_skippedPOC = 0;
     
    10395  m_craNoRaslOutputFlag = false;
    10496  m_isNoOutputPriorPics = false;
     97
     98#if SVC_EXTENSION
     99  m_layerId = 0;
     100  m_smallestLayerId = 0;
     101#if AVC_BASE
     102  m_pBLReconFile = NULL;
     103#endif
     104  memset(m_cIlpPic, 0, sizeof(m_cIlpPic));
    105105#if Q0177_EOS_CHECKS
    106106  m_isLastNALWasEos = false;
     
    133133  m_confModeFlag = false;
    134134#endif
    135 #if FIX_NON_OUTPUT_LAYER
    136135  m_isOutputLayerFlag = false;
    137 #endif
     136#endif //SVC_EXTENSION
    138137}
    139138
     
    379378  m_cGopDecoder.filterPicture(pcPic);
    380379
    381 #if FIX_NON_OUTPUT_LAYER
     380#if SVC_EXTENSION
    382381  if( this->getLayerDec(pcPic->getLayerId())->m_isOutputLayerFlag == false )
    383382  {
     
    27112710  params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) );
    27122711
    2713 #if FIX_NON_OUTPUT_LAYER
    27142712  // Check if the current layer is an output layer
    27152713  for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++)
     
    27202718    }
    27212719  }
    2722 #endif
    27232720}
    27242721#endif
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1107 r1111  
    152152#endif
    153153  TComPic*                m_cIlpPic[MAX_NUM_REF];                    ///<  Inter layer Prediction picture =  upsampled picture
    154 #endif
    155154#if OUTPUT_LAYER_SET_INDEX
    156155  CommonDecoderParams*    m_commonDecoderParams;
     
    170169  std::vector<TComPic>   m_confListPic;         //  Dynamic buffer for storing pictures for conformance purposes
    171170#endif
    172 #if FIX_NON_OUTPUT_LAYER
    173171  Bool m_isOutputLayerFlag;
    174 #endif
     172#endif //SVC_EXTENSION
     173
    175174public:
     175#if SVC_EXTENSION
    176176#if POC_RESET_RESTRICTIONS
    177177  static Bool                    m_checkPocRestrictionsForCurrAu;
     
    189189  static Int                     m_crossLayerPocResetIdc;
    190190#endif
     191#endif //SVC_EXTENSION
    191192
    192193  TDecTop();
Note: See TracChangeset for help on using the changeset viewer.