Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecSlice.h


Ignore:
Timestamp:
1 Sep 2013, 22:47:26 (12 years ago)
Author:
tech
Message:

Merged DEV-2.0-dev0@604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecSlice.h

    r210 r608  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2012, ITU/ISO/IEC
     6 * Copyright (c) 2010-2013, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    7171  TDecSbac*       m_pcBufferLowLatSbacDecoders;   ///< dependent tiles: line to store temporary contexts, one per column of tiles.
    7272  TDecBinCABAC*   m_pcBufferLowLatBinCABACs;
     73  std::vector<TDecSbac*> CTXMem;
    7374 
    7475public:
     
    7778 
    7879  Void  init              ( TDecEntropy* pcEntropyDecoder, TDecCu* pcMbDecoder );
    79   Void  create            ( TComSlice* pcSlice, Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth );
     80  Void  create            ();
    8081  Void  destroy           ();
    8182 
    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(); }
    8387};
    8488
     
    8993  ParameterSetManagerDecoder();
    9094  virtual ~ParameterSetManagerDecoder();
    91 
     95  Void     storePrefetchedVPS(TComVPS *vps)  { m_vpsBuffer.storePS( vps->getVPSId(), vps); };
     96  TComVPS* getPrefetchedVPS  (Int vpsId);
    9297  Void     storePrefetchedSPS(TComSPS *sps)  { m_spsBuffer.storePS( sps->getSPSId(), sps); };
    9398  TComSPS* getPrefetchedSPS  (Int spsId);
    9499  Void     storePrefetchedPPS(TComPPS *pps)  { m_ppsBuffer.storePS( pps->getPPSId(), pps); };
    95100  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_B0046
    99   Void     storePrefetchedVPS(TComVPS *vps)  { m_vpsBuffer.storePS( vps->getVPSId(), vps); };
    100   TComVPS* getPrefetchedVPS  (Int vpsId);
    101 #endif
    102101  Void     applyPrefetchedPS();
    103102
    104103private:
     104  ParameterSetMap<TComVPS> m_vpsBuffer;
    105105  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;
    111107};
    112108
Note: See TracChangeset for help on using the changeset viewer.