Changeset 416 in SHVCSoftware
- Timestamp:
- 8 Oct 2013, 18:55:47 (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/TypeDef.h
r415 r416 112 112 #define ILP_RAP 1 ///< JCTVC-M0208 proposal 3 113 113 114 #define IDR_ALIGNMENT 0 ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned.115 116 114 #define AVC_BASE 1 ///< YUV BL reading for AVC base SVC 117 115 #if AVC_BASE … … 147 145 #endif 148 146 149 #define N0147_IRAP_ALIGN_FLAG 1 147 #define N0147_IRAP_ALIGN_FLAG 1 ///< a flag to indicatate whether IRAPs are aligned across layers 148 #if !N0147_IRAP_ALIGN_FLAG 149 #define IDR_ALIGNMENT 1 ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned. 150 #endif 150 151 #define FAST_INTRA_SHVC 1 ///< M0115: reduction number of intra modes in the EL (encoder only) 151 152 #if FAST_INTRA_SHVC -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r414 r416 775 775 if( m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag()) 776 776 { 777 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(0)->getListPic();778 TComPic* picLayer0 = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() );777 TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(0)->getListPic(); 778 TComPic* picLayer0 = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() ); 779 779 if( picLayer0->getSlice(0)->isIRAP()) 780 {781 pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());782 }783 else780 { 781 pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType()); 782 } 783 else 784 784 { 785 785 pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);
Note: See TracChangeset for help on using the changeset viewer.