]> git.ipfire.org Git - thirdparty/zstd.git/commit
Expose reference external sequence API
authorNick Terrell <terrelln@fb.com>
Wed, 7 Mar 2018 03:50:50 +0000 (19:50 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 14 Mar 2018 19:29:31 +0000 (12:29 -0700)
commita9a6dcba63805ba3d514bfd314571c2374de9ec2
treeb19207001c8029304668189f4c112885c4fffcac
parent4c5cbac179599f6de39361beee71b9548d13d207
Expose reference external sequence API

* Expose the reference external sequences API for zstdmt.
  Allows external sequences of any length, which get split when necessary.
* Reset the LDM window when the context is reset.
* Store the maximum number of LDM sequences.
* Sequence generation now returns the number of last literals.
* Fix sequence generation to not throw out the last literals when blocks of
  more than 1 MB are encountered.
lib/common/zstd_internal.h
lib/compress/zstd_compress.c
lib/compress/zstd_compress_internal.h
lib/compress/zstd_ldm.c
lib/compress/zstd_ldm.h