Changeset 116 in SHVCSoftware


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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp

    r115 r116  
    734734  vps->setLayerIdInNuh(0, 0);
    735735  vps->setLayerIdInVps(0, 0);
    736   for(i = 1; i <= vps->getMaxLayerId(); i++) // TODO: we should use vps->getMaxLayers(), but currently it is always set to 1
     736  for(i = 1; i < vps->getMaxLayers(); i++)
    737737  {
    738738    vps->setLayerIdInNuh(i, i);
  • 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.