Changeset 116 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib


Ignore:
Timestamp:
5 Apr 2013, 20:37:43 (12 years ago)
Author:
vidyo
Message:

Use getMaxLayers() instead of getMaxLayerId()

Location:
branches/HM-10.0-dev-SHM/source/Lib
Files:
2 edited

Legend:

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

    r115 r116  
    880880  vps->setLayerIdInNuh(0, 0);
    881881  vps->setLayerIdInVps(0, 0);
    882   for(i = 1; i <= vps->getMaxLayerId(); i++) // TODO: we should use vps->getMaxLayers(), but currently it is always set to 1
     882  for(i = 1; i < vps->getMaxLayers(); i++)
    883883  {
    884884    if( vps->getNuhLayerIdPresentFlag() )
  • branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCavlc.cpp

    r115 r116  
    690690
    691691  WRITE_FLAG( vps->getNuhLayerIdPresentFlag(),         "vps_nuh_layer_id_present_flag" );
    692   for(i = 1; i <= vps->getMaxLayerId(); i++) // TODO: we should use vps->getMaxLayers(), but currently it is always set to 1
     692  for(i = 1; i < vps->getMaxLayers(); i++)
    693693  {
    694694    if( vps->getNuhLayerIdPresentFlag() )
Note: See TracChangeset for help on using the changeset viewer.