diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2017-08-04 10:02:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 10:02:56 +0200 |
commit | d63e8f75f5c16a6d7c8308bfd28c43cbdb6ad390 (patch) | |
tree | 9fd22d0e842c81ed36c561107c6f3196fd915855 /docs/encode.h.3 | |
parent | 06082531107d666ba44bb4dc341970a0916ef587 (diff) | |
download | brotli-d63e8f75f5c16a6d7c8308bfd28c43cbdb6ad390.zip brotli-d63e8f75f5c16a6d7c8308bfd28c43cbdb6ad390.tar.gz brotli-d63e8f75f5c16a6d7c8308bfd28c43cbdb6ad390.tar.bz2 |
Update API, and more (#581)
Update API, and more:
* remove "custom dictionary" support
* c/encoder: fix #580: big-endian build
* Java: reduce jar size
* Java: speedup decoding
* Java: add 32-bit CPU support
* Java: make source code JS transpiler-ready
Diffstat (limited to 'docs/encode.h.3')
-rwxr-xr-x | docs/encode.h.3 | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/docs/encode.h.3 b/docs/encode.h.3 index 51570b7..01b4f4f 100755 --- a/docs/encode.h.3 +++ b/docs/encode.h.3 @@ -1,4 +1,4 @@ -.TH "encode.h" 3 "Tue Feb 28 2017" "Brotli" \" -*- nroff -*- +.TH "encode.h" 3 "Wed Aug 2 2017" "Brotli" \" -*- nroff -*- .ad l .nh .SH NAME @@ -100,10 +100,6 @@ encode.h \- API for Brotli compression\&. .br .RI "\fICalculates the output size bound for the given \fCinput_size\fP\&. \fP" .ti -1c -.RI "void \fBBrotliEncoderSetCustomDictionary\fP (\fBBrotliEncoderState\fP *state, size_t size, const uint8_t dict[size])" -.br -.RI "\fIPrepends imaginary LZ77 dictionary\&. \fP" -.ti -1c .RI "\fBBROTLI_BOOL\fP \fBBrotliEncoderSetParameter\fP (\fBBrotliEncoderState\fP *state, \fBBrotliEncoderParameter\fP param, uint32_t value)" .br .RI "\fISets the specified parameter to the given encoder instance\&. \fP" @@ -482,39 +478,6 @@ Result is not applicable to \fBBrotliEncoderCompressStream\fP output, because ev .RE .PP -.SS "void BrotliEncoderSetCustomDictionary (\fBBrotliEncoderState\fP * state, size_t size, const uint8_t dict[size])" - -.PP -Prepends imaginary LZ77 dictionary\&. Fills the fresh \fBBrotliEncoderState\fP with additional data corpus for LZ77 backward references\&. -.PP -\fBNote:\fP -.RS 4 -Not to be confused with the static dictionary (see RFC7932 section 8)\&. -.RE -.PP -Workflow: -.IP "1." 4 -Allocate and initialize state with \fBBrotliEncoderCreateInstance\fP -.IP "2." 4 -Set \fBBROTLI_PARAM_LGWIN\fP parameter -.IP "3." 4 -Invoke \fBBrotliEncoderSetCustomDictionary\fP -.IP "4." 4 -Use \fBBrotliEncoderCompressStream\fP -.IP "5." 4 -Clean up and free state with \fBBrotliEncoderDestroyInstance\fP -.PP -.PP -\fBParameters:\fP -.RS 4 -\fIstate\fP encoder instance -.br -\fIsize\fP length of \fCdict\fP; at most 'window size' bytes are used -.br -\fIdict\fP 'dictionary'; \fBMUST\fP use same dictionary during decompression -.RE -.PP - .SS "\fBBROTLI_BOOL\fP BrotliEncoderSetParameter (\fBBrotliEncoderState\fP * state, \fBBrotliEncoderParameter\fP param, uint32_t value)" .PP |