Ignore:
Timestamp:
5 Jun 2013, 03:48:35 (12 years ago)
Author:
seregin
Message:

reference layers setting and related

Location:
branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComPic.cpp

    r254 r259  
    568568
    569569#if REF_IDX_MFM
    570 Void TComPic::copyUpsampledMvField(TComPic* pcPicBase)
    571 {
    572   UInt refLayerIdc = pcPicBase->getLayerId();
     570Void TComPic::copyUpsampledMvField(UInt refLayerIdc, TComPic* pcPicBase)
     571{
    573572#if AVC_SYNTAX && !ILP_DECODED_PICTURE
    574573  const Window &confBL = pcPicBase->getConformanceWindow();
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComPic.h

    r253 r259  
    124124
    125125#if REF_IDX_MFM
    126   Void          copyUpsampledMvField  ( TComPic* pcPicBase );
     126  Void          copyUpsampledMvField  ( UInt refLayerIdc, TComPic* pcPicBase );
    127127  Void          initUpsampledMvField  ();
    128128#endif
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComSlice.cpp

    r256 r259  
    544544      if(!(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) && m_pcSPS->getMFMEnabledFlag())
    545545      {
    546         ilpPic[refLayerIdc]->copyUpsampledMvField( m_pcBaseColPic[refLayerIdc] );
     546        ilpPic[refLayerIdc]->copyUpsampledMvField( refLayerIdc, m_pcBaseColPic[refLayerIdc] );
    547547      }
    548548      else
     
    10941094  m_activeNumILRRefIdx         = pSrc->m_activeNumILRRefIdx;
    10951095  m_interLayerPredEnabledFlag  = pSrc->m_interLayerPredEnabledFlag;
    1096   m_numInterLayerRefPics       = pSrc->m_numInterLayerRefPics;
    10971096  memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) );
    10981097#elif REF_IDX_FRAMEWORK
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibCommon/TComSlice.h

    r253 r259  
    15321532#if JCTVC_M0458_INTERLAYER_RPS_SIG
    15331533  Bool       m_interLayerPredEnabledFlag;
    1534   Int        m_numInterLayerRefPics;
    15351534#endif
    15361535public:
     
    18031802  Void      setActiveNumILRRefIdx     ( Int i )         { m_activeNumILRRefIdx = i;     } 
    18041803
    1805   Int       getInterLayerPredLayerIdc (UInt Idx )               { return  m_interLayerPredLayerIdc[Idx];}
    1806   Void      setInterLayerPredLayerIdc (UInt val, UInt Idx)      { m_interLayerPredLayerIdc[Idx] = val;  }
     1804  Int       getInterLayerPredLayerIdc (UInt layerIdx)                        { return  m_interLayerPredLayerIdc[layerIdx];}
     1805  Void      setInterLayerPredLayerIdc (UInt refLayerIdc, UInt layerIdx)      { m_interLayerPredLayerIdc[layerIdx] = refLayerIdc;  }
    18071806
    18081807  Void      setInterLayerPredEnabledFlag     ( Bool   val )    { m_interLayerPredEnabledFlag = val; }
    1809   Bool      getInterLayerPredEnabledFlag     ()                { return m_interLayerPredEnabledFlag;}
    1810 
    1811   Void      setNumInterLayerRefPics          ( UInt   val )    { m_numInterLayerRefPics = val; }
    1812   UInt      getNumInterLayerRefPics          ()                { return m_numInterLayerRefPics;} 
     1808  Bool      getInterLayerPredEnabledFlag     ()                { return m_interLayerPredEnabledFlag;}
    18131809#else
    18141810  Void      setNumILRRefIdx     ( Int i )               { m_numILRRefIdx = i;     }
Note: See TracChangeset for help on using the changeset viewer.