Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
A Dhuf_compress.c246 const U32 largestBits = huffNode[lastNonNull].nbBits; in HUF_setMaxHeight() local
248 if (largestBits <= maxNbBits) return largestBits; in HUF_setMaxHeight()
252 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()
260 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()
272 totalCost >>= (largestBits - maxNbBits); in HUF_setMaxHeight()

Completed in 6 milliseconds