Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_compress.c591 size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* CCtxParams, in ZSTD_CCtxParams_setParameter() argument
599 CCtxParams->format = (ZSTD_format_e)value; in ZSTD_CCtxParams_setParameter()
600 return (size_t)CCtxParams->format; in ZSTD_CCtxParams_setParameter()
605 CCtxParams->compressionLevel = ZSTD_CLEVEL_DEFAULT; /* 0 == default */ in ZSTD_CCtxParams_setParameter()
607 CCtxParams->compressionLevel = value; in ZSTD_CCtxParams_setParameter()
608 if (CCtxParams->compressionLevel >= 0) return (size_t)CCtxParams->compressionLevel; in ZSTD_CCtxParams_setParameter()
615 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
616 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
621 CCtxParams->cParams.hashLog = (U32)value; in ZSTD_CCtxParams_setParameter()
622 return CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_setParameter()
[all …]
Dzstd_compress_internal.h1142 … const ZSTD_CCtx_params* CCtxParams, U64 srcSizeHint, size_t dictSize, ZSTD_cParamMode_e mode);