source: 3DVCSoftware/branches/0.1-poznan-univ/source/Lib/TLibDecoder/TDecBinCoderCABAC.h @ 4

Last change on this file since 4 was 2, checked in by hhi, 13 years ago

inital import

  • Property svn:eol-style set to native
File size: 867 bytes
Line 
1
2
3/** \file     TDecBinCoderCABAC.h
4    \brief    binary entropy decoder of CABAC
5*/
6
7#ifndef __TDEC_BIN_CODER_CABAC__
8#define __TDEC_BIN_CODER_CABAC__
9
10#include "../TLibCommon/TComCABACTables.h"
11#include "TDecBinCoder.h"
12
13
14class TDecBinCABAC : public TDecBinIf
15{
16public:
17  TDecBinCABAC ();
18  virtual ~TDecBinCABAC();
19
20  Void  init              ( TComBitstream* pcTComBitstream );
21  Void  uninit            ();
22
23  Void  start             ();
24  Void  finish            ();
25
26  Void  decodeBin         ( UInt& ruiBin, ContextModel& rcCtxModel );
27  Void  decodeBinEP       ( UInt& ruiBin                           );
28  Void  decodeBinTrm      ( UInt& ruiBin                           );
29
30private:
31  Void  xReadBit          ( UInt& ruiVal );
32
33private:
34  TComBitstream*      m_pcTComBitstream;
35  UInt                m_uiRange;
36  UInt                m_uiValue;
37};
38
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.