Ignore:
Timestamp:
11 Sep 2014, 12:48:48 (10 years ago)
Author:
nokia
Message:

implementation of jct-vc R0247
(1) Only the base layer creates the Active Parameter Sets SEI message.
(2) Active Parameter Sets SEI message can active more than 1 sps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp

    r871 r884  
    584584
    585585  sei.activeSeqParameterSetId.resize(sei.numSpsIdsMinus1 + 1);
     586#if R0247_SEI_ACTIVE
     587  sei.layerSpsIdx.resize(sei.numSpsIdsMinus1 + 1);
     588#endif
    586589  for (Int i=0; i < (sei.numSpsIdsMinus1 + 1); i++)
    587590  {
    588591    READ_UVLC(val, "active_seq_parameter_set_id");      sei.activeSeqParameterSetId[i] = val;
    589592  }
    590 
     593#if R0247_SEI_ACTIVE
     594  for (Int i=1; i < (sei.numSpsIdsMinus1 + 1); i++)
     595  {
     596    READ_UVLC(val, "layer_sps_idx"); sei.layerSpsIdx[i] = val;
     597  }
     598#endif
    591599  xParseByteAlign();
    592600}
Note: See TracChangeset for help on using the changeset viewer.