![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Go to the source code of this file.
Data Structures | |
struct | BrotliDistanceCodeLimit |
struct | BrotliPrefixCodeRange |
Typedefs | |
typedef struct BrotliDistanceCodeLimit | BrotliDistanceCodeLimit |
Functions | |
BROTLI_UNUSED_FUNCTION BrotliDistanceCodeLimit | BrotliCalculateDistanceCodeLimit (uint32_t max_distance, uint32_t npostfix, uint32_t ndirect) |
Variables | |
BROTLI_COMMON_API const BrotliPrefixCodeRange | _kBrotliPrefixCodeRanges [BROTLI_NUM_BLOCK_LEN_SYMBOLS] |
Common constants used in decoder and encoder API.
#define BROTLI_CODE_LENGTH_CODES (BROTLI_REPEAT_ZERO_CODE_LENGTH + 1) |
#define BROTLI_CONTEXT_MAP_MAX_RLE 16 |
#define BROTLI_DISTANCE_ALPHABET_SIZE | ( | NPOSTFIX, | |
NDIRECT, | |||
MAXNBITS ) |
#define BROTLI_DISTANCE_CONTEXT_BITS 2 |
#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. 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.
#define BROTLI_LARGE_MAX_WBITS 30 |
The maximum supported large brotli window bits by the encoder and decoder. Large window brotli allows up to 62 bits, however the current encoder and decoder, designed for 32-bit integers, only support up to 30 bits maximum.
#define BROTLI_LARGE_MIN_WBITS 10 |
#define BROTLI_LITERAL_CONTEXT_BITS 6 |
#define BROTLI_MAX_ALLOWED_DISTANCE 0x7FFFFFFC |
#define BROTLI_MAX_BACKWARD_LIMIT | ( | W | ) |
#define BROTLI_MAX_BLOCK_TYPE_SYMBOLS (BROTLI_MAX_NUMBER_OF_BLOCK_TYPES + 2) |
#define BROTLI_MAX_CONTEXT_MAP_SYMBOLS |
#define BROTLI_MAX_DISTANCE 0x3FFFFFC |
#define BROTLI_MAX_DISTANCE_BITS 24U |
#define BROTLI_MAX_NDIRECT 120 |
#define BROTLI_MAX_NPOSTFIX 3 |
Maximal number of "postfix" bits.
Number of "postfix" bits is stored as 2 bits in meta-block header.
#define BROTLI_MAX_NUMBER_OF_BLOCK_TYPES 256 |
#define BROTLI_NUM_BLOCK_LEN_SYMBOLS 26 |
#define BROTLI_NUM_COMMAND_SYMBOLS 704 |
#define BROTLI_NUM_DISTANCE_SHORT_CODES 16 |
#define BROTLI_NUM_DISTANCE_SYMBOLS |
#define BROTLI_NUM_INS_COPY_CODES 24 |
#define BROTLI_NUM_LITERAL_SYMBOLS 256 |
#define BROTLI_REPEAT_PREVIOUS_CODE_LENGTH 16 |
#define BROTLI_REPEAT_ZERO_CODE_LENGTH 17 |
#define BROTLI_WINDOW_GAP 16 |
typedef struct BrotliDistanceCodeLimit BrotliDistanceCodeLimit |
BROTLI_UNUSED_FUNCTION BrotliDistanceCodeLimit BrotliCalculateDistanceCodeLimit | ( | uint32_t | max_distance, |
uint32_t | npostfix, | ||
uint32_t | ndirect ) |
|
extern |