Changeset 893 in SHVCSoftware


Ignore:
Timestamp:
26 Sep 2014, 02:37:46 (10 years ago)
Author:
sharp
Message:
  1. Deshpande (Sharp) <sdeshpande@…>

JCTVC-R0154 proposal2 - default_output_layer_idc and output_layer_flag[i][j]

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

Legend:

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

    r892 r893  
    259259#define DPB_INTERNAL_BL_SIG              1      ///< JCTVC-R0153: external base layer
    260260#define ALT_OPT_LAYER_FLAG               1      ///< JCTVC-R0154: proposal1 - alt_output_layer_flag[i] inference
     261#define DEF_OPT_LAYER_IDC                1      ///< JCTVC-R0154: proposal2 - default_output_layer_idc and output_layer_flag[i][j]
    261262#define R0340_RESAMPLING_MODIFICATION    1      ///< JCTVC-R0340: set of changes regarding resampling (as listed below)
    262263#if R0340_RESAMPLING_MODIFICATION
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r892 r893  
    15401540        for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++)
    15411541        {
     1542#if DEF_OPT_LAYER_IDC
     1543          vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet)-1))  );
     1544
     1545#else
    15421546          vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet)-1)) && (vps->getDimensionId(j,1) == 0) );
     1547#endif
    15431548        }
    15441549      }
     
    16481653        {
    16491654#if O0135_DEFAULT_ONE_OUT_SEMANTIC
     1655#if DEF_OPT_LAYER_IDC
     1656        vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(lsIdx)-1)) );
     1657#else
    16501658          vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(lsIdx)-1)) && (vps->getDimensionId(j,1)==0) );
     1659#endif
    16511660#else
    16521661          vps->setOutputLayerFlag(i, j, (j == (vps->getNumLayersInIdList(lsIdx)-1)));
Note: See TracChangeset for help on using the changeset viewer.