Changeset 844 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
28 Jul 2014, 20:30:39 (10 years ago)
Author:
qualcomm
Message:

Revision to the implementation of conformance checking such that representation format of a particular layer shall not be greater than the one defined in VPS for that layer

Update is in the implementation in function TDecCavlc::parseSliceHeader such that the checking is done only if VPS Extension is present.

Adoption of JCTVC-R0227. (Macro: R0227_REP_FORMAT_CONSTRAINT)

From: Hendry <fhendry@…>

File:
1 edited

Legend:

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

    r843 r844  
    25302530  TComVPS* vps = NULL;
    25312531  vps = parameterSetManager->getPrefetchedVPS(sps->getVPSId());
    2532   if ( rpcSlice->getLayerId() == 0 )
     2532  if ( rpcSlice->getLayerId() == 0 && vps->getVpsExtensionFlag() == 1 )
    25332533  {
    25342534    assert( sps->getPicWidthInLumaSamples() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(0) )->getPicWidthVpsInLumaSamples() );
     
    25382538    assert( sps->getBitDepthC() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(0) )->getBitDepthVpsChroma() );
    25392539  }
    2540   else
     2540  else if ( vps->getVpsExtensionFlag() == 1 )
    25412541  {
    25422542    assert(vps->getVpsRepFormat( vps->getVpsRepFormatIdx(sps->getUpdateRepFormatFlag() ? sps->getUpdateRepFormatIndex() : rpcSlice->getLayerId()))->getPicWidthVpsInLumaSamples() <= vps->getVpsRepFormat( vps->getVpsRepFormatIdx(rpcSlice->getLayerId()))->getPicWidthVpsInLumaSamples());
Note: See TracChangeset for help on using the changeset viewer.