Changeset 767 in SHVCSoftware


Ignore:
Timestamp:
1 May 2014, 01:52:49 (11 years ago)
Author:
seregin
Message:

fix list modification condition to keep CTC RPL order

File:
1 edited

Legend:

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

    r763 r767  
    780780  //set L0 inter-layer reference picture modification
    781781#if RPL_INIT_N0316_N0082
    782   Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] >= (numberOfPocBeforeCurr + m_activeNumILRRefIdx)) ? false : true;
     782  Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] == (numberOfPocBeforeCurr + m_activeNumILRRefIdx)) ? false : true;
     783
     784  if( m_activeNumILRRefIdx > 1 )
     785  {
     786    hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] >= (numberOfPocBeforeCurr + m_activeNumILRRefIdx)) ? false : true;
     787  }
    783788#else
    784789  Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] == numberOfRpsCurrTempList) ? false : true;
Note: See TracChangeset for help on using the changeset viewer.