Last change
on this file since 96 was
2,
checked in by hhi, 13 years ago
|
inital import
|
-
Property svn:eol-style set to
native
|
File size:
870 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | /** \file TDecBinCoder.h |
---|
4 | \brief binary entropy decoder interface |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef __TDEC_BIN_CODER__ |
---|
8 | #define __TDEC_BIN_CODER__ |
---|
9 | |
---|
10 | #include "../TLibCommon/ContextModel.h" |
---|
11 | #include "../TLibCommon/TComBitStream.h" |
---|
12 | |
---|
13 | |
---|
14 | class TDecBinIf |
---|
15 | { |
---|
16 | public: |
---|
17 | virtual Void init ( TComBitstream* pcTComBitstream ) = 0; |
---|
18 | virtual Void uninit () = 0; |
---|
19 | |
---|
20 | virtual Void start () = 0; |
---|
21 | virtual Void finish () = 0; |
---|
22 | |
---|
23 | virtual Void decodeBin ( UInt& ruiBin, ContextModel& rcCtxModel ) = 0; |
---|
24 | virtual Void decodeBinEP ( UInt& ruiBin ) = 0; |
---|
25 | virtual Void decodeBinTrm ( UInt& ruiBin ) = 0; |
---|
26 | |
---|
27 | virtual ~TDecBinIf() {} |
---|
28 | }; |
---|
29 | |
---|
30 | #endif |
---|
31 | |
---|
Note: See
TracBrowser for help on using the repository browser.