Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:LZ4_compress_HC_extStateHC

Proto:static int LZ4_compress_HC_extStateHC(void *state, const char *src, char *dst, int srcSize, int maxDstSize, int compressionLevel)

Type:int

Parameter:

TypeParameterName
void *state
const char *src
char *dst
intsrcSize
intmaxDstSize
intcompressionLevel
589  ctx = internal_donotuse
591  If (state & size of * - 1 ) != 0 Then
595  Return 0
598  HC Compression
600  If maxDstSize < LZ4_compressBound() - Max. output size in worst case szenarios*@isize: Size of the input data* Return: Max. size LZ4 may output in a "worst case" szenario* (data not compressible) Then Return LZ4HC_compress_generic(ctx, src, dst, srcSize, maxDstSize, compressionLevel, limitedOutput)
603  Else Return LZ4HC_compress_generic(ctx, src, dst, srcSize, maxDstSize, compressionLevel, noLimit)
Caller
NameDescribe
LZ4_compress_HC