Changeset 122 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/App
- Timestamp:
- 12 Apr 2013, 02:09:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp
r119 r122 75 75 Void TAppEncTop::xInitLibCfg() 76 76 { 77 TComVPS vps;78 79 vps .setMaxTLayers ( m_maxTempLayer );77 TComVPS* vps = m_acTEncTop[0].getVPS(); 78 79 vps->setMaxTLayers ( m_maxTempLayer ); 80 80 if (m_maxTempLayer == 1) 81 81 { 82 vps .setTemporalNestingFlag(true);82 vps->setTemporalNestingFlag(true); 83 83 } 84 84 #if !VPS_RENAME … … 87 87 for(Int i = 0; i < MAX_TLAYER; i++) 88 88 { 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 ); 91 91 } 92 92 93 93 for(UInt layer=0; layer<m_numLayers; layer++) 94 94 { 95 m_acTEncTop[layer].setVPS(&vps);95 //m_acTEncTop[layer].setVPS(&vps); 96 96 m_acTEncTop[layer].setFrameRate ( m_acLayerCfg[layer].getFrameRate() ); 97 97 m_acTEncTop[layer].setFrameSkip ( m_FrameSkip );
Note: See TracChangeset for help on using the changeset viewer.