zstd/lib/compress
W. Felix Handte 7ed996f5a0 Consolidate CCtx Size Estimation Code
This commit pulls out the internals of `ZSTD_estimateCCtxSize_usingCCtxParams`
into a helper. It then migrates two other callsites to use that helper,
a small optimization for `ZSTD_estimateCStreamSize_usingCCtxParams`, which
folds the buffer sizing into the helper, and then `ZSTD_resetCCtx_internal`,
which is more invasive.

This attempts to guarantee that the estimates returned to users are always
correct.
2020-05-12 16:26:53 -04:00
..
fse_compress.c Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
hist.c Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
hist.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
huf_compress.c Merge pull request #2103 from felixhandte/relative-includes 2020-05-06 09:42:23 -07:00
zstd_compress_internal.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_compress_literals.c Add (Possibly Empty) Info Strings to All Variadic Error Handling Macro Invocations 2020-05-04 10:58:55 -04:00
zstd_compress_literals.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_sequences.c some more conversion warnings 2020-05-05 10:16:59 -07:00
zstd_compress_sequences.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_compress_superblock.c Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_compress_superblock.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_compress.c Consolidate CCtx Size Estimation Code 2020-05-12 16:26:53 -04:00
zstd_cwksp.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_double_fast.c Merge pull request #2040 from caoyzh/dev-2 2020-04-08 13:14:47 -07:00
zstd_double_fast.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_fast.c small speed improvement for strategy fast 2020-05-07 06:15:58 -07:00
zstd_fast.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_lazy.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_lazy.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_ldm.c Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_ldm.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstd_opt.c Purge C++-Style Comments (// ...), Make Compilation Succeed Under C90 2020-05-04 10:59:15 -04:00
zstd_opt.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstdmt_compress.c Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00
zstdmt_compress.h Rewrite Include Paths to be Relative 2020-05-04 15:20:26 -04:00