diff options
| author | Ferenc Arn | 2017-10-26 16:41:47 -0400 |
|---|---|---|
| committer | Ferenc Arn | 2017-10-26 16:41:47 -0400 |
| commit | 01815e9b5f1ec97d0018ee843a07fa73f450f1bf (patch) | |
| tree | e810d42b26e885a6374a657f1b1092521dfc0a94 /thirdparty/zstd/compress/zstd_lazy.h | |
| parent | 2987e6ce4ffc69da5efc0903cc00ce12e72d2125 (diff) | |
| download | godot-01815e9b5f1ec97d0018ee843a07fa73f450f1bf.tar.gz godot-01815e9b5f1ec97d0018ee843a07fa73f450f1bf.tar.zst godot-01815e9b5f1ec97d0018ee843a07fa73f450f1bf.zip | |
Update zstd to 1.3.2.
Diffstat (limited to 'thirdparty/zstd/compress/zstd_lazy.h')
| -rw-r--r-- | thirdparty/zstd/compress/zstd_lazy.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/thirdparty/zstd/compress/zstd_lazy.h b/thirdparty/zstd/compress/zstd_lazy.h new file mode 100644 index 000000000..a9c4daed2 --- /dev/null +++ b/thirdparty/zstd/compress/zstd_lazy.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under both the BSD-style license (found in the + * LICENSE file in the root directory of this source tree) and the GPLv2 (found + * in the COPYING file in the root directory of this source tree). + * You may select, at your option, one of the above-listed licenses. + */ + +#ifndef ZSTD_LAZY_H +#define ZSTD_LAZY_H + +#include "zstd_compress.h" + +#if defined (__cplusplus) +extern "C" { +#endif + +U32 ZSTD_insertAndFindFirstIndex (ZSTD_CCtx* zc, const BYTE* ip, U32 mls); +void ZSTD_updateTree(ZSTD_CCtx* zc, const BYTE* const ip, const BYTE* const iend, const U32 nbCompares, const U32 mls); +void ZSTD_updateTree_extDict(ZSTD_CCtx* zc, const BYTE* const ip, const BYTE* const iend, const U32 nbCompares, const U32 mls); + +size_t ZSTD_compressBlock_btlazy2(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_lazy2(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_lazy(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_greedy(ZSTD_CCtx* ctx, const void* src, size_t srcSize); + +size_t ZSTD_compressBlock_greedy_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_lazy_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_lazy2_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); +size_t ZSTD_compressBlock_btlazy2_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize); + +#if defined (__cplusplus) +} +#endif + +#endif /* ZSTD_LAZY_H */ |
