Changeset 416 in SHVCSoftware


Ignore:
Timestamp:
8 Oct 2013, 18:55:47 (11 years ago)
Author:
seregin
Message:

formatting the code

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  
    112112#define ILP_RAP                          1      ///< JCTVC-M0208 proposal 3
    113113
    114 #define IDR_ALIGNMENT                    0      ///< align IDR picures across layers : As per JCTVC-N0373, IDR are not required to be aligned.
    115 
    116114#define AVC_BASE                         1      ///< YUV BL reading for AVC base SVC
    117115#if AVC_BASE
     
    147145#endif
    148146
    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
    150151#define FAST_INTRA_SHVC                  1      ///< M0115: reduction number of intra modes in the EL (encoder only)
    151152#if FAST_INTRA_SHVC
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r414 r416  
    775775       if( m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag())
    776776       {
    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() );
    779779         if( picLayer0->getSlice(0)->isIRAP())
    780         {
    781           pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());
    782         }
    783         else
     780         {
     781           pcSlice->setNalUnitType(picLayer0->getSlice(0)->getNalUnitType());
     782         }
     783         else
    784784         {
    785785           pcSlice->setNalUnitType(NAL_UNIT_CODED_SLICE_CRA);
Note: See TracChangeset for help on using the changeset viewer.