Changeset 1414 in SHVCSoftware


Ignore:
Timestamp:
4 Aug 2015, 04:57:30 (9 years ago)
Author:
seregin
Message:

port rev 4574

File:
1 edited

Legend:

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

    r1367 r1414  
    389389#endif
    390390{
    391   if (!checkNumPocTotalCurr)
    392   {
    393     if (m_eSliceType == I_SLICE)
    394     {
    395       ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList));
    396       ::memset( m_aiNumRefIdx,   0, sizeof ( m_aiNumRefIdx ));
    397 
     391  if ( m_eSliceType == I_SLICE)
     392  {
     393    ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList));
     394    ::memset( m_aiNumRefIdx,   0, sizeof ( m_aiNumRefIdx ));
     395
     396    if (!checkNumPocTotalCurr)
     397    {
    398398      return;
    399399    }
    400 
    401     m_aiNumRefIdx[REF_PIC_LIST_0] = getNumRefIdx(REF_PIC_LIST_0);
    402     m_aiNumRefIdx[REF_PIC_LIST_1] = getNumRefIdx(REF_PIC_LIST_1);
    403400  }
    404401
     
    572569    if (m_eSliceType == I_SLICE)
    573570    {
    574       ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList));
    575       ::memset( m_aiNumRefIdx,   0, sizeof ( m_aiNumRefIdx ));
    576 
    577571      return;
    578572    }
     
    581575    // general tier and level limit:
    582576    assert(numPicTotalCurr <= 8);
    583 
    584     m_aiNumRefIdx[0] = getNumRefIdx(REF_PIC_LIST_0);
    585     m_aiNumRefIdx[1] = getNumRefIdx(REF_PIC_LIST_1);
    586577  }
    587578
Note: See TracChangeset for help on using the changeset viewer.