Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecSlice.h
- Timestamp:
- 1 Sep 2013, 22:47:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecSlice.h
r210 r608 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 2, ITU/ISO/IEC6 * Copyright (c) 2010-2013, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 71 71 TDecSbac* m_pcBufferLowLatSbacDecoders; ///< dependent tiles: line to store temporary contexts, one per column of tiles. 72 72 TDecBinCABAC* m_pcBufferLowLatBinCABACs; 73 std::vector<TDecSbac*> CTXMem; 73 74 74 75 public: … … 77 78 78 79 Void init ( TDecEntropy* pcEntropyDecoder, TDecCu* pcMbDecoder ); 79 Void create ( TComSlice* pcSlice, Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth);80 Void create (); 80 81 Void destroy (); 81 82 82 Void decompressSlice ( TComInputBitstream* pcBitstream, TComInputBitstream** ppcSubstreams, TComPic*& rpcPic, TDecSbac* pcSbacDecoder, TDecSbac* pcSbacDecoders ); 83 Void decompressSlice ( TComInputBitstream** ppcSubstreams, TComPic*& rpcPic, TDecSbac* pcSbacDecoder, TDecSbac* pcSbacDecoders ); 84 Void initCtxMem( UInt i ); 85 Void setCtxMem( TDecSbac* sb, Int b ) { CTXMem[b] = sb; } 86 Int getCtxMemSize( ) { return (Int)CTXMem.size(); } 83 87 }; 84 88 … … 89 93 ParameterSetManagerDecoder(); 90 94 virtual ~ParameterSetManagerDecoder(); 91 95 Void storePrefetchedVPS(TComVPS *vps) { m_vpsBuffer.storePS( vps->getVPSId(), vps); }; 96 TComVPS* getPrefetchedVPS (Int vpsId); 92 97 Void storePrefetchedSPS(TComSPS *sps) { m_spsBuffer.storePS( sps->getSPSId(), sps); }; 93 98 TComSPS* getPrefetchedSPS (Int spsId); 94 99 Void storePrefetchedPPS(TComPPS *pps) { m_ppsBuffer.storePS( pps->getPPSId(), pps); }; 95 100 TComPPS* getPrefetchedPPS (Int ppsId); 96 Void storePrefetchedAPS(TComAPS *aps) { m_apsBuffer.storePS( aps->getAPSID(), aps); };97 TComAPS* getPrefetchedAPS (Int apsId);98 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B004699 Void storePrefetchedVPS(TComVPS *vps) { m_vpsBuffer.storePS( vps->getVPSId(), vps); };100 TComVPS* getPrefetchedVPS (Int vpsId);101 #endif102 101 Void applyPrefetchedPS(); 103 102 104 103 private: 104 ParameterSetMap<TComVPS> m_vpsBuffer; 105 105 ParameterSetMap<TComSPS> m_spsBuffer; 106 ParameterSetMap<TComPPS> m_ppsBuffer; 107 ParameterSetMap<TComAPS> m_apsBuffer; 108 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 109 ParameterSetMap<TComVPS> m_vpsBuffer; 110 #endif 106 ParameterSetMap<TComPPS> m_ppsBuffer; 111 107 }; 112 108
Note: See TracChangeset for help on using the changeset viewer.