Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: third_party/brotli/dec/decode.h

Issue 1956893002: Added brotli enc/ and tools/ directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to most recent build tools Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/brotli/dec/Makefile ('k') | third_party/brotli/dec/decode.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/dec/decode.h
diff --git a/third_party/brotli/dec/decode.h b/third_party/brotli/dec/decode.h
index 7ac771e31fb153bdb1fa413d51ab47f6fd253562..4a7bcd1c010413c47c506e4832e4869ccbb4083b 100644
--- a/third_party/brotli/dec/decode.h
+++ b/third_party/brotli/dec/decode.h
@@ -79,8 +79,9 @@ BrotliResult BrotliDecompressStream(size_t* available_in,
/* Fills the new state with a dictionary for LZ77, warming up the ringbuffer,
e.g. for custom static dictionaries for data formats.
Not to be confused with the built-in transformable dictionary of Brotli.
- The dictionary must exist in memory until decoding is done and is owned by
- the caller. To use:
+ |size| should be less or equal to 2^24 (16MiB), otherwise the dictionary will
+ be ignored. The dictionary must exist in memory until decoding is done and
+ is owned by the caller. To use:
1) Allocate and initialize state with BrotliCreateState
2) Use BrotliSetCustomDictionary
3) Use BrotliDecompressStream
« no previous file with comments | « third_party/brotli/dec/Makefile ('k') | third_party/brotli/dec/decode.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698