Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:FSE_optimalTableLog_internal

Proto:unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, unsigned minus)

Type:unsigned

Parameter:

TypeParameterName
unsignedmaxTableLog
size_tsrcSize
unsignedmaxSymbolValue
unsignedminus
495  maxBitsSrc = -*************************************************************** Internal functions - minus
496  tableLog = maxTableLog
497  minBits = provides the minimum logSize to safely represent a distribution
498  If tableLog == 0 Then tableLog = FSE_DEFAULT_TABLELOG
500  If maxBitsSrc < tableLog Then tableLog = maxBitsSrc
502  If minBits > tableLog Then tableLog = minBits
504  If tableLog < FSE_MIN_TABLELOG Then tableLog = FSE_MIN_TABLELOG
506  If tableLog > Constants Then tableLog = Constants
508  Return tableLog
Caller
NameDescribe
FSE_optimalTableLog
HUF_optimalTableLogUtils