- Timestamp:
- 3 Dec 2015, 01:27:13 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
r1489 r1494 154 154 const TComPPS& getPPS() const { return m_pps; } 155 155 156 #if SVC_EXTENSION 157 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 #else 156 159 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 #endif 157 161 UInt getNumAllocatedSlice() const { return UInt(m_apSlices.size()); } 158 162 Void allocateNewSlice(); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1481 r1494 2102 2102 #else 2103 2103 Void initSlice(); 2104 #endif2105 2104 2106 2105 Void setVPS( TComVPS* pcVPS ) { m_pcVPS = pcVPS; } 2106 #endif 2107 2107 const TComVPS* getVPS() const { return m_pcVPS; } 2108 2108 Void setSPS( const TComSPS* pcSPS ) { m_pcSPS = pcSPS; }
Note: See TracChangeset for help on using the changeset viewer.