Changeset 1525 in SHVCSoftware


Ignore:
Timestamp:
9 Feb 2016, 03:08:50 (9 years ago)
Author:
seregin
Message:

copy list modification information from the precious slice at encoder

File:
1 edited

Legend:

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

    r1524 r1525  
    411411
    412412#if SVC_EXTENSION
    413   if( m_layerId == 0 || ( m_layerId > 0 && ( m_activeNumILRRefIdx == 0 || !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ) ) )
     413  if( m_layerId == 0 || ( m_layerId > 0 && ( m_activeNumILRRefIdx == 0 || !(m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP && m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) ) ) )
    414414  {
    415415#endif
     
    10001000  m_pcVPS                      = pSrc->m_pcVPS;
    10011001  m_layerId                    = pSrc->m_layerId;
     1002
     1003  // SHM: copy inter-layer prediction settings and list modification information from the previous slice. Actually, it can vary on a slice basis, but it is not supported by the current encoder.
    10021004  m_activeNumILRRefIdx         = pSrc->m_activeNumILRRefIdx;
    10031005  m_interLayerPredEnabledFlag  = pSrc->m_interLayerPredEnabledFlag;
    10041006  memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) );
     1007  m_RefPicListModification     = pSrc->m_RefPicListModification;
    10051008#endif
    10061009  m_pRPS                = pSrc->m_pRPS;
Note: See TracChangeset for help on using the changeset viewer.