Changeset 1160 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 00:47:56 (9 years ago)
Author:
seregin
Message:

macro cleanup: DEF_OPT_LAYER_IDC

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

Legend:

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

    r1159 r1160  
    172172#define DPB_CONSTRAINTS                  1      ///< JCTVC-Q0100 RPS DPB constraints
    173173#define DPB_INTERNAL_BL_SIG              1      ///< JCTVC-R0153: external base layer
    174 #define DEF_OPT_LAYER_IDC                1      ///< JCTVC-R0154: proposal2 - default_output_layer_idc and output_layer_flag[i][j]
    175174#define OLS_IDX_CHK                      1      ///< JCTVC-R0155: Proposal 2 valid range for output_layer_set_idx_to_vps[i]
    176175#define R0340_RESAMPLING_MODIFICATION    1      ///< JCTVC-R0340: set of changes regarding resampling (as listed below)
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1159 r1160  
    29572957      if( vps->getDefaultTargetOutputLayerIdc() == 1 )
    29582958      {
    2959         for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++)
    2960         {
    2961 #if DEF_OPT_LAYER_IDC
     2959        for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ )
     2960        {
    29622961          vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet)-1))  );
    2963 
    2964 #else
    2965           vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet)-1)) && (vps->getDimensionId(j,1) == 0) );
    2966 #endif
    2967         }
    2968       }
    2969       else if ( vps->getDefaultTargetOutputLayerIdc() == 0 )
    2970       {
    2971         for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++)
     2962        }
     2963      }
     2964      else if( vps->getDefaultTargetOutputLayerIdc() == 0 )
     2965      {
     2966        for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ )
    29722967        {
    29732968          vps->setOutputLayerFlag(i, j, 1);
Note: See TracChangeset for help on using the changeset viewer.