2 * Copyright (c) Yann Collet, Facebook, Inc.
5 * This source code is licensed under both the BSD-style license (found in the
6 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
7 * in the COPYING file in the root directory of this source tree).
8 * You may select, at your option, one of the above-listed licenses.
11 #ifndef ZSTD_COMPRESS_ADVANCED_H
12 #define ZSTD_COMPRESS_ADVANCED_H
14 /*-*************************************
16 ***************************************/
18 #include <linux/zstd.h> /* ZSTD_CCtx */
20 /*-*************************************
21 * Target Compressed Block Size
22 ***************************************/
24 /* ZSTD_compressSuperBlock() :
25 * Used to compress a super block when targetCBlockSize is being used.
26 * The given block will be compressed into multiple sub blocks that are around targetCBlockSize. */
27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx
* zc
,
28 void* dst
, size_t dstCapacity
,
29 void const* src
, size_t srcSize
,
32 #endif /* ZSTD_COMPRESS_ADVANCED_H */