aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2018-03-20 17:37:41 +0600
committerGitHub <noreply@github.com>2018-03-20 17:37:41 +0600
commit631fe194a196f2c8e35510c72fe6a61548cd41c9 (patch)
tree9f527d4a365f10c930e1b9ec4dba1aab786c6b07 /docs
parent533843e3546cd24c8344eaa899c6b0b681c8d222 (diff)
downloadbrotli-631fe194a196f2c8e35510c72fe6a61548cd41c9.zip
brotli-631fe194a196f2c8e35510c72fe6a61548cd41c9.tar.gz
brotli-631fe194a196f2c8e35510c72fe6a61548cd41c9.tar.bz2
Update (#651)
* fix `bazel` build (ignore switch case fall-through) * add `NPOSTFIX` / `NDIRECT` encoder parameters * fix source file lists (add `params.h`) * fix bug in `durchschlag` * print clarifying messages wheb CLI argument parsing fails
Diffstat (limited to 'docs')
-rw-r--r--docs/encode.h.310
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/encode.h.3 b/docs/encode.h.3
index 906ce07..eff57bd 100644
--- a/docs/encode.h.3
+++ b/docs/encode.h.3
@@ -294,6 +294,16 @@ Estimated total input size for all \fBBrotliEncoderCompressStream\fP calls\&. Th
.TP
\fB\fIBROTLI_PARAM_LARGE_WINDOW \fP\fP
Flag that determines if 'Large Window Brotli' is used\&.
+.TP
+\fB\fIBROTLI_PARAM_NPOSTFIX \fP\fP
+Recommended number of postfix bits (NPOSTFIX)\&. Encoder may change this value\&.
+.PP
+Range is from 0 to ::BROTLI_MAX_NPOSTFIX\&.
+.TP
+\fB\fIBROTLI_PARAM_NDIRECT \fP\fP
+Recommended number of direct distance codes (NDIRECT)\&. Encoder may change this value\&.
+.PP
+Range is from 0 to (15 << NPOSTFIX) in steps of (1 << NPOSTFIX)\&.
.SH "Function Documentation"
.PP
.SS "\fBBROTLI_BOOL\fP BrotliEncoderCompress (int quality, int lgwin, \fBBrotliEncoderMode\fP mode, size_t input_size, const uint8_t input_buffer[input_size], size_t * encoded_size, uint8_t encoded_buffer[*encoded_size])"