Changeset 511 in SHVCSoftware


Ignore:
Timestamp:
4 Dec 2013, 17:04:38 (11 years ago)
Author:
interdigital
Message:

Apply constraint on maximum number of direct/indirect reference layers to the decoder.

File:
1 edited

Legend:

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

    r509 r511  
    13661366  }
    13671367#endif
     1368#if O0092_0094_DEPENDENCY_CONSTRAINT
     1369  for(i = 1; i < vps->getMaxLayers(); i++)
     1370  {
     1371    vps->setNumRefLayers(vps->getLayerIdInNuh(i));   // identify the number of direct and indirect reference layers of current layer and set recursiveRefLayersFlags
     1372  }
     1373  if(vps->getMaxLayers() > MAX_REF_LAYERS)
     1374  {
     1375    for(i = 1;i < vps->getMaxLayers(); i++)
     1376    {
     1377      assert( vps->getNumRefLayers(vps->getLayerIdInNuh(i)) <= MAX_REF_LAYERS);
     1378    }
     1379  }
     1380#endif
    13681381
    13691382#if IL_SL_SIGNALLING_N0371
Note: See TracChangeset for help on using the changeset viewer.