Home
last modified time | relevance | path

Searched refs:cctxParams (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c206 ZSTD_CCtx_params cctxParams; in ZSTD_makeCCtxParamsFromCParams() local
208 ZSTD_CCtxParams_init(&cctxParams, ZSTD_CLEVEL_DEFAULT); in ZSTD_makeCCtxParamsFromCParams()
209 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams()
213 cctxParams.ldmParams.enableLdm = 1; in ZSTD_makeCCtxParamsFromCParams()
215 ZSTD_ldm_adjustParameters(&cctxParams.ldmParams, &cParams); in ZSTD_makeCCtxParamsFromCParams()
216 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams()
217 assert(cctxParams.ldmParams.hashRateLog < 32); in ZSTD_makeCCtxParamsFromCParams()
221 return cctxParams; in ZSTD_makeCCtxParamsFromCParams()
254 size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel) { in ZSTD_CCtxParams_init() argument
255 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!"); in ZSTD_CCtxParams_init()
[all …]
Dzstd_compress_superblock.c167 const ZSTD_CCtx_params* cctxParams, in ZSTD_buildSuperBlockEntropy_sequences() argument
178 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_buildSuperBlockEntropy_sequences()
278 const ZSTD_CCtx_params* cctxParams, in ZSTD_buildSuperBlockEntropy() argument
288 ZSTD_disableLiteralsCompression(cctxParams), in ZSTD_buildSuperBlockEntropy()
294 cctxParams, in ZSTD_buildSuperBlockEntropy()
443 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock_sequences() argument
447 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
544 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock() argument
567 cctxParams, in ZSTD_compressSubBlock()
708 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock_multi() argument
[all …]
Dzstd_compress_internal.h468 MEM_STATIC int ZSTD_disableLiteralsCompression(const ZSTD_CCtx_params* cctxParams) in ZSTD_disableLiteralsCompression() argument
470 switch (cctxParams->literalCompressionMode) { in ZSTD_disableLiteralsCompression()
479 … return (cctxParams->cParams.strategy == ZSTD_fast) && (cctxParams->cParams.targetLength > 0); in ZSTD_disableLiteralsCompression()
/linux-6.1.9/include/linux/
Dzstd_lib.h1541 const ZSTD_CCtx_params* cctxParams,
1857 ZSTDLIB_API size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel);
1863 ZSTDLIB_API size_t ZSTD_CCtxParams_init_advanced(ZSTD_CCtx_params* cctxParams, ZSTD_parameters para…