Changeset 621 in SHVCSoftware for branches/SHM-5.1-dev/source


Ignore:
Timestamp:
21 Feb 2014, 20:20:06 (11 years ago)
Author:
seregin
Message:

layerId fix, ticket #17

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

Legend:

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

    r620 r621  
    848848
    849849#if SVC_EXTENSION
    850   if( m_eSliceType == I_SLICE || ( m_pcSPS->getLayerId() &&
     850  if( m_eSliceType == I_SLICE || ( m_layerId &&
    851851    (m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP) &&
    852852    (m_eNalUnitType <= NAL_UNIT_CODED_SLICE_CRA) ) )
     
    872872  {
    873873    numRpsCurrTempList += m_activeNumILRRefIdx;
    874 }
     874  }
    875875#endif
    876876
  • branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r619 r621  
    23372337#if ILP_SSH_SIG
    23382338#if ILP_SSH_SIG_FIX
    2339     if((sps->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) )
    2340 #else
    2341     if((sps->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) )
    2342 #endif
    2343 #else
    2344     if((sps->getLayerId() > 0)  &&  (rpcSlice->getNumILRRefIdx() > 0) )
     2339    if((rpcSlice->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) )
     2340#else
     2341    if((rpcSlice->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) )
     2342#endif
     2343#else
     2344    if((rpcSlice->getLayerId() > 0)  &&  (rpcSlice->getNumILRRefIdx() > 0) )
    23452345#endif
    23462346    {
  • branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r618 r621  
    17681768#if ILP_SSH_SIG
    17691769#if ILP_SSH_SIG_FIX
    1770     if((pcSlice->getSPS()->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )
    1771 #else
    1772     if((pcSlice->getSPS()->getLayerId() > 0) && pcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (pcSlice->getNumILRRefIdx() > 0) )
    1773 #endif
    1774 #else
    1775     if((pcSlice->getSPS()->getLayerId() > 0)  &&  (pcSlice->getNumILRRefIdx() > 0) )
     1770    if((pcSlice->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )
     1771#else
     1772    if((pcSlice->getLayerId() > 0) && pcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (pcSlice->getNumILRRefIdx() > 0) )
     1773#endif
     1774#else
     1775    if((pcSlice->getLayerId() > 0)  &&  (pcSlice->getNumILRRefIdx() > 0) )
    17761776#endif
    17771777    {
Note: See TracChangeset for help on using the changeset viewer.