aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2017-02-06 14:20:43 +0100
committerGitHub <noreply@github.com>2017-02-06 14:20:43 +0100
commit11df843cf019e0a18f5efce660693a30f487fb06 (patch)
tree570e840d09aead388558d0a6e86c3e9bfd3fcf04 /setup.py
parent8d3fdc1dfe9a89079c18fd6428f19cac3edf53de (diff)
downloadbrotli-11df843cf019e0a18f5efce660693a30f487fb06.zip
brotli-11df843cf019e0a18f5efce660693a30f487fb06.tar.gz
brotli-11df843cf019e0a18f5efce660693a30f487fb06.tar.bz2
Update encoder (#504)
* pull `BROTLI_MAX_BACKWARD_LIMIT` to constants * split generic and Zopfli backward references code * pull hashers init and stitch invocation to encoder * make `dictionary_hash` a compilation unit * add `size hint` parameter * add new hasher * use `size hint` to pick new hasher for q4 * modernize clz guard (fix #495) * move `hash to binary tree` to separate file * add `Initialize` and `Cleanup` to all hashers * do not raise OOM if malloc(0) == NULL (fix #500)
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 5a9c275..66a473a 100644
--- a/setup.py
+++ b/setup.py
@@ -170,12 +170,14 @@ EXT_MODULES = [
'dec/huffman.c',
'dec/state.c',
'enc/backward_references.c',
+ 'enc/backward_references_hq.c',
'enc/bit_cost.c',
'enc/block_splitter.c',
'enc/brotli_bit_stream.c',
'enc/cluster.c',
'enc/compress_fragment.c',
'enc/compress_fragment_two_pass.c',
+ 'enc/dictionary_hash.c',
'enc/encode.c',
'enc/entropy_encode.c',
'enc/histogram.c',
@@ -199,6 +201,7 @@ EXT_MODULES = [
'dec/streams.h',
'dec/transform.h',
'enc/backward_references.h',
+ 'enc/backward_references_hq.h',
'enc/backward_references_inc.h',
'enc/bit_cost.h',
'enc/bit_cost_inc.h',
@@ -217,6 +220,7 @@ EXT_MODULES = [
'enc/fast_log.h',
'enc/find_match_length.h',
'enc/hash.h',
+ 'enc/hash_to_binary_tree_inc.h',
'enc/hash_longest_match_inc.h',
'enc/hash_longest_match_quickly_inc.h',
'enc/histogram.h',