printf: Remove unused 'bprintf'
[drm/drm-misc.git] / lib / zstd / compress / zstd_compress_superblock.h
blob224ece79546ebbd3489ee715049fafe4e2799efb
1 /*
2 * Copyright (c) Yann Collet, Facebook, Inc.
3 * All rights reserved.
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.
9 */
11 #ifndef ZSTD_COMPRESS_ADVANCED_H
12 #define ZSTD_COMPRESS_ADVANCED_H
14 /*-*************************************
15 * Dependencies
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,
30 unsigned lastBlock);
32 #endif /* ZSTD_COMPRESS_ADVANCED_H */