Updates to Brotli compression format, decoder and encoder
This commit contains a batch of changes that were made to the Brotli compression algorithm in the last month. Most important changes: * Format change: don't push distances representing static dictionary words to the distance cache. * Fix decoder invalid memory access bug caused by building a non-complete Huffman tree. * Add a mode parameter to the encoder interface. * Use different hashers for text and font mode. * Add a heuristics to the hasher for skipping non-compressible data. * Exhaustive search of static dictionary during backward reference search.
This commit is contained in:
@@ -589,7 +589,9 @@ Abstract
|
||||
in the sequence of distances) is not pushed to the ring-buffer of
|
||||
last distances, in other words, the expression "(second, third,
|
||||
fourth) last distance" means the (second, third, fourth) last
|
||||
distance that was not represented by a 0 distance code.
|
||||
distance that was not represented by a 0 distance code. Similarly,
|
||||
distances that represent static dictionary words (see Section 8.) are
|
||||
not pushed to the ringbuffer of last distances.
|
||||
|
||||
The next NDIRECT distance codes, from 16 to 15 + NDIRECT, represent
|
||||
distances from 1 to NDIRECT. Neither the distance short codes, nor
|
||||
|
||||
Reference in New Issue
Block a user