Changeset 865 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder


Ignore:
Timestamp:
13 Aug 2014, 01:39:59 (10 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/App/TAppEncoder/TAppEncTop.cpp

    r864 r865  
    14551455    for( Int olsCtr = 0; olsCtr < vps->getNumLayerSets(); olsCtr ++ ) // Default output layer sets
    14561456    {
    1457       vps->setOutputLayerSetIdx(i, i);
     1457      vps->setOutputLayerSetIdx(olsCtr, olsCtr);
    14581458    }
    14591459    for( Int olsCtr = vps->getNumLayerSets(); olsCtr < vps->getNumOutputLayerSets(); olsCtr ++ )  // Non-default output layer sets
    14601460    {
    1461       vps->setOutputLayerSetIdx(i, m_outputLayerSetIdx[olsCtr - vps->getNumLayerSets()]);
     1461      vps->setOutputLayerSetIdx(olsCtr, m_outputLayerSetIdx[olsCtr - vps->getNumLayerSets()]);
    14621462    }
    14631463  }
     
    15511551  }
    15521552#endif
    1553 
     1553#if NECESSARY_LAYER_FLAG
     1554  vps->deriveNecessaryLayerFlag();
     1555  vps->checkNecessaryLayerFlagCondition();
     1556#endif
    15541557  // Initialize dpb_size_table() for all ouput layer sets in the VPS extension
    15551558  for(i = 1; i < vps->getNumOutputLayerSets(); i++)
Note: See TracChangeset for help on using the changeset viewer.