diff options
Diffstat (limited to 'c/include/brotli/encode.h')
-rw-r--r-- | c/include/brotli/encode.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/c/include/brotli/encode.h b/c/include/brotli/encode.h index 0b5c8c7..0ced7e5 100644 --- a/c/include/brotli/encode.h +++ b/c/include/brotli/encode.h @@ -185,7 +185,23 @@ typedef enum BrotliEncoderParameter { /** * Flag that determines if "Large Window Brotli" is used. */ - BROTLI_PARAM_LARGE_WINDOW = 6 + BROTLI_PARAM_LARGE_WINDOW = 6, + /** + * Recommended number of postfix bits (NPOSTFIX). + * + * Encoder may change this value. + * + * Range is from 0 to ::BROTLI_MAX_NPOSTFIX. + */ + BROTLI_PARAM_NPOSTFIX = 7, + /** + * Recommended number of direct distance codes (NDIRECT). + * + * Encoder may change this value. + * + * Range is from 0 to (15 << NPOSTFIX) in steps of (1 << NPOSTFIX). + */ + BROTLI_PARAM_NDIRECT = 8 } BrotliEncoderParameter; /** |