Changeset 429 in SHVCSoftware
- Timestamp:
- 10 Oct 2013, 20:57:10 (11 years ago)
- 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 764 764 #endif 765 765 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 766 770 assert(m_aiNumRefIdx[REF_PIC_LIST_0] > 1); 767 771 assert(m_aiNumRefIdx[REF_PIC_LIST_1] > 1); 772 #endif 773 768 774 769 775 //set L0 inter-layer reference picture modification 770 776 #if RPL_INIT_N0316_N0082 771 777 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 772 781 #else 773 782 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 774 787 #endif 775 788 #if FINAL_RPL_CHANGE_N0082 … … 821 834 //set L1 inter-layer reference picture modification 822 835 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 823 840 refPicListModification->setRefPicListModificationFlagL1(hasModification); 824 841 if(hasModification) -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r428 r429 1031 1031 pcSlice->setRefPicList ( rcListPic ); 1032 1032 #endif //SVC_EXTENSION 1033 #if N0147_IRAP_ALIGN_FLAG1034 if(pcSlice->getNumRefIdx(REF_PIC_LIST_0) > 1 || pcSlice->getNumRefIdx(REF_PIC_LIST_1) > 1)1035 #endif1036 {1037 1033 pcSlice->setRefPicListModificationSvc(); 1038 }1039 1034 pcSlice->setRefPicList( rcListPic, false, m_pcEncTop->getIlpList()); 1040 1035
Note: See TracChangeset for help on using the changeset viewer.