diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/Compress/BcjCoder.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CPP/7zip/Compress/BcjCoder.h b/CPP/7zip/Compress/BcjCoder.h new file mode 100644 index 0000000..7883906 --- /dev/null +++ b/CPP/7zip/Compress/BcjCoder.h | |||
@@ -0,0 +1,31 @@ | |||
1 | // BcjCoder.h | ||
2 | |||
3 | #ifndef __COMPRESS_BCJ_CODER_H | ||
4 | #define __COMPRESS_BCJ_CODER_H | ||
5 | |||
6 | #include "../../../C/Bra.h" | ||
7 | |||
8 | #include "../../Common/MyCom.h" | ||
9 | |||
10 | #include "../ICoder.h" | ||
11 | |||
12 | namespace NCompress { | ||
13 | namespace NBcj { | ||
14 | |||
15 | class CCoder: | ||
16 | public ICompressFilter, | ||
17 | public CMyUnknownImp | ||
18 | { | ||
19 | UInt32 _bufferPos; | ||
20 | UInt32 _prevMask; | ||
21 | int _encode; | ||
22 | public: | ||
23 | MY_UNKNOWN_IMP1(ICompressFilter); | ||
24 | INTERFACE_ICompressFilter(;) | ||
25 | |||
26 | CCoder(int encode): _bufferPos(0), _encode(encode) { x86_Convert_Init(_prevMask); } | ||
27 | }; | ||
28 | |||
29 | }} | ||
30 | |||
31 | #endif | ||