Changeset 156 in SHVCSoftware for branches/SHM-2.0-dev/source


Ignore:
Timestamp:
8 May 2013, 00:57:17 (12 years ago)
Author:
qualcomm
Message:

Signal output_layer_set_idx as output_layer_set_idx_minus1 in VPS extn. (MACRO: VPS_OUTPUT_LAYER_SET_IDX)

From: Adarsh K.Ramasubramonian <aramasub@…>

Location:
branches/SHM-2.0-dev/source/Lib
Files:
3 edited

Legend:

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

    r154 r156  
    5454#define VPS_EXTN_DIRECT_REF_LAYERS       1      ///< Include indication of direct dependency of layers in VPS extension
    5555#define VPS_EXTN_DIRECT_REF_LAYERS_CONTINUE   1
     56#define VPS_OUTPUT_LAYER_SET_IDX         1      ///< Signal output_layer_set_idx[i] as output_layer_set_idx_minus1[i]
    5657#endif
    5758
  • branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r133 r156  
    926926  for(i = 0; i < vps->getNumOutputLayerSets(); i++)
    927927  {
     928#if VPS_OUTPUT_LAYER_SET_IDX
     929    READ_UVLC( uiCode,           "vps_output_layer_set_idx_minus1[i]"); vps->setOutputLayerSetIdx(i, uiCode + 1);
     930#else
    928931    READ_UVLC( uiCode,           "vps_output_layer_set_idx[i]"); vps->setOutputLayerSetIdx(i, uiCode);
     932#endif
    929933    Int lsIdx = vps->getOutputLayerSetIdx(i);
    930934    for(j = 0; j <= vps->getMaxLayerId(); j++)
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r133 r156  
    719719  for(i = 0; i < vps->getNumOutputLayerSets(); i++)
    720720  {
     721#if VPS_OUTPUT_LAYER_SET_IDX
     722    assert(vps->getOutputLayerSetIdx(i) > 0);
     723    WRITE_UVLC( vps->getOutputLayerSetIdx(i) - 1,           "vps_output_layer_set_idx_minus1[i]");
     724#else
    721725    WRITE_UVLC( vps->getOutputLayerSetIdx(i),           "vps_output_layer_set_idx[i]");
     726#endif
    722727    Int lsIdx = vps->getOutputLayerSetIdx(i);
    723728    for(j = 0; j <= vps->getMaxLayerId(); j++)
Note: See TracChangeset for help on using the changeset viewer.