std/brotli: document the quality 10 and 11 encoder

This commit is contained in:
Claude committed 2026-10-27 03:11:46 +00:00
1 parent 3669090209
commit ccc46dee9e
3 files changed
+148 -27

No files matched your search

+7 -7
View File
@@ -20,14 +20,14 @@
// std/softfloat package, which is bit-exact. FastLog2's log2 matches glibc's.
//
// Qualities 0 and 1 (the C code's BrotliCompressFragmentFast and
// BrotliCompressFragmentTwoPass) and qualities 2 to 9 (the C code's
// EncodeData, see encode_data.wuffs) are implemented so far. See README.md
// for the API, including how the C code's FLUSH and EMIT_METADATA operations
// map to the request_flush and request_emit_metadata methods.
// BrotliCompressFragmentTwoPass) and qualities 2 to 11 (the C code's
// EncodeData, see encode_data.wuffs, with Zopfli and BrotliBuildMetaBlock at
// qualities 10 and 11) are implemented. See README.md for the API, including
// how the C code's FLUSH and EMIT_METADATA operations map to the
// request_flush and request_emit_metadata methods.
//
// TODO: qualities 10 and 11 (Zopfli and BrotliBuildMetaBlock), large-window
// brotli at qualities 3 and above and custom (prepared or shared)
// dictionaries.
// TODO: large-window brotli at qualities 3 and above and custom (prepared or
// shared) dictionaries.
use "std/softfloat"