Changeset 757 in SHVCSoftware


Ignore:
Timestamp:
29 Apr 2014, 23:58:16 (11 years ago)
Author:
seregin
Message:

remove macro IDR_ALIGNMENT

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h

    r756 r757  
    216216#define IRAP_ALIGN_FLAG_IN_VPS_VUI       1       ///< Move IRAP align flag to VPS VUI
    217217#endif
    218 #if !N0147_IRAP_ALIGN_FLAG
    219 #define IDR_ALIGNMENT                    1      ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned.
    220 #endif
    221218#define FAST_INTRA_SHVC                  1      ///< JCTVC-M0115: reduction number of intra modes in the EL (encoder only)
    222219#if FAST_INTRA_SHVC
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r754 r757  
    11771177#endif
    11781178          pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);
    1179 
    1180 #if IDR_ALIGNMENT
    1181         TComList<TComPic*> *cListPic = m_ppcTEncTop[m_layerId]->getRefLayerEnc(0)->getListPic();
    1182         TComPic* picLayer0 = pcSlice->getRefPic(*cListPic, pcSlice->getPOC() );
    1183         if( picLayer0->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || picLayer0->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP )
    1184         {
    1185           pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());
    1186         }
    1187         else
    1188         {
    1189           pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);
    1190         }
    1191 #endif
    11921179      }
    11931180
Note: See TracChangeset for help on using the changeset viewer.