iz_p.h
Go to the documentation of this file.
00001 #ifndef IZ_IZ_P_H
00002 #define IZ_IZ_P_H 1
00003 
00004 #include "intmacros.h"
00005 #include "bitcoder.h"
00006 #include "pixel.h"
00007 #include "image.h"
00008 
00009 namespace IZ {
00010 
00011 const int CONTEXT_COUNT = 9;
00012 const int CONTEXT_BITS = 4;
00013 const int CONTEXT_SIZE_REGULAR = 1;
00014 const int CONTEXT_SIZE_RLE = 3;
00015 
00016 const int MAX_CODE_LENGTH = 6;
00017 const int MAX_CODE_VALUE = (1 << MAX_CODE_LENGTH);
00018 
00019 extern unsigned int staticdBits[1 << (2 * CONTEXT_BITS)];
00020 extern const unsigned int staticdCount[1 << (2 * CONTEXT_BITS)];
00021 extern char decodeTable[1 << CONTEXT_BITS][MAX_CODE_VALUE];
00022 
00023 } // namespace IZ
00024 
00025 #endif


imagezero
Author(s):
autogenerated on Thu Jun 6 2019 21:34:51