Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_CStreamWorkspaceBound

Proto:size_t ZSTD_CStreamWorkspaceBound(ZSTD_compressionParameters cParams)

Type:size_t

Parameter:

TypeParameterName
ZSTD_compressionParameterscParams
2975  inBuffSize = 1 << windowLog
2976  blockSize = -************************************** shared macros(Define for static allocation , inBuffSize)
2977  outBuffSize = -************************************** Helper functions + 1
2979  Return ZSTD_CCtxWorkspaceBound(cParams) + ZSTD_ALIGN(sizeof(ZSTD_CStream)) + ZSTD_ALIGN(inBuffSize) + ZSTD_ALIGN(outBuffSize)