Home
last modified time | relevance | path

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

/lib/lz4/
Dlz4hc_compress.c344 int compressionLevel, in LZ4HC_compress_generic() argument
368 if (compressionLevel > LZ4HC_MAX_CLEVEL) in LZ4HC_compress_generic()
369 compressionLevel = LZ4HC_MAX_CLEVEL; in LZ4HC_compress_generic()
370 if (compressionLevel < 1) in LZ4HC_compress_generic()
371 compressionLevel = LZ4HC_DEFAULT_CLEVEL; in LZ4HC_compress_generic()
372 maxNbAttempts = 1 << (compressionLevel - 1); in LZ4HC_compress_generic()
587 int compressionLevel) in LZ4_compress_HC_extStateHC() argument
602 srcSize, maxDstSize, compressionLevel, limitedOutput); in LZ4_compress_HC_extStateHC()
605 srcSize, maxDstSize, compressionLevel, noLimit); in LZ4_compress_HC_extStateHC()
609 int maxDstSize, int compressionLevel, void *wrkmem) in LZ4_compress_HC() argument
[all …]
/lib/zstd/
Dcompress.c2754 …D_compressBegin_usingDict(ZSTD_CCtx *cctx, const void *dict, size_t dictSize, int compressionLevel) in ZSTD_compressBegin_usingDict() argument
2756 ZSTD_parameters const params = ZSTD_getParams(compressionLevel, 0, dictSize); in ZSTD_compressBegin_usingDict()
2760 …mpressBegin(ZSTD_CCtx *cctx, int compressionLevel) { return ZSTD_compressBegin_usingDict(cctx, NUL… in ZSTD_compressBegin() argument
3411 ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long long srcSize, size_t… in ZSTD_getCParams() argument
3417 if (compressionLevel <= 0) in ZSTD_getCParams()
3418 compressionLevel = ZSTD_DEFAULT_CLEVEL; /* 0 == default; no negative compressionLevel yet */ in ZSTD_getCParams()
3419 if (compressionLevel > ZSTD_MAX_CLEVEL) in ZSTD_getCParams()
3420 compressionLevel = ZSTD_MAX_CLEVEL; in ZSTD_getCParams()
3421 cp = ZSTD_defaultCParameters[tableID][compressionLevel]; in ZSTD_getCParams()
3437 ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long srcSize, size_t dictSize) in ZSTD_getParams() argument
[all …]