Eugene Kliuchnikov
3ccbf05d5f
Convert encoder to plain C.
2016-06-14 16:02:38 +02:00
Eugene Kliuchnikov
58a3023ef8
Transform most of C++ comments to C-style.
2016-06-14 16:02:38 +02:00
Eugene Kliuchnikov
f1c9ab2910
Extract common parts: constants, dictionary, etc.
2016-06-14 16:02:38 +02: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
Eugene Klyuchnikov
bb26d1919f
Fix sign-comparison warnings
...
+ add more debug runtime checks
+ minor cleanup
2015-11-23 11:05:12 +01:00
Eugene Klyuchnikov
152e33c3a0
Add more explicit type conversions.
...
Remove dead code.
Fix includes.
2015-11-17 13:45:41 +01:00
Zoltan Szabadka
8d061836ac
Fix assertion in 32-bit build.
2015-11-12 20:13:58 +01:00
Zoltan Szabadka
ea48ce5a6f
Fix --Wconversion and --pedantic-erros for the encoder.
2015-10-28 17:44:47 +01:00
Zoltan Szabadka
4a7024dcde
Make the brotli encoder C++98 compatible.
2015-10-01 12:08:14 +02:00
Zoltan Szabadka
f0b88cbcdb
Fixes to the encoder to support visual studio.
...
Changes suggested by @r-lyeh and @anthrotype.
- Use a portable simple PRNG instead of rand_r()
- add missing <assert.h> include
- disambiguate log2() argument type
- remove endian.h include from write_bits.h
2015-02-25 18:19:51 +01:00
Zoltan Szabadka
b4f39bf540
New version of the backward reference search code.
...
The new interface of the backward reference search
function makes it possible to use it in a streaming
manner.
Using the advanced cost model and static dictionary
can be turned on/off by template parameters.
The distance short codes are now computed as part of
the backward reference search.
Added a faster version of the Hasher.
2014-10-28 13:25:22 +01:00
Roderick Sheeter
c23cb1e83d
Support for OSX build; tested using OSX 10.9/clang-500.2.79
2013-12-12 10:43:05 -08:00
Zoltan Szabadka
c66e4e3e4f
Add brotli compressor
...
This commit is for the encoder for brotli compression format.
Brotli is a generic byte-level compression algorithm.
2013-10-23 13:06:13 +02:00