![]() |
|
|||
0001 /* 0002 * Copyright (c) Yann Collet, Facebook, Inc. 0003 * All rights reserved. 0004 * 0005 * This source code is licensed under both the BSD-style license (found in the 0006 * LICENSE file in the root directory of this source tree) and the GPLv2 (found 0007 * in the COPYING file in the root directory of this source tree). 0008 * You may select, at your option, one of the above-listed licenses. 0009 */ 0010 0011 #ifndef ZSTD_COMPRESS_ADVANCED_H 0012 #define ZSTD_COMPRESS_ADVANCED_H 0013 0014 /*-************************************* 0015 * Dependencies 0016 ***************************************/ 0017 0018 #include <linux/zstd.h> /* ZSTD_CCtx */ 0019 0020 /*-************************************* 0021 * Target Compressed Block Size 0022 ***************************************/ 0023 0024 /* ZSTD_compressSuperBlock() : 0025 * Used to compress a super block when targetCBlockSize is being used. 0026 * The given block will be compressed into multiple sub blocks that are around targetCBlockSize. */ 0027 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, 0028 void* dst, size_t dstCapacity, 0029 void const* src, size_t srcSize, 0030 unsigned lastBlock); 0031 0032 #endif /* ZSTD_COMPRESS_ADVANCED_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |