Changeset 1503 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
- Timestamp:
- 11 Dec 2015, 19:35:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
r1502 r1503 121 121 122 122 #if SVC_EXTENSION 123 // SHM: temporal solution to keep VPS with a picture, ideally it should be picture specific, but currently sizeof(TComVPS) = 86929196124 static TComVPS m_vps;125 123 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 126 124 Int* m_piTileSetIdxMap; //the map of the tile set index relative to LCU raster scan address … … 132 130 public: 133 131 #if SVC_EXTENSION 134 Void create ( const TCom VPS &vps, const TComSPS &sps, const TComPPS &pps, UInt uiMaxDepth, const UInt layerId );132 Void create ( const TComSPS &sps, const TComPPS &pps, UInt uiMaxDepth, const UInt layerId ); 135 133 #if CGS_3D_ASYMLUT 136 134 TComPPS* getPPSToUpdate() { return &m_pps; } … … 154 152 const TComPPS& getPPS() const { return m_pps; } 155 153 156 #if SVC_EXTENSION157 TComSlice * swapSliceObject(TComSlice* p, UInt i) { p->setVPS(&m_vps); p->setSPS(&m_sps); p->setPPS(&m_pps); TComSlice *pTmp=m_apSlices[i];m_apSlices[i] = p; pTmp->setVPS(0); pTmp->setSPS(0); pTmp->setPPS(0); return pTmp; }158 #else159 154 TComSlice * swapSliceObject(TComSlice* p, UInt i) { p->setSPS(&m_sps); p->setPPS(&m_pps); TComSlice *pTmp=m_apSlices[i];m_apSlices[i] = p; pTmp->setSPS(0); pTmp->setPPS(0); return pTmp; } 160 #endif161 155 UInt getNumAllocatedSlice() const { return UInt(m_apSlices.size()); } 162 156 Void allocateNewSlice(); … … 194 188 m_pbSkippedTileSetFlag[i] = skipFlag; 195 189 } 196 Int getTileSetIdxMap( Int i ) { return *(m_piTileSetIdxMap + i); }197 UChar getTileSetType( Int i ) { return *(m_pucTileSetType + i); }190 Int getTileSetIdxMap( Int i ) { return *(m_piTileSetIdxMap + i); } 191 UChar getTileSetType( Int i ) { return *(m_pucTileSetType + i); } 198 192 Bool getSkippedTileSetFlag( Int i ) { return *(m_pbSkippedTileSetFlag + i); } 199 193 #endif 200 Void inferSpsForNonHEVCBL( ) { m_sps.inferSPS(0, &m_vps);}194 Void inferSpsForNonHEVCBL(TComVPS *vps) { m_sps.inferSPS(0, vps); } 201 195 #endif //SVC_EXTENSION 202 196
Note: See TracChangeset for help on using the changeset viewer.