Changeset 56 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecSlice.h
- Timestamp:
- 11 May 2012, 21:20:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecSlice.h
r5 r56 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 1,ISO/IEC6 * Copyright (c) 2010-2012, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 15 15 * this list of conditions and the following disclaimer in the documentation 16 16 * and/or other materials provided with the distribution. 17 * * Neither the name of the I SO/IEC nor the names of its contributors may17 * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may 18 18 * be used to endorse or promote products derived from this software without 19 19 * specific prior written permission. … … 32 32 */ 33 33 34 35 36 34 /** \file TDecSlice.h 37 35 \brief slice decoder class (header) … … 45 43 #endif // _MSC_VER > 1000 46 44 47 #include " ../TLibCommon/CommonDef.h"48 #include " ../TLibCommon/TComBitStream.h"49 #include " ../TLibCommon/TComPic.h"45 #include "TLibCommon/CommonDef.h" 46 #include "TLibCommon/TComBitStream.h" 47 #include "TLibCommon/TComPic.h" 50 48 #include "TDecEntropy.h" 51 49 #include "TDecCu.h" 50 #include "TDecSbac.h" 51 #include "TDecBinCoderCABAC.h" 52 53 //! \ingroup TLibDecoder 54 //! \{ 52 55 53 56 // ==================================================================================================================== … … 64 67 UInt m_uiCurrSliceIdx; 65 68 69 TDecSbac* m_pcBufferSbacDecoders; ///< line to store temporary contexts, one per column of tiles. 70 TDecBinCABAC* m_pcBufferBinCABACs; 71 TDecSbac* m_pcBufferLowLatSbacDecoders; ///< dependent tiles: line to store temporary contexts, one per column of tiles. 72 TDecBinCABAC* m_pcBufferLowLatBinCABACs; 73 66 74 public: 67 75 TDecSlice(); … … 72 80 Void destroy (); 73 81 74 Void decompressSlice ( TComBitstream* pcBitstream, TComPic*& rpcPic ); 82 Void decompressSlice ( TComInputBitstream* pcBitstream, TComInputBitstream** ppcSubstreams, TComPic*& rpcPic, TDecSbac* pcSbacDecoder, TDecSbac* pcSbacDecoders ); 83 }; 75 84 85 86 class ParameterSetManagerDecoder:public ParameterSetManager 87 { 88 public: 89 ParameterSetManagerDecoder(); 90 virtual ~ParameterSetManagerDecoder(); 91 92 Void storePrefetchedSPS(TComSPS *sps) { m_spsBuffer.storePS( sps->getSPSId(), sps); }; 93 TComSPS* getPrefetchedSPS (Int spsId); 94 Void storePrefetchedPPS(TComPPS *pps) { m_ppsBuffer.storePS( pps->getPPSId(), pps); }; 95 TComPPS* getPrefetchedPPS (Int ppsId); 96 Void storePrefetchedAPS(TComAPS *aps) { m_apsBuffer.storePS( aps->getAPSID(), aps); }; 97 TComAPS* getPrefetchedAPS (Int apsId); 98 99 Void applyPrefetchedPS(); 100 101 private: 102 ParameterSetMap<TComSPS> m_spsBuffer; 103 ParameterSetMap<TComPPS> m_ppsBuffer; 104 ParameterSetMap<TComAPS> m_apsBuffer; 76 105 }; 106 107 108 //! \} 77 109 78 110 #endif
Note: See TracChangeset for help on using the changeset viewer.