Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dhuf_compress.c307 const U32 largestBits = huffNode[lastNonNull].nbBits; in HUF_setMaxHeight() local
309 if (largestBits <= maxNbBits) return largestBits; in HUF_setMaxHeight()
313 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()
321 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()
333 totalCost >>= (largestBits - maxNbBits); in HUF_setMaxHeight()