Ignore:
Timestamp:
12 Apr 2013, 02:09:46 (12 years ago)
Author:
seregin
Message:

making VPS static

File:
1 edited

Legend:

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

    r119 r122  
    7575Void TAppEncTop::xInitLibCfg()
    7676{
    77   TComVPS vps;
    78 
    79   vps.setMaxTLayers                       ( m_maxTempLayer );
     77  TComVPS* vps = m_acTEncTop[0].getVPS();
     78
     79  vps->setMaxTLayers                       ( m_maxTempLayer );
    8080  if (m_maxTempLayer == 1)
    8181  {
    82     vps.setTemporalNestingFlag(true);
     82    vps->setTemporalNestingFlag(true);
    8383  }
    8484#if !VPS_RENAME
     
    8787  for(Int i = 0; i < MAX_TLAYER; i++)
    8888  {
    89     vps.setNumReorderPics                 ( m_numReorderPics[i], i );
    90     vps.setMaxDecPicBuffering             ( m_maxDecPicBuffering[i], i );
     89    vps->setNumReorderPics                 ( m_numReorderPics[i], i );
     90    vps->setMaxDecPicBuffering             ( m_maxDecPicBuffering[i], i );
    9191  }
    9292
    9393  for(UInt layer=0; layer<m_numLayers; layer++)
    9494  {
    95     m_acTEncTop[layer].setVPS(&vps);
     95    //m_acTEncTop[layer].setVPS(&vps);
    9696    m_acTEncTop[layer].setFrameRate                    ( m_acLayerCfg[layer].getFrameRate() );
    9797    m_acTEncTop[layer].setFrameSkip                    ( m_FrameSkip );
Note: See TracChangeset for help on using the changeset viewer.