11541Srgrimes/* 222521Sdyson * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. 322521Sdyson * All rights reserved. 41541Srgrimes * 51541Srgrimes * This source code is licensed under both the BSD-style license (found in the 61541Srgrimes * LICENSE file in the root directory of this source tree) and the GPLv2 (found 71541Srgrimes * in the COPYING file in the root directory of this source tree). 81541Srgrimes * You may select, at your option, one of the above-listed licenses. 91541Srgrimes */ 101541Srgrimes 111541Srgrimes#ifndef ZSTD_DOUBLE_FAST_H 121541Srgrimes#define ZSTD_DOUBLE_FAST_H 131541Srgrimes 141541Srgrimes#if defined (__cplusplus) 151541Srgrimesextern "C" { 161541Srgrimes#endif 171541Srgrimes 181541Srgrimes#include "../common/mem.h" /* U32 */ 191541Srgrimes#include "zstd_compress_internal.h" /* ZSTD_CCtx, size_t */ 201541Srgrimes 211541Srgrimesvoid ZSTD_fillDoubleHashTable(ZSTD_matchState_t* ms, 221541Srgrimes void const* end, ZSTD_dictTableLoadMethod_e dtlm); 231541Srgrimessize_t ZSTD_compressBlock_doubleFast( 241541Srgrimes ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 251541Srgrimes void const* src, size_t srcSize); 261541Srgrimessize_t ZSTD_compressBlock_doubleFast_dictMatchState( 271541Srgrimes ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 281541Srgrimes void const* src, size_t srcSize); 291541Srgrimessize_t ZSTD_compressBlock_doubleFast_extDict( 301541Srgrimes ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 311541Srgrimes void const* src, size_t srcSize); 321541Srgrimes 331541Srgrimes 341541Srgrimes#if defined (__cplusplus) 351541Srgrimes} 361541Srgrimes#endif 3722521Sdyson 3850477Speter#endif /* ZSTD_DOUBLE_FAST_H */ 391541Srgrimes