xref: /freebsd/sys/contrib/zstd/lib/compress/zstd_double_fast.h (revision 5bf5ca772c6de2d53344a78cf461447cc322ccea)
1 /*
2  * Copyright (c) 2016-present, 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_DOUBLE_FAST_H
12 #define ZSTD_DOUBLE_FAST_H
13 
14 #include "zstd_compress.h"
15 
16 #if defined (__cplusplus)
17 extern "C" {
18 #endif
19 
20 void ZSTD_fillDoubleHashTable(ZSTD_CCtx* cctx, const void* end, const U32 mls);
21 size_t ZSTD_compressBlock_doubleFast(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
22 size_t ZSTD_compressBlock_doubleFast_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
23 
24 #if defined (__cplusplus)
25 }
26 #endif
27 
28 #endif /* ZSTD_DOUBLE_FAST_H */
29