Searched refs:cctxParams (Results 1 – 4 of 4) sorted by relevance
/linux/lib/zstd/compress/ |
H A D | zstd_compress.c | 273 ZSTD_CCtx_params cctxParams; in ZSTD_makeCCtxParamsFromCParams() local 275 ZSTD_CCtxParams_init(&cctxParams, ZSTD_CLEVEL_DEFAULT); in ZSTD_makeCCtxParamsFromCParams() 276 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams() 279 … cctxParams.ldmParams.enableLdm = ZSTD_resolveEnableLdm(cctxParams.ldmParams.enableLdm, &cParams); in ZSTD_makeCCtxParamsFromCParams() 280 if (cctxParams.ldmParams.enableLdm == ZSTD_ps_enable) { in ZSTD_makeCCtxParamsFromCParams() 281 ZSTD_ldm_adjustParameters(&cctxParams.ldmParams, &cParams); in ZSTD_makeCCtxParamsFromCParams() 282 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams() 283 assert(cctxParams.ldmParams.hashRateLog < 32); in ZSTD_makeCCtxParamsFromCParams() 285 …cctxParams.useBlockSplitter = ZSTD_resolveBlockSplitterMode(cctxParams.useBlockSplitter, &cParams); in ZSTD_makeCCtxParamsFromCParams() 286 …cctxParams.useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(cctxParams.useRowMatchFinder, &cPara… in ZSTD_makeCCtxParamsFromCParams() [all …]
|
H A D | zstd_compress_superblock.c | 163 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock_sequences() argument 167 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences() 264 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock() argument 287 cctxParams, in ZSTD_compressSubBlock() 429 const ZSTD_CCtx_params* cctxParams, in ZSTD_compressSubBlock_multi() argument 449 size_t targetCBlockSize = cctxParams->targetCBlockSize; in ZSTD_compressSubBlock_multi() 491 cctxParams, in ZSTD_compressSubBlock_multi()
|
H A D | zstd_compress_internal.h | 117 const ZSTD_CCtx_params* cctxParams, 536 MEM_STATIC int ZSTD_literalsCompressionIsDisabled(const ZSTD_CCtx_params* cctxParams) in ZSTD_literalsCompressionIsDisabled() argument 538 switch (cctxParams->literalCompressionMode) { in ZSTD_literalsCompressionIsDisabled() 547 … return (cctxParams->cParams.strategy == ZSTD_fast) && (cctxParams->cParams.targetLength > 0); in ZSTD_literalsCompressionIsDisabled()
|
/linux/include/linux/ |
H A D | zstd_lib.h | 1607 const ZSTD_CCtx_params* cctxParams, 1968 ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init(ZSTD_CCtx_params* cctxParams, int compressionLevel); 1974 ZSTDLIB_STATIC_API size_t ZSTD_CCtxParams_init_advanced(ZSTD_CCtx_params* cctxParams, ZSTD_paramete…
|