Changeset 1489 in SHVCSoftware
- Timestamp:
- 2 Dec 2015, 23:30:10 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.cpp
r1485 r1489 47 47 // ==================================================================================================================== 48 48 49 #if SVC_EXTENSION 50 TComVPS* TComPicSym::m_vps = NULL; 51 #endif 52 49 53 TComPicSym::TComPicSym() 50 54 :m_frameWidthInCtus(0) … … 83 87 m_sps = sps; 84 88 m_pps = pps; 85 m_vps = &vps; 89 90 if( !m_vps ) 91 { 92 m_vps = new TComVPS(vps); 93 } 94 else 95 { 96 *m_vps = vps; 97 } 86 98 87 99 const ChromaFormat chromaFormatIDC = vps.getChromaFormatIdc(&sps, layerId); … … 210 222 delete [] m_pParentARLBuffer; 211 223 m_pParentARLBuffer = NULL; 224 #endif 225 226 #if SVC_EXTENSION 227 if( m_vps ) 228 { 229 delete m_vps; 230 m_vps = NULL; 231 } 212 232 #endif 213 233 } -
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
r1296 r1489 121 121 122 122 #if SVC_EXTENSION 123 const TComVPS* m_vps; 123 // SHM: temporal solution to keep VPS with a picture, ideally it should be picture specific, but currently sizeof(TComVPS) = 232897716 124 static TComVPS* m_vps; 124 125 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 125 126 Int* m_piTileSetIdxMap; //the map of the tile set index relative to LCU raster scan address -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1487 r1489 260 260 } 261 261 262 m_iMaxRefPicNum += 1; // it should be updated if more than 1 resampling picture is used262 m_iMaxRefPicNum += 1; // SHM: it should be updated if more than 1 resampling picture is used 263 263 #else 264 264 m_iMaxRefPicNum = sps.getMaxDecPicBuffering(temporalLayer); // m_uiMaxDecPicBuffering has the space for the picture currently being decoded -
branches/SHM-dev/source/Lib/TLibEncoder/TEncAnalyze.h
r1447 r1489 145 145 Double dScale = dFps / 1000 / (Double)m_uiNumPic; 146 146 147 #if SVC_EXTENSION 148 // SHM: to avoid compiler warning of possible usage of uninitialized variable 149 Double MSEBasedSNR[MAX_NUM_COMPONENT] = {0, }; 150 #else 147 151 Double MSEBasedSNR[MAX_NUM_COMPONENT]; 152 #endif 148 153 if (printMSEBasedSNR) 149 154 {
Note: See TracChangeset for help on using the changeset viewer.