162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Copyright (c) Yann Collet, Facebook, Inc. 362306a36Sopenharmony_ci * All rights reserved. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This source code is licensed under both the BSD-style license (found in the 662306a36Sopenharmony_ci * LICENSE file in the root directory of this source tree) and the GPLv2 (found 762306a36Sopenharmony_ci * in the COPYING file in the root directory of this source tree). 862306a36Sopenharmony_ci * You may select, at your option, one of the above-listed licenses. 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#ifndef ZSTD_DOUBLE_FAST_H 1262306a36Sopenharmony_ci#define ZSTD_DOUBLE_FAST_H 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#include "../common/mem.h" /* U32 */ 1662306a36Sopenharmony_ci#include "zstd_compress_internal.h" /* ZSTD_CCtx, size_t */ 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_civoid ZSTD_fillDoubleHashTable(ZSTD_matchState_t* ms, 1962306a36Sopenharmony_ci void const* end, ZSTD_dictTableLoadMethod_e dtlm); 2062306a36Sopenharmony_cisize_t ZSTD_compressBlock_doubleFast( 2162306a36Sopenharmony_ci ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 2262306a36Sopenharmony_ci void const* src, size_t srcSize); 2362306a36Sopenharmony_cisize_t ZSTD_compressBlock_doubleFast_dictMatchState( 2462306a36Sopenharmony_ci ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 2562306a36Sopenharmony_ci void const* src, size_t srcSize); 2662306a36Sopenharmony_cisize_t ZSTD_compressBlock_doubleFast_extDict( 2762306a36Sopenharmony_ci ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 2862306a36Sopenharmony_ci void const* src, size_t srcSize); 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#endif /* ZSTD_DOUBLE_FAST_H */ 33