iz_p.h
Go to the documentation of this file.
1 #ifndef IZ_IZ_P_H
2 #define IZ_IZ_P_H 1
3 
4 #include "intmacros.h"
5 #include "bitcoder.h"
6 #include "pixel.h"
7 #include "image.h"
8 
9 namespace IZ {
10 
11 const int CONTEXT_COUNT = 9;
12 const int CONTEXT_BITS = 4;
13 const int CONTEXT_SIZE_REGULAR = 1;
14 const int CONTEXT_SIZE_RLE = 3;
15 
16 const int MAX_CODE_LENGTH = 6;
17 const int MAX_CODE_VALUE = (1 << MAX_CODE_LENGTH);
18 
19 extern unsigned int staticdBits[1 << (2 * CONTEXT_BITS)];
20 extern const unsigned int staticdCount[1 << (2 * CONTEXT_BITS)];
21 extern char decodeTable[1 << CONTEXT_BITS][MAX_CODE_VALUE];
22 
23 } // namespace IZ
24 
25 #endif
const int MAX_CODE_LENGTH
Definition: iz_p.h:16
const int CONTEXT_SIZE_RLE
Definition: iz_p.h:14
Definition: bitcoder.h:6
const unsigned int staticdCount[1<<(2 *CONTEXT_BITS)]
Definition: table.cpp:9
const int CONTEXT_SIZE_REGULAR
Definition: iz_p.h:13
const int CONTEXT_COUNT
Definition: iz_p.h:11
const int CONTEXT_BITS
Definition: iz_p.h:12
unsigned int staticdBits[1<<(2 *CONTEXT_BITS)]
Definition: table.cpp:37
char decodeTable[1<< CONTEXT_BITS][MAX_CODE_VALUE]
Definition: table.cpp:39
const int MAX_CODE_VALUE
Definition: iz_p.h:17


imagezero
Author(s):
autogenerated on Mon Feb 28 2022 22:33:12