Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dhuf_compress.c293 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight() local
294 for ( ; nBitsToDecrease > 1; nBitsToDecrease--) { in HUF_setMaxHeight()
295 U32 const highPos = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
296 U32 const lowPos = rankLast[nBitsToDecrease-1]; in HUF_setMaxHeight()
307 assert(rankLast[nBitsToDecrease] != noSymbol || nBitsToDecrease == 1); in HUF_setMaxHeight()
309 … while ((nBitsToDecrease<=HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol)) in HUF_setMaxHeight()
310 nBitsToDecrease++; in HUF_setMaxHeight()
311 assert(rankLast[nBitsToDecrease] != noSymbol); in HUF_setMaxHeight()
313 totalCost -= 1 << (nBitsToDecrease-1); in HUF_setMaxHeight()
314 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
[all …]