Changeset 56 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecBinCoder.h


Ignore:
Timestamp:
11 May 2012, 21:20:17 (13 years ago)
Author:
hschwarz
Message:

updated trunk (move to HM6.1)

File:
1 edited

Legend:

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

    r5 r56  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license.
     4 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2011, ISO/IEC
     6 * Copyright (c) 2010-2012, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    1515 *    this list of conditions and the following disclaimer in the documentation
    1616 *    and/or other materials provided with the distribution.
    17  *  * Neither the name of the ISO/IEC nor the names of its contributors may
     17 *  * Neither the name of the ITU/ISO/IEC nor the names of its contributors may
    1818 *    be used to endorse or promote products derived from this software without
    1919 *    specific prior written permission.
     
    3232 */
    3333
    34 
    35 
    3634/** \file     TDecBinCoder.h
    3735    \brief    binary entropy decoder interface
     
    4139#define __TDEC_BIN_CODER__
    4240
    43 #include "../TLibCommon/ContextModel.h"
    44 #include "../TLibCommon/TComBitStream.h"
     41#include "TLibCommon/ContextModel.h"
     42#include "TLibCommon/TComBitStream.h"
    4543
     44//! \ingroup TLibDecoder
     45//! \{
     46class TDecBinCABAC;
    4647
    4748class TDecBinIf
    4849{
    4950public:
    50   virtual Void  init              ( TComBitstream* pcTComBitstream )          = 0;
     51  virtual Void  init              ( TComInputBitstream* pcTComBitstream )     = 0;
    5152  virtual Void  uninit            ()                                          = 0;
    5253
    5354  virtual Void  start             ()                                          = 0;
    5455  virtual Void  finish            ()                                          = 0;
     56#if OL_FLUSH
     57  virtual Void  flush            ()                                           = 0;
     58#endif
    5559
    5660  virtual Void  decodeBin         ( UInt& ruiBin, ContextModel& rcCtxModel )  = 0;
    5761  virtual Void  decodeBinEP       ( UInt& ruiBin                           )  = 0;
     62  virtual Void  decodeBinsEP      ( UInt& ruiBins, Int numBins             )  = 0;
    5863  virtual Void  decodeBinTrm      ( UInt& ruiBin                           )  = 0;
    5964 
     65  virtual Void  resetBac          ()                                          = 0;
     66#if BURST_IPCM
     67  virtual Void  decodeNumSubseqIPCM( Int& numSubseqIPCM )                  = 0;
     68#endif
     69  virtual Void  decodePCMAlignBits()                                          = 0;
     70  virtual Void  xReadPCMCode      ( UInt uiLength, UInt& ruiCode)              = 0;
     71
    6072  virtual ~TDecBinIf() {}
     73
     74  virtual Void  copyState         ( TDecBinIf* pcTDecBinIf )                  = 0;
     75  virtual TDecBinCABAC*   getTDecBinCABAC   ()  { return 0; }
     76#if !OL_FLUSH_ALIGN
     77  virtual Int   getBitsReadAhead() { return 0; }
     78#endif
    6179};
    6280
     81//! \}
     82
    6383#endif
    64 
Note: See TracChangeset for help on using the changeset viewer.