- Timestamp:
- 12 Apr 2013, 02:09:46 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source
- Files:
-
- 3 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 ); -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCfg.h
r118 r122 267 267 Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. 268 268 Bool m_CUTransquantBypassFlagValue; ///< if transquant_bypass_enable_flag, the fixed value to use for the per-CU cu_transquant_bypass_flag. 269 TComVPS m_cVPS;269 static TComVPS m_cVPS; 270 270 Bool m_recalculateQPAccordingToLambda; ///< recalculate QP value according to the lambda value 271 271 Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncTop.cpp
r107 r122 48 48 Int TEncTop::m_iSPSIdCnt = 0; 49 49 Int TEncTop::m_iPPSIdCnt = 0; 50 TComVPS TEncCfg::m_cVPS; 50 51 #endif 51 52
Note: See TracChangeset for help on using the changeset viewer.