Changeset 865 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
13 Aug 2014, 01:39:59 (11 years ago)
Author:
qualcomm
Message:

Derivation of NecessaryLayerFlag (Macro: NECESSARY_LAYER_FLAG)

Derive NecessaryLayerFlag and check the condition specified w.r.t that flag.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r864 r865  
    14671467#endif
    14681468  vps->setNumOutputLayerSets( numOutputLayerSets );
    1469 
     1469#if NECESSARY_LAYER_FLAG
     1470  // Default output layer set
     1471  vps->setOutputLayerSetIdx(0, 0);
     1472  vps->setOutputLayerFlag(0, 0, true);
     1473  vps->deriveNecessaryLayerFlag(0);
     1474#endif
    14701475  for(i = 1; i < numOutputLayerSets; i++)
    14711476  {
     
    15191524      }
    15201525    }
     1526#if NECESSARY_LAYER_FLAG
     1527    vps->deriveNecessaryLayerFlag(i); 
     1528#endif
    15211529    Int numBits = 1;
    15221530    while ((1 << numBits) < (vps->getNumProfileTierLevel()))
     
    15471555#endif
    15481556  }
     1557#if NECESSARY_LAYER_FLAG
     1558  vps->checkNecessaryLayerFlagCondition(); 
     1559#endif
    15491560#else
    15501561  if( numOutputLayerSets > 1 )
Note: See TracChangeset for help on using the changeset viewer.