Structs§
- Brotli
Decoder State - Opaque structure that holds decoder state.
- Brotli
Encoder Prepared Dictionary - Opaque type for pointer to different possible internal structures containing dictionary prepared for the encoder
- Brotli
Encoder State - Opaque structure that holds encoder state.
- Brotli
Shared Dictionary - Opaque structure that holds shared dictionary data.
Constants§
- BROTLI_
DEFAULT_ QUALITY - BROTLI_
DEFAULT_ WINDOW - BROTLI_
FALSE - BROTLI_
LARGE_ MAX_ WINDOW_ BITS - BROTLI_
MAX_ INPUT_ BLOCK_ BITS - BROTLI_
MAX_ QUALITY - BROTLI_
MAX_ WINDOW_ BITS - BROTLI_
MIN_ INPUT_ BLOCK_ BITS - BROTLI_
MIN_ QUALITY - BROTLI_
MIN_ WINDOW_ BITS - BROTLI_
TRUE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ BLOCK_ TYPE_ TREES - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ CONTEXT_ MAP - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ CONTEXT_ MODES - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ RING_ BUFFER_ 1 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ RING_ BUFFER_ 2 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ ALLOC_ TREE_ GROUPS - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ COMPOUND_ DICTIONARY - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ DICTIONARY_ NOT_ SET - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ BLOCK_ LENGTH_ 1 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ BLOCK_ LENGTH_ 2 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ CL_ SPACE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ CONTEXT_ MAP_ REPEAT - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ DICTIONARY - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ DISTANCE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ EXUBERANT_ META_ NIBBLE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ EXUBERANT_ NIBBLE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ HUFFMAN_ SPACE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ PADDING_ 1 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ PADDING_ 2 - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ RESERVED - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ SIMPLE_ HUFFMAN_ ALPHABET - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ SIMPLE_ HUFFMAN_ SAME - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ TRANSFORM - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ FORMAT_ WINDOW_ BITS - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ INVALID_ ARGUMENTS - Brotli
Decoder Error Code_ BROTLI_ DECODER_ ERROR_ UNREACHABLE - Brotli
Decoder Error Code_ BROTLI_ DECODER_ NEEDS_ MORE_ INPUT - Brotli
Decoder Error Code_ BROTLI_ DECODER_ NEEDS_ MORE_ OUTPUT - Brotli
Decoder Error Code_ BROTLI_ DECODER_ NO_ ERROR - Brotli
Decoder Error Code_ BROTLI_ DECODER_ SUCCESS - Brotli
Decoder Parameter_ BROTLI_ DECODER_ PARAM_ DISABLE_ RING_ BUFFER_ REALLOCATION - Disable “canny” ring buffer allocation strategy.
- Brotli
Decoder Parameter_ BROTLI_ DECODER_ PARAM_ LARGE_ WINDOW - Flag that determines if “Large Window Brotli” is used.
- Brotli
Decoder Result_ BROTLI_ DECODER_ RESULT_ ERROR - Decoding error, e.g. corrupted input or memory allocation problem.
- Brotli
Decoder Result_ BROTLI_ DECODER_ RESULT_ NEEDS_ MORE_ INPUT - Partially done; should be called again with more input.
- Brotli
Decoder Result_ BROTLI_ DECODER_ RESULT_ NEEDS_ MORE_ OUTPUT - Partially done; should be called again with more output.
- Brotli
Decoder Result_ BROTLI_ DECODER_ RESULT_ SUCCESS - Decoding successfully completed.
- Brotli
Encoder Mode_ BROTLI_ MODE_ FONT - Compression mode used in WOFF 2.0.
- Brotli
Encoder Mode_ BROTLI_ MODE_ GENERIC - Default compression mode.
- Brotli
Encoder Mode_ BROTLI_ MODE_ TEXT - Compression mode for UTF-8 formatted text input.
- Brotli
Encoder Operation_ BROTLI_ OPERATION_ EMIT_ METADATA - Emit metadata block to stream.
- Brotli
Encoder Operation_ BROTLI_ OPERATION_ FINISH - Finalize the stream.
- Brotli
Encoder Operation_ BROTLI_ OPERATION_ FLUSH - Produce output for all processed input.
- Brotli
Encoder Operation_ BROTLI_ OPERATION_ PROCESS - Process input.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ DISABLE_ LITERAL_ CONTEXT_ MODELING - Flag that affects usage of “literal context modeling” format feature.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ LARGE_ WINDOW - Flag that determines if “Large Window Brotli” is used.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ LGBLOCK - Recommended input block size.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ LGWIN - Recommended sliding LZ77 window size.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ MODE - Tune encoder for specific input.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ NDIRECT - Recommended number of direct distance codes (NDIRECT).
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ NPOSTFIX - Recommended number of postfix bits (NPOSTFIX).
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ QUALITY - The main compression speed-density lever.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ SIZE_ HINT - Estimated total input size for all ::BrotliEncoderCompressStream calls.
- Brotli
Encoder Parameter_ BROTLI_ PARAM_ STREAM_ OFFSET - Number of bytes of input stream already processed by a different instance.
- Brotli
Shared Dictionary Type_ BROTLI_ SHARED_ DICTIONARY_ RAW - Raw LZ77 prefix dictionary.
- Brotli
Shared Dictionary Type_ BROTLI_ SHARED_ DICTIONARY_ SERIALIZED - Serialized shared dictionary.
Functions§
- Brotli
Decoder ⚠Attach Dictionary - Adds LZ77 prefix dictionary, adds or replaces built-in static dictionary and transforms.
- Brotli
Decoder ⚠Create Instance - Creates an instance of ::BrotliDecoderState and initializes it.
- Brotli
Decoder ⚠Decompress - Performs one-shot memory-to-memory decompression.
- Brotli
Decoder ⚠Decompress Stream - Decompresses the input stream to the output stream.
- Brotli
Decoder ⚠Destroy Instance - Deinitializes and frees ::BrotliDecoderState instance.
- Brotli
Decoder ⚠Error String - Converts error code to a c-string.
- Brotli
Decoder ⚠GetError Code - Acquires a detailed error code.
- Brotli
Decoder ⚠HasMore Output - Checks if decoder has more output.
- Brotli
Decoder ⚠IsFinished - Checks if decoder instance reached the final state.
- Brotli
Decoder ⚠IsUsed - Checks if instance has already consumed input.
- Brotli
Decoder ⚠SetParameter - Sets the specified parameter to the given decoder instance.
- Brotli
Decoder ⚠Take Output - Acquires pointer to internal output buffer.
- Brotli
Decoder ⚠Version - Gets a decoder library version.
- Brotli
Encoder ⚠Attach Prepared Dictionary - Attaches a prepared dictionary of any type to the encoder. Can be used multiple times to attach multiple dictionaries. The dictionary type was determined by BrotliEncoderPrepareDictionary. Multiple raw prefix dictionaries and/or max 1 serialized dictionary with custom words can be attached.
- Brotli
Encoder ⚠Compress - Performs one-shot memory-to-memory compression.
- Brotli
Encoder ⚠Compress Stream - Compresses input stream to output stream.
- Brotli
Encoder ⚠Create Instance - Creates an instance of ::BrotliEncoderState and initializes it.
- Brotli
Encoder ⚠Destroy Instance - Deinitializes and frees ::BrotliEncoderState instance.
- Brotli
Encoder ⚠Destroy Prepared Dictionary - Brotli
Encoder ⚠Estimate Peak Memory Usage - Brotli
Encoder ⚠GetPrepared Dictionary Size - Brotli
Encoder ⚠HasMore Output - Checks if encoder has more output.
- Brotli
Encoder ⚠IsFinished - Checks if encoder instance reached the final state.
- Brotli
Encoder ⚠MaxCompressed Size - Calculates the output size bound for the given @p input_size.
- Brotli
Encoder ⚠Prepare Dictionary - Prepares a shared dictionary from the given file format for the encoder.
- Brotli
Encoder ⚠SetParameter - Sets the specified parameter to the given encoder instance.
- Brotli
Encoder ⚠Take Output - Acquires pointer to internal output buffer.
- Brotli
Encoder ⚠Version - Gets an encoder library version.
- Brotli
Shared ⚠Dictionary Attach - Attaches dictionary to a given instance of ::BrotliSharedDictionary.
- Brotli
Shared ⚠Dictionary Create Instance - Creates an instance of ::BrotliSharedDictionary.
- Brotli
Shared ⚠Dictionary Destroy Instance - Deinitializes and frees ::BrotliSharedDictionary instance.
Type Aliases§
- BROTLI_
BOOL - Brotli
Decoder Error Code - Error code for detailed logging / production debugging.
- Brotli
Decoder Parameter - Options to be used with ::BrotliDecoderSetParameter.
- Brotli
Decoder Result - Result type for ::BrotliDecoderDecompress and ::BrotliDecoderDecompressStream functions.
- Brotli
Encoder Mode - Options for ::BROTLI_PARAM_MODE parameter.
- Brotli
Encoder Operation - Operations that can be performed by streaming encoder.
- Brotli
Encoder Parameter - Options to be used with ::BrotliEncoderSetParameter.
- Brotli
Shared Dictionary Type - Input data type for ::BrotliSharedDictionaryAttach.
- brotli_
alloc_ func - Allocating function pointer type.
- brotli_
free_ func - Deallocating function pointer type.