Go to the documentation of this file.
15 #define RC_SHIFT_BITS 8
16 #define RC_TOP_BITS 24
17 #define RC_TOP_VALUE (1 << RC_TOP_BITS)
18 #define RC_BIT_MODEL_TOTAL_BITS 11
19 #define RC_BIT_MODEL_TOTAL (1 << RC_BIT_MODEL_TOTAL_BITS)
20 #define RC_MOVE_BITS 5
27 #define POS_STATES_MAX (1 << 4)
106 #define LITERAL_CODER_SIZE 0x300
109 #define LITERAL_CODERS_MAX (1 << 4)
112 #define MATCH_LEN_MIN 2
121 #define LEN_LOW_BITS 3
122 #define LEN_LOW_SYMBOLS (1 << LEN_LOW_BITS)
123 #define LEN_MID_BITS 3
124 #define LEN_MID_SYMBOLS (1 << LEN_MID_BITS)
125 #define LEN_HIGH_BITS 8
126 #define LEN_HIGH_SYMBOLS (1 << LEN_HIGH_BITS)
127 #define LEN_SYMBOLS (LEN_LOW_SYMBOLS + LEN_MID_SYMBOLS + LEN_HIGH_SYMBOLS)
133 #define MATCH_LEN_MAX (MATCH_LEN_MIN + LEN_SYMBOLS - 1)
141 #define DIST_STATES 4
158 #define DIST_SLOT_BITS 6
159 #define DIST_SLOTS (1 << DIST_SLOT_BITS)
168 #define DIST_MODEL_START 4
180 #define DIST_MODEL_END 14
183 #define FULL_DISTANCES_BITS (DIST_MODEL_END / 2)
184 #define FULL_DISTANCES (1 << FULL_DISTANCES_BITS)
191 #define ALIGN_SIZE (1 << ALIGN_BITS)
192 #define ALIGN_MASK (ALIGN_SIZE - 1)
195 #define PROBS_TOTAL (1846 + LITERAL_CODERS_MAX * LITERAL_CODER_SIZE)