• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
CCoder(int encode)26   CCoder(int encode): _bufferPos(0), _encode(encode) { x86_Convert_Init(_prevMask); }
27 };
28 
29 }}
30 
31 #endif
32