Lines Matching full:bits
35 #define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */
36 #define HT_KEY_MASK 0x1FFF /* 13bits keys */
37 #define HT_KEY_NUM_BITS 13 /* 13bits keys */
38 #define HT_MAX_KEY 8191 /* 13bits - 1, maximal code possible */
39 #define HT_MAX_CODE 4095 /* Biggest code possible in 12 bits. */
41 /* The 32 bits of the long are divided into two parts for the key & code: */
42 /* 1. The code is 12 bits as our compression algorithm is limited to 12bits */
43 /* 2. The key is 12 bits Prefix code + 8 bit new char or 20 bits. */
44 /* The key is the upper 20 bits. The code is the lower 12. */