Changeset 758 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibCommon
- Timestamp:
- 30 Apr 2014, 00:04:11 (12 years ago)
- Location:
- branches/SHM-6-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
-
TComSlice.cpp (modified) (4 diffs)
-
TComSlice.h (modified) (2 diffs)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp
r755 r758 775 775 #endif 776 776 777 #if N0147_IRAP_ALIGN_FLAG778 777 assert(m_aiNumRefIdx[REF_PIC_LIST_0] > 0); 779 778 assert(m_aiNumRefIdx[REF_PIC_LIST_1] > 0); 780 #else781 assert(m_aiNumRefIdx[REF_PIC_LIST_0] > 1);782 assert(m_aiNumRefIdx[REF_PIC_LIST_1] > 1);783 #endif784 779 785 780 //set L0 inter-layer reference picture modification … … 789 784 Bool hasModification = (m_aiNumRefIdx[REF_PIC_LIST_0] == numberOfRpsCurrTempList) ? false : true; 790 785 #endif 791 #if N0147_IRAP_ALIGN_FLAG792 786 hasModification = hasModification && ( m_aiNumRefIdx[REF_PIC_LIST_0] > 1 ); 793 #endif794 787 refPicListModification->setRefPicListModificationFlagL0(hasModification); 795 788 if(hasModification) … … 838 831 //set L1 inter-layer reference picture modification 839 832 hasModification = (m_aiNumRefIdx[REF_PIC_LIST_1] >= numberOfRpsCurrTempList) ? false : true; 840 #if N0147_IRAP_ALIGN_FLAG841 833 hasModification = hasModification && ( m_aiNumRefIdx[REF_PIC_LIST_1] > 1 ); 842 #endif843 834 844 835 refPicListModification->setRefPicListModificationFlagL1(hasModification); … … 2332 2323 m_crossLayerPictureTypeAlignFlag = true; 2333 2324 #endif 2334 #if N0147_IRAP_ALIGN_FLAG2335 2325 m_crossLayerIrapAlignFlag = true; 2336 #endif2337 2326 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 2338 2327 m_crossLayerAlignedIdrOnlyFlag = false; -
branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h
r755 r758 569 569 Bool m_crossLayerPictureTypeAlignFlag; 570 570 #endif 571 #if N0147_IRAP_ALIGN_FLAG572 571 Bool m_crossLayerIrapAlignFlag; 573 #endif574 572 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 575 573 Bool m_crossLayerAlignedIdrOnlyFlag; … … 931 929 Void setCrossLayerAlignedIdrOnlyFlag(Bool x) { m_crossLayerAlignedIdrOnlyFlag = x; } 932 930 #endif 933 #if N0147_IRAP_ALIGN_FLAG934 931 Bool getCrossLayerIrapAlignFlag() { return m_crossLayerIrapAlignFlag; } 935 932 Void setCrossLayerIrapAlignFlag(Bool x) { m_crossLayerIrapAlignFlag = x; } 936 #endif937 933 #if O0225_MAX_TID_FOR_REF_LAYERS 938 934 UInt getMaxTidIlRefPicsPlus1(Int layerId, Int refLayerId) { return m_maxTidIlRefPicsPlus1[layerId][refLayerId]; } -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r757 r758 211 211 #define P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 1 ///< a flag to indicatate whether picture types for IRAP are IDR across layers. 212 212 213 #define N0147_IRAP_ALIGN_FLAG 1 ///< a flag to indicatate whether IRAPs are aligned across layers214 #if N0147_IRAP_ALIGN_FLAG215 213 #define O0223_O0139_IRAP_ALIGN_NO_CONTRAINTS 1 ///< Remove IRAP align depedency constraints on poc_Reset_flag. 216 214 #define IRAP_ALIGN_FLAG_IN_VPS_VUI 1 ///< Move IRAP align flag to VPS VUI 217 #endif218 215 #define FAST_INTRA_SHVC 1 ///< JCTVC-M0115: reduction number of intra modes in the EL (encoder only) 219 216 #if FAST_INTRA_SHVC
Note: See TracChangeset for help on using the changeset viewer.