Changeset 1223 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
9 Jul 2015, 00:08:52 (10 years ago)
Author:
seregin
Message:

macro cleanup: SCALINGLIST_INFERRING

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1217 r1223  
    397397            pcPPS->setPocResetInfoPresentFlag(uiCode ? true : false);
    398398
    399 #if SCALINGLIST_INFERRING
    400399            READ_FLAG( uiCode, "pps_infer_scaling_list_flag" );
    401400            pcPPS->setInferScalingListFlag( uiCode );
     
    409408              pcPPS->setScalingListPresentFlag( false );
    410409            }
    411 #endif
    412410
    413411            READ_UVLC( uiCode,      "num_ref_loc_offsets" ); pcPPS->setNumRefLayerLocationOffsets(uiCode);
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1220 r1223  
    460460
    461461#if SVC_EXTENSION
    462 #if SCALINGLIST_INFERRING
    463462  // scaling list settings and checks
    464463  TComVPS *activeVPS = m_parameterSetManagerDecoder.getActiveVPS();
     
    524523
    525524  }
    526 #endif
    527525
    528526#if AVC_BASE
     
    17961794    pcSlice->setScalingList ( pcSlice->getSPS()->getScalingList()  );
    17971795
    1798 #if SCALINGLIST_INFERRING
     1796#if SVC_EXTENSION
    17991797    if( pcSlice->getPPS()->getScalingListPresentFlag() || pcSlice->getPPS()->getInferScalingListFlag() )
    18001798#else
     
    18041802      pcSlice->setScalingList ( pcSlice->getPPS()->getScalingList()  );
    18051803    }
    1806 #if SCALINGLIST_INFERRING
     1804
     1805#if SVC_EXTENSION
    18071806    if( m_layerId == 0 || ( m_layerId > 0 && !pcSlice->getPPS()->getInferScalingListFlag() && !pcSlice->getSPS()->getInferScalingListFlag() ) )
    18081807#endif
     
    18661865  TComPPS* pps = new TComPPS();
    18671866
    1868 #if SCALINGLIST_INFERRING
     1867#if SVC_EXTENSION
    18691868  pps->setLayerId( m_layerId );
    18701869#endif
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1220 r1223  
    250250  Void                    setCommonDecoderParams(CommonDecoderParams* x)    { m_commonDecoderParams = x;    }
    251251  Void      checkValueOfTargetOutputLayerSetIdx(TComVPS *vps);
    252 #if SCALINGLIST_INFERRING
     252
    253253  ParameterSetManagerDecoder* getParameterSetManager()                      { return &m_parameterSetManagerDecoder; }
    254 #endif
     254
    255255#if CONFORMANCE_BITSTREAM_MODE
    256256  std::vector<TComPic>* getConfListPic() {return &m_confListPic; }
Note: See TracChangeset for help on using the changeset viewer.