Changeset 886 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
17 Sep 2014, 00:43:51 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P0041 -- It was remarked that we should require each non-IRAP picture that has discardable_flag equal to 1 to have NUT value indicating that it is a sub-layer non-reference picture.

MACRO: NON_REF_NAL_TYPE_DISCARDABLE

submitted by Hendry (fhendry@…)

File:
1 edited

Legend:

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

    r885 r886  
    28102810    {
    28112811      READ_FLAG(uiCode, "discardable_flag"); // ignored
     2812#if NON_REF_NAL_TYPE_DISCARDABLE
     2813      rpcSlice->setDiscardableFlag( uiCode ? true : false );
     2814      if (uiCode)
     2815      {
     2816        assert(rpcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_TRAIL_R &&
     2817          rpcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_TSA_R &&
     2818          rpcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_STSA_R &&
     2819          rpcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RADL_R &&
     2820          rpcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R);
     2821      }
     2822#endif
     2823
    28122824    }
    28132825    for (Int i = 1; i < rpcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
Note: See TracChangeset for help on using the changeset viewer.