Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dhuf_compress.c230 const U32 largestBits = huffNode[lastNonNull].nbBits; in HUF_setMaxHeight() local
232 if (largestBits <= maxNbBits) return largestBits; in HUF_setMaxHeight()
236 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()
244 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()
256 totalCost >>= (largestBits - maxNbBits); in HUF_setMaxHeight()