Eugene Kliuchnikov
028291865d
Extract common parts: constants, dictionary, etc.
2016-06-03 10:51:04 +02:00
Eugene Kliuchnikov
755b909424
Update decoder
...
* More discreet trivial literal context detection
* Make total_out parameter nullable
* More strict stream validity check
* Added BrotliErrorString
2016-05-31 15:40:59 +02:00
Eugene Kliuchnikov
e7e3849835
Update decoder. Add encoder interface wrapper.
...
* condense printf in port.h; use BROTLI_LOG everywhere
* mark non-exported functions with BROTLI_INTERNAL
* use BROTLI_DUMP instead of (void)(BROTLI_FAILURE())
* fix problems with CustomDictionary
* make decode.h independent of state.h
* fix "double-new-lines"
* fix some strict compilation warnings
* fix bro.cc compilation for MSVS
* added compressor.h as a replacement for encode.h + streams.h
2016-04-19 16:29:10 +02:00
Eugene Kliuchnikov
23934731f5
Update decoder:
...
* More clear/safe "copy" command stage implementation
* Enable unaligned memory access only on whitelisted CPUs
* Remove unused streams.{c|h}
* Add "default" to all switches
* Fix includes
* Fix spacing everywhere
2016-02-18 15:03:44 +01:00
Eugene Kliuchnikov
92e3023914
Update decoder.
...
* Reduce memory usage
* Update API documentation
* Remove deprecated API
* Move non-API declatarions from decode.h
* Remove streams
* Add more debug logging
* Fix shift in BrotliBitReaderUnload
* Allocate ringbuffer at later stages
* Sort / fix includes
* Fix whitespaces
* Eliminate dead code
* Drive-by code simplifications
2016-01-22 10:19:41 +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
b693812271
Decoder: implement custom allocator feature
...
Drive-by: conform stricter compilation flags; cleanup shared.mk
2015-11-23 10:21:09 +01:00
Eugene Klyuchnikov
c0ba6d6f5e
Brotli decoder: implement new streaming API
2015-11-06 11:46:04 +01:00
Zoltan Szabadka
5cf07a68b2
Initialize pos and loop_counter.
2015-10-02 16:46:08 +02:00
Zoltan Szabadka
d3eb6ecb9a
Add BROTLI_FREE macro, check malloc status after histogram allocations.
2015-10-02 16:19:30 +02:00
Zoltan Szabadka
0cf3a54422
Update brotli decoder with latest improvements.
2015-09-24 18:35:25 +02:00
Zoltan Szabadka
a7cedfc26d
Update brotli decoder with latest improvements.
2015-09-23 12:24:06 +02:00
Lode Vandevenne
db71549ac5
update brotli decoder with latest improvements
2015-08-28 15:20:24 +02:00
Zoltan Szabadka
4b2fd00e24
Use a single lookup table for insert/copy offsets and extra bits.
...
Remove safe_malloc.c since all the bounds checking is done inside
decode.c now.
2015-08-10 16:39:50 +02:00
Lode Vandevenne
94cd7085f7
brotli decoder performance improvements
2015-08-10 13:35:23 +02:00
Zoltan Szabadka
b43df8f699
Brotli custom LZ77 dictionary support.
...
Adds functions to prepend such dictionary to the
encoder and decoder, and twiddles their internal
parameters to do as if that was a previous part of
the input. This dictionary is just a prefilled LZ77
window, it is not related to the built in transformable
brotli dictionary.
2015-06-12 15:43:54 +02:00
Lode Vandevenne
8270250b40
support for partial input (streaming)
2015-03-20 16:13:15 +01:00