Arithmetic coding tutorial code  1
AC
arith_code_config.hh
Go to the documentation of this file.
1 /****** tunable definitions **********/
2 
4 const int NO_SYMBOL = -1;
5 
8 const int FLUSH_SYMBOL = -2;
9 
13 const int MIN_SYMBOL = 0;
14 
15 // enable this to check that, in decoder, fast search and slow search always agree
16 // (the code will be much slower!)
17 // #define AC_CHECK_FAST_SEARCH
18 
19 #ifndef AC_representation_bitsize
20 #define AC_representation_bitsize 31
22 #endif
23 
25 #define AC_QUARTER_ZOOM
26 
const int MIN_SYMBOL
Definition: arith_code_config.hh:13
const int FLUSH_SYMBOL
Definition: arith_code_config.hh:8
const int NO_SYMBOL
value that represents a non symbol
Definition: arith_code_config.hh:4