Changeset 90 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/App/TAppEncoder
- Timestamp:
- 20 Mar 2013, 22:00:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp
r54 r90 75 75 Void TAppEncTop::xInitLibCfg() 76 76 { 77 TComVPS vps; 78 79 vps.setMaxTLayers ( m_maxTempLayer ); 80 if (m_maxTempLayer == 1) 81 { 82 vps.setTemporalNestingFlag(true); 83 } 84 vps.setMaxLayers ( 1 ); 85 for(Int i = 0; i < MAX_TLAYER; i++) 86 { 87 vps.setNumReorderPics ( m_numReorderPics[i], i ); 88 vps.setMaxDecPicBuffering ( m_maxDecPicBuffering[i], i ); 89 } 90 77 91 for(UInt layer=0; layer<m_numLayers; layer++) 78 92 { 79 TComVPS vps;80 81 vps.setMaxTLayers ( m_maxTempLayer );82 if (m_maxTempLayer == 1)83 {84 vps.setTemporalNestingFlag(true);85 }86 vps.setMaxLayers ( 1 );87 for(Int i = 0; i < MAX_TLAYER; i++)88 {89 vps.setNumReorderPics ( m_numReorderPics[i], i );90 vps.setMaxDecPicBuffering ( m_maxDecPicBuffering[i], i );91 }92 93 m_acTEncTop[layer].setVPS(&vps); 93 94 m_acTEncTop[layer].setFrameRate ( m_acLayerCfg[layer].getFrameRate() );
Note: See TracChangeset for help on using the changeset viewer.