isa-l/igzip
Ruben Vorderman 94ec6026ce Create headers based on compression parameters.
Instead of using a constant as default zlib header, create the header on the fly. Both zlib
header bytes depend on the wbits and compression level used.
Make sure that ISA-L compression level 0 is advertised as the fastest compression in
both the gzip header (setting xfl flag to 0x04) and the zlib header (as 0, fastest, other levels are 1, fast).

Change-Id: I1f30e4397a0f5fcf6df593c40178e7d6f6c05328
Signed-off-by: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
2021-08-23 09:48:10 -07:00
..
aarch64 Fix clang build fail 2020-12-09 14:37:55 +08:00
adler32_avx2_4.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
adler32_base.c igzip: Remove igzip copy of crc32_gzip 2018-09-20 11:12:02 -07:00
adler32_perf.c Add Adler32 performance test 2019-03-22 14:29:42 -07:00
adler32_sse.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
bitbuf2.asm igzip: Bitbuf improvements 2019-03-07 09:28:04 -07:00
bitbuf2.h igzip: Remove unaligned stores 2019-03-07 09:27:50 -07:00
checksum32_funcs_test.c build: Remove unneeded file types.h 2021-06-10 09:35:43 -07:00
checksum_test_ref.h igzip: Implement gzip/zlib header/trailer parsing 2018-09-20 11:12:02 -07:00
data_struct2.asm igzip: Setup for variable hash mask 2018-09-18 14:27:25 -07:00
encode_df_04.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
encode_df_06.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
encode_df.c igzip: Use blind union to represent overlapped tables in hufftables_icf 2019-03-07 09:27:50 -07:00
encode_df.h igzip: Implement set_long_icf to compare more than 258 2018-12-04 10:41:40 -07:00
flatten_ll.c igzip: Increase isal_mod_hist size to stop histogram overflow 2017-03-30 17:11:51 -07:00
flatten_ll.h igzip: Increase isal_mod_hist size to stop histogram overflow 2017-03-30 17:11:51 -07:00
generate_custom_hufftables.c Update custom hufftable tool for saving histogram 2020-10-21 18:09:49 -07:00
generate_static_inflate.c igzip: Change pre-gen inflate table to multi-symbol 2020-10-21 18:09:49 -07:00
heap_macros.asm igzip: Add a few missing asm copyright headers 2018-06-21 14:50:40 -07:00
huff_codes.c igzip: optimize convert_dist_to_dist_sym to branchless 2019-08-13 11:02:53 +08:00
huff_codes.h igzip: Use blind union to represent overlapped tables in hufftables_icf 2019-03-07 09:27:50 -07:00
huffman.asm igzip: Fixup level 3 first byte handling 2018-08-21 16:35:30 -07:00
huffman.h igzip: Optimize routine to find msb 2019-08-12 14:28:33 -07:00
hufftables_c.c igzip: Implement zlib compression format 2017-06-21 05:41:05 -04:00
igzip_base_aliases.c igzip: Fix missing argument in base aliases 2018-10-23 12:54:36 -07:00
igzip_base.c igzip: Avoid UB pointer arithmetic underflow for virtual file start 2019-03-07 09:27:50 -07:00
igzip_body.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_build_hash_table_perf.c igzip: cleanup perf test related code 2019-12-06 15:33:20 +08:00
igzip_checksums.h igzip: Remove igzip copy of crc32_gzip 2018-09-20 11:12:02 -07:00
igzip_compare_types.asm igzip: Implement set_long_icf to compare more than 258 2018-12-04 10:41:40 -07:00
igzip_decode_block_stateless_01.asm igzip: Rename inflate.asm and fix Makefile.am so that Makefile.unx works 2016-12-05 16:12:53 -07:00
igzip_decode_block_stateless_04.asm igzip: Rename inflate.asm and fix Makefile.am so that Makefile.unx works 2016-12-05 16:12:53 -07:00
igzip_decode_block_stateless.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_deflate_hash.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_example.c igzip: Modify igzip_example to provide example of higher compression levels 2017-03-30 17:19:54 -07:00
igzip_file_perf.c igzip: Add new functions for faster dictionary compression 2020-10-21 18:09:49 -07:00
igzip_finish.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_gen_icf_map_lh1_04.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_gen_icf_map_lh1_06.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_hist_perf.c igzip: cleanup perf test related code 2019-12-06 15:33:20 +08:00
igzip_icf_base.c igzip: Avoid UB pointer arithmetic underflow for virtual file start 2019-03-07 09:27:50 -07:00
igzip_icf_body_h1_gr_bt.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_icf_body.c igzip: Avoid UB pointer arithmetic underflow for virtual file start 2019-03-07 09:27:50 -07:00
igzip_icf_finish.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_inflate_multibinary.asm multibinary: move WRT_OPT macro to common header 2017-08-18 14:24:57 -07:00
igzip_inflate_test.c aarch64: Cleanup build issues 2019-03-20 10:15:40 +08:00
igzip_inflate.c igzip: Use unaligned load on static header to fix usan 2020-11-04 12:40:08 -07:00
igzip_level_buf_structs.h igzip: Implement large hash table method as level 2 2017-12-15 14:27:14 -07:00
igzip_multibinary.asm build: Avoid requiring AVX512 define when using dispatch functions 2019-09-14 16:01:28 -07:00
igzip_perf.c igzip: Add compress-decompress with dictionary to perf test 2021-06-14 15:55:39 -07:00
igzip_rand_test.c test: Add testing for new dictionary functions 2020-10-28 17:28:43 -07:00
igzip_semi_dyn_file_perf.c igzip: cleanup perf test related code 2019-12-06 15:33:20 +08:00
igzip_set_long_icf_fg_04.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_set_long_icf_fg_06.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_sync_flush_example.c igzip: Fix feof usage in examples 2016-12-06 16:18:54 -07:00
igzip_update_histogram_01.asm igzip: Create assembly version of isal_update_histogram 2016-12-02 17:16:55 -07:00
igzip_update_histogram_04.asm igzip: Create assembly version of isal_update_histogram 2016-12-02 17:16:55 -07:00
igzip_update_histogram.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
igzip_wrapper_hdr_test.c igzip: Setup wrapper_hdr_test to use isal_gzip_hdr_init 2018-10-16 18:36:05 -07:00
igzip_wrapper.h igzip: Create functions to write gzip/zlib headers 2018-09-20 11:12:02 -07:00
igzip.c Create headers based on compression parameters. 2021-08-23 09:48:10 -07:00
inflate_data_structs.asm igzip: Implement limited window size for inflate 2018-09-20 11:12:02 -07:00
inflate_std_vects.h igzip: Add back inflate std vectors test with updated errors 2018-06-14 15:30:14 -07:00
lz0a_const.asm igzip: Implement large hash table method as level 2 2017-12-15 14:27:14 -07:00
Makefile.am enable VSX SIMD in ISA-L for ppc64le 2020-02-20 09:40:43 -07:00
options.asm igzip: Remove BITBUF8 and BITBUF_ELSE compile options 2017-06-21 06:03:51 -04:00
proc_heap_base.c igzip: Remove unaligned stores 2019-03-07 09:27:50 -07:00
proc_heap.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
repeated_char_result.h Add data compression unit 2016-06-10 17:03:38 -07:00
rfc1951_lookup.asm build: Fix for windows to allow nasm use 2020-03-17 18:05:46 -07:00
static_inflate.h igzip: Change pre-gen inflate table to multi-symbol 2020-10-21 18:09:49 -07:00
stdmac.asm igzip: Implement icf_body random data skip ahead 2018-12-04 10:41:40 -07:00