Changeset 429 in SHVCSoftware


Ignore:
Timestamp:
10 Oct 2013, 20:57:10 (11 years ago)
Author:
qualcomm
Message:

Modification to asserts in setRefPicListModificationSvc when cross_layer_irap_aligned in enabled.

Location:
branches/SHM-3.1-dev/source/Lib
Files:
2 edited

Legend:

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

    r415 r429  
    764764#endif
    765765
     766#if N0147_IRAP_ALIGN_FLAG
     767  assert(m_aiNumRefIdx[REF_PIC_LIST_0] > 0);
     768  assert(m_aiNumRefIdx[REF_PIC_LIST_1] > 0);
     769#else
    766770  assert(m_aiNumRefIdx[REF_PIC_LIST_0] > 1);
    767771  assert(m_aiNumRefIdx[REF_PIC_LIST_1] > 1);
     772#endif
     773
    768774
    769775  //set L0 inter-layer reference picture modification
    770776#if RPL_INIT_N0316_N0082
    771777  Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] == (numberOfPocBeforeCurr + m_activeNumILRRefIdx)) ? false : true;
     778#if N0147_IRAP_ALIGN_FLAG
     779  hasModification = hasModification && ( m_aiNumRefIdx[REF_PIC_LIST_0] > 1 );
     780#endif
    772781#else
    773782  Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] == numberOfRpsCurrTempList) ? false : true;
     783#if N0147_IRAP_ALIGN_FLAG
     784  hasModification = hasModification && ( m_aiNumRefIdx[REF_PIC_LIST_0] > 1 );
     785#endif
     786
    774787#endif
    775788#if FINAL_RPL_CHANGE_N0082
     
    821834  //set L1 inter-layer reference picture modification
    822835  hasModification = (m_aiNumRefIdx[REF_PIC_LIST_1] == numberOfRpsCurrTempList) ? false : true;
     836#if N0147_IRAP_ALIGN_FLAG
     837  hasModification = hasModification && ( m_aiNumRefIdx[REF_PIC_LIST_1] > 1 );
     838#endif
     839
    823840  refPicListModification->setRefPicListModificationFlagL1(hasModification);
    824841  if(hasModification)
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r428 r429  
    10311031    pcSlice->setRefPicList ( rcListPic );
    10321032#endif //SVC_EXTENSION
    1033 #if N0147_IRAP_ALIGN_FLAG
    1034     if(pcSlice->getNumRefIdx(REF_PIC_LIST_0) > 1 || pcSlice->getNumRefIdx(REF_PIC_LIST_1) > 1)
    1035 #endif
    1036     {
    10371033      pcSlice->setRefPicListModificationSvc();
    1038     }
    10391034      pcSlice->setRefPicList( rcListPic, false, m_pcEncTop->getIlpList());
    10401035
Note: See TracChangeset for help on using the changeset viewer.