zstd_double_fast.h 850 B

1234567891011121314151617181920212223242526272829
  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. #ifndef ZSTD_DOUBLE_FAST_H
  11. #define ZSTD_DOUBLE_FAST_H
  12. #include "zstd_compress.h"
  13. #if defined (__cplusplus)
  14. extern "C" {
  15. #endif
  16. void ZSTD_fillDoubleHashTable(ZSTD_CCtx* cctx, const void* end, const U32 mls);
  17. size_t ZSTD_compressBlock_doubleFast(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
  18. size_t ZSTD_compressBlock_doubleFast_extDict(ZSTD_CCtx* ctx, const void* src, size_t srcSize);
  19. #if defined (__cplusplus)
  20. }
  21. #endif
  22. #endif /* ZSTD_DOUBLE_FAST_H */