Changeset 1128 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
7 Jul 2015, 02:58:30 (9 years ago)
Author:
seregin
Message:

macro cleanup: HIGHER_LAYER_IRAP_SKIP_FLAG, HIGHER_LAYER_IRAP_SKIP_FLAG (keep it for encoder only)

Location:
branches/SHM-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1126 r1128  
    11691169  ("CrossLayerPictureTypeAlignFlag",                 m_crossLayerPictureTypeAlignFlag,                   true, "align picture type across layers" ) 
    11701170  ("CrossLayerIrapAlignFlag",                        m_crossLayerIrapAlignFlag,                          true, "align IRAP across layers" ) 
    1171 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG
    11721171  ("CrossLayerAlignedIdrOnlyFlag",                   m_crossLayerAlignedIdrOnlyFlag,                     true, "only idr for IRAP across layers" ) 
    1173 #endif
    11741172#if O0194_WEIGHTED_PREDICTION_CGS
    11751173  ("InterLayerWeightedPred",                          m_useInterLayerWeightedPred,                       false, "enable IL WP parameters estimation at encoder" ) 
     
    16941692  ("LayerSwitchOffEnd%d", cfg_layerSwitchOffEnd, 0, MAX_LAYERS, "Switch layer %d on at given poc")
    16951693#endif
    1696 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    16971694  ("SkipPictureAtArcSwitch",     m_skipPictureAtArcSwitch, false, "Code the higher layer picture in ARC up-switching as a skip picture. (0: disable)")
    1698 #endif
    16991695#if N0383_IL_CONSTRAINED_TILE_SETS_SEI
    17001696  ("SEIInterLayerConstrainedTileSets", m_interLayerConstrainedTileSetsSEIEnabled, false, "Control generation of inter layer constrained tile sets SEI message")
     
    43604356  }
    43614357#endif
    4362 #if HIGHER_LAYER_IRAP_SKIP_FLAG
     4358
    43634359  if (m_adaptiveResolutionChange > 0)
    43644360  {
     
    43694365    xConfirmPara(m_adaptiveResolutionChange <= 0, "Skip picture at ARC switching only works when Adaptive Resolution Change is active (AdaptiveResolutionChange > 0)");
    43704366  }
    4371 #endif
     4367
    43724368  if( layerIdx < MAX_LAYERS-1 )
    43734369  {
     
    45044500  printf("Adaptive Resolution Change        : %d\n", m_adaptiveResolutionChange );
    45054501#endif
    4506 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    45074502  printf("Skip picture at ARC switch        : %d\n", m_skipPictureAtArcSwitch );
    4508 #endif
    45094503  printf("Align picture type                : %d\n", m_crossLayerPictureTypeAlignFlag );
    45104504  printf("Cross layer IRAP alignment        : %d\n", m_crossLayerIrapAlignFlag );
    4511 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG
    45124505  printf("IDR only for IRAP                 : %d\n", m_crossLayerAlignedIdrOnlyFlag );
    4513 #endif
    45144506#if O0194_WEIGHTED_PREDICTION_CGS
    45154507  printf("InterLayerWeightedPred            : %d\n", m_useInterLayerWeightedPred );
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1126 r1128  
    476476  Int       m_adaptiveResolutionChange;                       ///< Indicate adaptive resolution change frame
    477477#endif
    478 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    479478  Bool      m_skipPictureAtArcSwitch;                         ///< Indicates that when ARC up-switching is performed the higher layer picture is a skip picture
    480 #endif
    481479#if REPN_FORMAT_IN_VPS
    482480  RepFormatCfg m_repFormatCfg[16];                            ///< Rep_format structures
     
    515513  Bool                                m_overlayInfoPersistenceFlag;
    516514#endif
    517 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG
    518515  Bool      m_crossLayerAlignedIdrOnlyFlag;
    519 #endif
    520516#if O0149_CROSS_LAYER_BLA_FLAG
    521517  Bool      m_crossLayerBLAFlag;
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1126 r1128  
    188188                                                                            m_acLayerCfg[mapIdxToLayer[idx]].m_confWinBottom );
    189189
    190 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    191190    m_acTEncTop[mapIdxToLayer[idx]].setSkipPictureAtArcSwitch             ( m_skipPictureAtArcSwitch );
    192 #endif
    193191  }
    194192  delete [] mapIdxToLayer;
     
    17551753#endif
    17561754    vps->setCrossLayerPictureTypeAlignFlag( m_crossLayerPictureTypeAlignFlag );
    1757 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG
    17581755    vps->setCrossLayerAlignedIdrOnlyFlag( m_crossLayerAlignedIdrOnlyFlag );
    1759 #endif
    17601756    vps->setCrossLayerIrapAlignFlag( m_crossLayerIrapAlignFlag );
    17611757    for(UInt layerCtr = 1;layerCtr <= vps->getMaxLayers() - 1; layerCtr++)
     
    17761772  vps->setSingleLayerForNonIrapFlag(m_adaptiveResolutionChange > 0 ? true : false);
    17771773#endif
    1778 #if HIGHER_LAYER_IRAP_SKIP_FLAG
    17791774  vps->setHigherLayerIrapSkipFlag(m_skipPictureAtArcSwitch);
    1780 #endif
    17811775
    17821776  for (Int k = 0; k < MAX_VPS_LAYER_SETS_PLUS1; k++)
Note: See TracChangeset for help on using the changeset viewer.