Changeset 715 in SHVCSoftware for branches


Ignore:
Timestamp:
21 Apr 2014, 18:56:13 (11 years ago)
Author:
seregin
Message:

fix m_numberRefLayers derivation

Location:
branches/SHM-6-dev/source
Files:
3 edited

Legend:

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

    r705 r715  
    13201320
    13211321#if O0092_0094_DEPENDENCY_CONSTRAINT
    1322   for(UInt layerCtr = 1;layerCtr <= vps->getMaxLayers() - 1; layerCtr++)
    1323   {
    1324     vps->setNumRefLayers(vps->getLayerIdInNuh(layerCtr));   // identify the number of direct and indirect reference layers of current layer and set recursiveRefLayersFlags
    1325   }
     1322  vps->setNumRefLayers();
     1323
    13261324  if(vps->getMaxLayers() > MAX_REF_LAYERS)
    13271325  {
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r710 r715  
    25262526}
    25272527
    2528 Void TComVPS::setNumRefLayers(Int currLayerId)
    2529 {
     2528Void TComVPS::setNumRefLayers()
     2529{
     2530  memset( m_numberRefLayers, 0, sizeof( m_numberRefLayers ) );
     2531
    25302532  for (Int i = 0; i < m_uiMaxLayers; i++)
    25312533  {
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.h

    r684 r715  
    798798  Void    setRecursiveRefLayerFlag(Int currLayerId, Int refLayerId, Bool x)      { m_recursiveRefLayerFlag[currLayerId][refLayerId] = x;   }
    799799  Int     getNumRefLayers(Int currLayerId)                                       { return m_numberRefLayers[currLayerId];                  }
    800   Void    setNumRefLayers(Int currLayerId);
     800  Void    setNumRefLayers();
    801801#endif
    802802#if VPS_RENAME
Note: See TracChangeset for help on using the changeset viewer.