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


Ignore:
Timestamp:
30 Aug 2013, 03:29:41 (12 years ago)
Author:
seregin
Message:

remove REF_IDX_FRAMEWORK macro

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

Legend:

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

    r376 r377  
    14141414    }
    14151415
    1416 #if REF_IDX_FRAMEWORK
     1416#if SVC_EXTENSION
    14171417#if JCTVC_M0458_INTERLAYER_RPS_SIG
    14181418    rpcSlice->setActiveNumILRRefIdx(0);
     
    16371637    if ( rpcSlice->getEnableTMVPFlag() )
    16381638    {
    1639 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1639#if M0457_COL_PICTURE_SIGNALING
    16401640#if REMOVE_COL_PICTURE_SIGNALING
    16411641      rpcSlice->setMFMEnabledFlag( rpcSlice->getNumMotionPredRefLayers() > 0 ? true : false );
     
    16801680        rpcSlice->setColRefIdx(0);
    16811681      }
    1682 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
     1682#if M0457_COL_PICTURE_SIGNALING && !REMOVE_COL_PICTURE_SIGNALING
    16831683      }
    16841684#endif
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecGop.cpp

    r356 r377  
    247247    for (Int iRefIndex = 0; iRefIndex < pcSlice->getNumRefIdx(RefPicList(iRefList)); iRefIndex++)
    248248    {
    249 #if REF_IDX_FRAMEWORK
     249#if SVC_EXTENSION
    250250#if VPS_EXTN_DIRECT_REF_LAYERS
    251251      if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( m_layerId ) )
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r374 r377  
    7272  m_pBLReconFile = NULL;
    7373#endif
    74 #endif
    75 #if REF_IDX_FRAMEWORK
    7674  memset(m_cIlpPic, 0, sizeof(m_cIlpPic));
    7775#endif
     
    108106 
    109107  m_cSliceDecoder.destroy();
    110 #if REF_IDX_FRAMEWORK
     108#if SVC_EXTENSION
    111109  for(Int i=0; i<MAX_NUM_REF; i++)
    112110  {
     
    137135}
    138136
    139 #if REF_IDX_FRAMEWORK
     137#if SVC_EXTENSION
    140138Void TDecTop::xInitILRP(TComSPS *pcSPS)
    141139{
     
    607605  m_apcSlicePilot->setTLayerInfo(nalu.m_temporalId);
    608606
     607#if SVC_EXTENSION
    609608#if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS
    610609  setRefLayerParams(m_apcSlicePilot->getVPS());
    611610#endif
    612 #if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     611#if M0457_COL_PICTURE_SIGNALING
    613612  m_apcSlicePilot->setNumMotionPredRefLayers(m_numMotionPredRefLayers);
    614613#endif
    615 
    616 #if SVC_EXTENSION
    617614#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    618615  m_apcSlicePilot->setNumSamplePredRefLayers( getNumSamplePredRefLayers() );
     
    878875    pcSlice->checkCRA(pcSlice->getRPS(), m_pocCRA, m_prevRAPisBLA, m_cListPic );
    879876    // Set reference list
    880 #if REF_IDX_FRAMEWORK
     877#if SVC_EXTENSION
    881878    if (m_layerId == 0)
    882879#endif
     
    972969    }
    973970
    974 #if REF_IDX_FRAMEWORK
    975971    if( m_layerId > 0 && pcSlice->getActiveNumILRRefIdx() )
    976972    {
     
    988984#endif
    989985      }
    990 #endif
    991986      pcSlice->setRefPicList( m_cListPic, false, m_cIlpPic);
    992987    }
     
    11031098  m_parameterSetManagerDecoder.storePrefetchedSPS(sps);
    11041099#endif
    1105 #if REF_IDX_FRAMEWORK
     1100#if SVC_EXTENSION
    11061101  if(m_numLayer>0)
    11071102  {
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecTop.h

    r374 r377  
    130130  Bool                    m_motionPredEnabledFlag[MAX_VPS_LAYER_ID_PLUS1];
    131131#endif
     132  TComPic*                m_cIlpPic[MAX_NUM_REF];                    ///<  Inter layer Prediction picture =  upsampled picture
    132133#endif
    133134#if AVC_SYNTAX || SYNTAX_OUTPUT
    134135  fstream*               m_pBLSyntaxFile;
    135 #endif
    136 #if REF_IDX_FRAMEWORK
    137   TComPic*                m_cIlpPic[MAX_NUM_REF];                    ///<  Inter layer Prediction picture =  upsampled picture
    138136#endif
    139137
     
    209207  Int       getBLHeight() { return  m_iBLSourceHeight; }
    210208#endif
     209  Void      xInitILRP(TComSPS *pcSPS);
     210  Void      setILRPic(TComPic *pcPic);
    211211#endif
    212212#if AVC_SYNTAX || SYNTAX_OUTPUT
    213213  Void      setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; }
    214214  fstream* getBLSyntaxFile() { return m_pBLSyntaxFile; }
    215 #endif
    216 #if REF_IDX_FRAMEWORK
    217   Void      xInitILRP(TComSPS *pcSPS);
    218   Void      setILRPic(TComPic *pcPic);
    219215#endif
    220216
Note: See TracChangeset for help on using the changeset viewer.