|
|
#define | BROTLI_CONTEXT_MAP_MAX_RLE 16 |
| |
|
#define | BROTLI_MAX_NUMBER_OF_BLOCK_TYPES 256 |
| |
|
#define | BROTLI_NUM_LITERAL_SYMBOLS 256 |
| |
|
#define | BROTLI_NUM_COMMAND_SYMBOLS 704 |
| |
|
#define | BROTLI_NUM_BLOCK_LEN_SYMBOLS 26 |
| |
| #define | BROTLI_MAX_CONTEXT_MAP_SYMBOLS |
| |
|
#define | BROTLI_MAX_BLOCK_TYPE_SYMBOLS (BROTLI_MAX_NUMBER_OF_BLOCK_TYPES + 2) |
| |
|
#define | BROTLI_REPEAT_PREVIOUS_CODE_LENGTH 16 |
| |
|
#define | BROTLI_REPEAT_ZERO_CODE_LENGTH 17 |
| |
|
#define | BROTLI_CODE_LENGTH_CODES (BROTLI_REPEAT_ZERO_CODE_LENGTH + 1) |
| |
|
#define | BROTLI_INITIAL_REPEATED_CODE_LENGTH 8 |
| |
| #define | BROTLI_LARGE_MAX_DISTANCE_BITS 62U |
| | The theoretical maximum number of distance bits specified for large window brotli, for 64-bit encoders and decoders.
|
| |
|
#define | BROTLI_LARGE_MIN_WBITS 10 |
| |
| #define | BROTLI_LARGE_MAX_WBITS 30 |
| | The maximum supported large brotli window bits by the encoder and decoder.
|
| |
|
#define | BROTLI_NUM_DISTANCE_SHORT_CODES 16 |
| |
| #define | BROTLI_MAX_NPOSTFIX 3 |
| | Maximal number of "postfix" bits.
|
| |
|
#define | BROTLI_MAX_NDIRECT 120 |
| |
|
#define | BROTLI_MAX_DISTANCE_BITS 24U |
| |
| #define | BROTLI_DISTANCE_ALPHABET_SIZE(NPOSTFIX, NDIRECT, MAXNBITS) |
| |
| #define | BROTLI_NUM_DISTANCE_SYMBOLS |
| |
|
#define | BROTLI_MAX_DISTANCE 0x3FFFFFC |
| |
|
#define | BROTLI_MAX_ALLOWED_DISTANCE 0x7FFFFFFC |
| |
|
#define | BROTLI_NUM_INS_COPY_CODES 24 |
| |
|
#define | BROTLI_LITERAL_CONTEXT_BITS 6 |
| |
|
#define | BROTLI_DISTANCE_CONTEXT_BITS 2 |
| |
|
#define | BROTLI_WINDOW_GAP 16 |
| |
|
#define | BROTLI_MAX_BACKWARD_LIMIT(W) (((size_t)1 << (W)) - BROTLI_WINDOW_GAP) |
| |
Common constants used in decoder and encoder API.
| #define BROTLI_LARGE_MAX_DISTANCE_BITS 62U |
The theoretical maximum number of distance bits specified for large window brotli, for 64-bit encoders and decoders.
Even when in practice 32-bit encoders and decoders only support up to 30 max distance bits, the value is set to 62 because it affects the large window brotli file format. Specifically, it affects the encoding of simple huffman tree for distances, see Specification RFC 7932 chapter 3.4.