Eugene Kliuchnikov
352b0b2836
Transform most of C++ comments to C-style.
2016-06-03 11:19:23 +02:00
Eugene Kliuchnikov
028291865d
Extract common parts: constants, dictionary, etc.
2016-06-03 10:51:04 +02:00
Zoltan Szabadka
b820c39bd9
Reduce memory usage of brotli encoder at quality 10 and 11.
2016-03-15 10:50:16 +01:00
Eugene Kliuchnikov
25e3796f83
Fix most of ()->(void) and some missing includes.
2016-02-29 14:41:24 +01:00
Zoltan Szabadka
1bf1b0a598
Faster entropy coding phase for quality 1.
...
In quality 1, use static Huffman codes for distance
and command histograms with <= 128 symbols and dynamic
Huffman codes with static code length codes for the other
histograms.
2016-01-08 10:10:22 +01:00
Zoltan Szabadka
8844b7f0d7
Fix more conversion warnings.
2016-01-07 16:27:49 +01:00
Eugene Klyuchnikov
24ffa78414
Fix headers
2015-12-11 11:11:51 +01:00
Eugene Klyuchnikov
771eb10798
Update license statement in source files.
2015-11-27 11:27:11 +01:00
Zoltan Szabadka
4a7024dcde
Make the brotli encoder C++98 compatible.
2015-10-01 12:08:14 +02:00
Zoltan Szabadka
0f726df1f1
Don't do any block splitting for quality 1.
2015-04-28 10:12:47 +02:00
Zoltan Szabadka
98539223f5
Remove quality parameter from bitstream writing functions.
...
Fix a few crashes related to some quality and param combinations.
2015-04-23 16:20:29 +02:00
Zoltan Szabadka
2fd80cdc9a
Encoder support for new empty meta-block format.
...
Changed the parallel implementation to sync meta-blocks
to byte boundary by emitting empty meta-blocks.
2015-04-23 15:43:37 +02:00
Zoltan Szabadka
534654def1
Add a faster but less dense compression mode.
...
The new mode can be used by setting the greedy_block_split
field of BrotliParams to true.
This commit moves all the meta-block processing code
into its own library and moves the meta-block encoding
code to brotli_bit_stream.cc from encode.cc
2015-03-27 14:20:35 +01:00
Zoltan Szabadka
497814eebd
Remove the redundant EncodeMetaBlockHeader() function.
...
Use Store{Compressed,Uncompressed}MetaBlockHeader() instead.
2015-03-24 10:18:06 +01:00
Zoltan Szabadka
0428f2d1bd
Move the context map encoding function to the brotli_bit_stream library.
2014-10-28 13:47:21 +01:00
Zoltan Szabadka
ca8c2890aa
Fix storing of the meta-block header for last empty meta-block.
2014-10-28 12:09:18 +01:00
Zoltan Szabadka
467e6eef80
Move the block switch stroing functions to the brotli_bit_stream library.
2014-10-28 11:53:52 +01:00
Zoltan Szabadka
d6d9fc60e1
Factor out serialization functions into their own file.
...
Create a brotli_bit_stream library that is responsible for writing
various structures (headers, Huffman codes, etc.) directly into the
bit-stream.
2014-10-15 14:01:36 +02:00