Home
last modified time | relevance | path

Searched refs:HUF_getNbBits (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
Dhuf_compress.c128 static size_t HUF_getNbBits(HUF_CElt elt) in HUF_getNbBits() function
156 size_t const nbBits = HUF_getNbBits(*elt); in HUF_setValue()
187 wksp->huffWeight[n] = wksp->bitsToWeight[HUF_getNbBits(ct[n])]; in HUF_writeCTable_wksp()
253 { U32 n; for (n=0; n<nbSymbols; n++) nbPerRank[HUF_getNbBits(ct[n])]++; } in HUF_readCTable()
263 … { U32 n; for (n=0; n<nbSymbols; n++) HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); } in HUF_readCTable()
274 return (U32)HUF_getNbBits(ct[symbolValue]); in HUF_getNbBitsFromCTable()
673 …HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); /* assign value within rank, symbol or… in HUF_buildCTableFromTree()
713 nbBits += HUF_getNbBits(ct[s]) * count[s]; in HUF_estimateCompressedSize()
723 bad |= (count[s] != 0) & (HUF_getNbBits(ct[s]) == 0); in HUF_validateCTable()
787 assert(HUF_getNbBits(elt) <= HUF_TABLELOG_ABSOLUTEMAX); in HUF_addBits()
[all …]