Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:HUF_fillDTableX4

Proto:static void HUF_fillDTableX4(HUF_DEltX4 *DTable, const U32 targetLog, const sortedSymbol_t *sortedList, const U32 sortedListSize, const U32 *rankStart, rankVal_t rankValOrigin, const U32 maxWeight, const U32 nbBitsBaseline)

Type:void

Parameter:

TypeParameterName
HUF_DEltX4 *DTable
const U32targetLog
const sortedSymbol_t *sortedList
const U32sortedListSize
const U32 *rankStart
rankVal_trankValOrigin
const U32maxWeight
const U32nbBitsBaseline
444  scaleLog = nbBitsBaseline - targetLog
445  minBits = nbBitsBaseline - maxWeight
448  No 3D Now!(rankVal, rankValOrigin, size of rankVal )
451  When s < sortedListSize cycle
452  symbol = symbol
453  weight = weight
454  nbBits = nbBitsBaseline - weight
455  start = rankVal[weight]
456  length = 1 << targetLog - nbBits
458  If targetLog - nbBits >= minBits Then
461  If minWeight < 1 Then minWeight = 1
466  Else
469  nbBits = nbBits
470  length = 1
472  end = start + length
474  When u < end cycle DTable[u] = DElt
478  rankVal[weight] += length
Caller
NameDescribe
HUF_readDTableX4_wksp