Changeset 606 in SHVCSoftware for branches/SHM-5.1-dev


Ignore:
Timestamp:
7 Feb 2014, 18:54:00 (11 years ago)
Author:
interdigital
Message:

P0182: add base_layer_parameter_set_compatibility_flag into VPS VUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r602 r606  
    14461446#endif
    14471447#endif
     1448#if P0182_VPS_VUI_PS_FLAG
     1449    for(i = 1; i < vps->getMaxLayers(); i++)
     1450    {
     1451      if(vps->getNumRefLayers(vps->getLayerIdInNuh(i)) == 0)
     1452      {
     1453        if ((vps->getSPSId(i) == 0) && (vps->getPPSId(i) == 0))
     1454        {
     1455          vps->setBaseLayerPSCompatibilityFlag(i, 1);
     1456        }
     1457        else
     1458        {
     1459          vps->setBaseLayerPSCompatibilityFlag(i, 0);
     1460        }
     1461      }
     1462    }
     1463#endif
    14481464}
    14491465#endif
Note: See TracChangeset for help on using the changeset viewer.