first zstdmt sketch

This commit is contained in:
Yann Collet
2016-12-27 07:19:36 +01:00
parent 39c105c605
commit 3d93f2fce7
4 changed files with 336 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <stddef.h> /* size_t */
typedef struct ZSTDMT_CCtx_s ZSTDMT_CCtx;
ZSTDMT_CCtx *ZSTDMT_createCCtx(unsigned nbThreads);
size_t ZSTDMT_freeCCtx(ZSTDMT_CCtx* cctx);
size_t ZSTDMT_compressCCtx(ZSTDMT_CCtx* cctx,
void* dst, size_t dstCapacity,
const void* src, size_t srcSize,
int compressionLevel);