1 // BranchMisc.h
2
3 #ifndef ZIP7_INC_COMPRESS_BRANCH_MISC_H
4 #define ZIP7_INC_COMPRESS_BRANCH_MISC_H
5 #include "../../../C/Bra.h"
6
7 #include "../../Common/MyCom.h"
8
9 #include "../ICoder.h"
10
11 namespace NCompress {
12 namespace NBranch {
13
Z7_CLASS_IMP_COM_1(CCoder,ICompressFilter)14 Z7_CLASS_IMP_COM_1(
15 CCoder
16 , ICompressFilter
17 )
18 UInt32 _pc;
19 z7_Func_BranchConv BraFunc;
20 public:
21 CCoder(z7_Func_BranchConv bra): _pc(0), BraFunc(bra) {}
22 };
23
24 namespace NArm64 {
25
26 #ifndef Z7_EXTRACT_ONLY
27
Z7_CLASS_IMP_COM_3(CEncoder,ICompressFilter,ICompressSetCoderProperties,ICompressWriteCoderProperties)28 Z7_CLASS_IMP_COM_3(
29 CEncoder
30 , ICompressFilter
31 , ICompressSetCoderProperties
32 , ICompressWriteCoderProperties
33 )
34 UInt32 _pc;
35 UInt32 _pc_Init;
36 public:
37 CEncoder(): _pc(0), _pc_Init(0) {}
38 };
39
40 #endif
41
Z7_CLASS_IMP_COM_2(CDecoder,ICompressFilter,ICompressSetDecoderProperties2)42 Z7_CLASS_IMP_COM_2(
43 CDecoder
44 , ICompressFilter
45 , ICompressSetDecoderProperties2
46 )
47 UInt32 _pc;
48 UInt32 _pc_Init;
49 public:
50 CDecoder(): _pc(0), _pc_Init(0) {}
51 };
52
53 }
54
55 }}
56
57 #endif
58