Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-28 07:05:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:! ZSTD_getParams() :* same as ZSTD_getCParams(), but @return a `ZSTD_parameters` object (instead of `ZSTD_compressionParameters`).* All fields of `ZSTD_frameParameters` are set to default (0)

Proto:ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long srcSize, size_t dictSize)

Type:ZSTD_parameters

Parameter:

TypeParameterName
intcompressionLevel
unsigned long longsrcSize
size_tdictSize
3440  cParams = ZSTD_compressionParameters structure for a selected compression level, `srcSize` and `dictSize`.
3441  memset( & params, 0, size of params )
3442  cParams = cParams
3443  Return params
Caller
NameDescribe
ZSTD_compressBegin_usingDict