Home
last modified time | relevance | path

Searched refs:CCtxParams (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
Dzstd_compress.c678 size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* CCtxParams, in ZSTD_CCtxParams_setParameter() argument
686 CCtxParams->format = (ZSTD_format_e)value; in ZSTD_CCtxParams_setParameter()
687 return (size_t)CCtxParams->format; in ZSTD_CCtxParams_setParameter()
692 CCtxParams->compressionLevel = ZSTD_CLEVEL_DEFAULT; /* 0 == default */ in ZSTD_CCtxParams_setParameter()
694 CCtxParams->compressionLevel = value; in ZSTD_CCtxParams_setParameter()
695 if (CCtxParams->compressionLevel >= 0) return (size_t)CCtxParams->compressionLevel; in ZSTD_CCtxParams_setParameter()
702 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
703 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
708 CCtxParams->cParams.hashLog = (U32)value; in ZSTD_CCtxParams_setParameter()
709 return CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_setParameter()
[all …]
Dzstd_compress_internal.h1333 … const ZSTD_CCtx_params* CCtxParams, U64 srcSizeHint, size_t dictSize, ZSTD_cParamMode_e mode);