Back to home page

OSCL-LXR

 
 

    


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_FAST_H
0012 #define ZSTD_FAST_H
0013 
0014 
0015 #include "../common/mem.h"      /* U32 */
0016 #include "zstd_compress_internal.h"
0017 
0018 void ZSTD_fillHashTable(ZSTD_matchState_t* ms,
0019                         void const* end, ZSTD_dictTableLoadMethod_e dtlm);
0020 size_t ZSTD_compressBlock_fast(
0021         ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
0022         void const* src, size_t srcSize);
0023 size_t ZSTD_compressBlock_fast_dictMatchState(
0024         ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
0025         void const* src, size_t srcSize);
0026 size_t ZSTD_compressBlock_fast_extDict(
0027         ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
0028         void const* src, size_t srcSize);
0029 
0030 
0031 #endif /* ZSTD_FAST_H */