ReactOS 0.4.15-dev-7712-gbbbcd8e
zstd_compress_superblock.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
3 * All rights reserved.
4 *
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 */
10
11#ifndef ZSTD_COMPRESS_ADVANCED_H
12#define ZSTD_COMPRESS_ADVANCED_H
13
14/*-*************************************
15* Dependencies
16***************************************/
17
18#include "zstd.h" /* ZSTD_CCtx */
19
20/*-*************************************
21* Target Compressed Block Size
22***************************************/
23
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. */
28 void* dst, size_t dstCapacity,
29 void const* src, size_t srcSize,
30 unsigned lastBlock);
31
32#endif /* ZSTD_COMPRESS_ADVANCED_H */
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
size_t ZSTD_compressSuperBlock(ZSTD_CCtx *zc, void *dst, size_t dstCapacity, void const *src, size_t srcSize, unsigned lastBlock)