summaryrefslogtreecommitdiffstats
path: root/Utilities/cmzstd/lib/compress/zstd_fast.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-13 14:46:32 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-13 14:46:32 (GMT)
commitf92b4b52ebb335ce540966d7f198df3878f6f46f (patch)
tree4fe887bedbdff138072bfa6e0d1217b0756b2155 /Utilities/cmzstd/lib/compress/zstd_fast.h
parent9337cbfccab0b7a0984b837d71ff59543acb574d (diff)
parentfbaf65639ada9f3dc58337bf86c1cc036bc1694f (diff)
downloadCMake-f92b4b52ebb335ce540966d7f198df3878f6f46f.zip
CMake-f92b4b52ebb335ce540966d7f198df3878f6f46f.tar.gz
CMake-f92b4b52ebb335ce540966d7f198df3878f6f46f.tar.bz2
Merge branch 'upstream-zstd' into import-zstd
* upstream-zstd: zstd 2018-12-27 (470344d3)
Diffstat (limited to 'Utilities/cmzstd/lib/compress/zstd_fast.h')
-rw-r--r--Utilities/cmzstd/lib/compress/zstd_fast.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Utilities/cmzstd/lib/compress/zstd_fast.h b/Utilities/cmzstd/lib/compress/zstd_fast.h
new file mode 100644
index 0000000..b74a88c
--- /dev/null
+++ b/Utilities/cmzstd/lib/compress/zstd_fast.h
@@ -0,0 +1,37 @@
+/*
+ * 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_FAST_H
+#define ZSTD_FAST_H
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+#include "mem.h" /* U32 */
+#include "zstd_compress_internal.h"
+
+void ZSTD_fillHashTable(ZSTD_matchState_t* ms,
+ void const* end, ZSTD_dictTableLoadMethod_e dtlm);
+size_t ZSTD_compressBlock_fast(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+size_t ZSTD_compressBlock_fast_dictMatchState(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+size_t ZSTD_compressBlock_fast_extDict(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+
+#if defined (__cplusplus)
+}
+#endif
+
+#endif /* ZSTD_FAST_H */