Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/compress/
H A Dhuf_compress.c378 if (largestBits <= targetNbBits) return largestBits; in HUF_setMaxHeight()
384 const U32 baseCost = 1 << (largestBits - targetNbBits); in HUF_setMaxHeight()
391 while (huffNode[n].nbBits > targetNbBits) { in HUF_setMaxHeight()
393 huffNode[n].nbBits = (BYTE)targetNbBits; in HUF_setMaxHeight()
397 assert(huffNode[n].nbBits <= targetNbBits); in HUF_setMaxHeight()
399 while (huffNode[n].nbBits == targetNbBits) --n; in HUF_setMaxHeight()
404 totalCost >>= (largestBits - targetNbBits); in HUF_setMaxHeight()
413 { U32 currentNbBits = targetNbBits; in HUF_setMaxHeight()
418 rankLast[targetNbBits-currentNbBits] = (U32)pos; in HUF_setMaxHeight()
481 while (huffNode[n].nbBits == targetNbBits) n--; in HUF_setMaxHeight()
[all …]