Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dhuf_compress.c354 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight() local
355 for ( ; nBitsToDecrease > 1; nBitsToDecrease--) { in HUF_setMaxHeight()
356 U32 const highPos = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
357 U32 const lowPos = rankLast[nBitsToDecrease-1]; in HUF_setMaxHeight()
368 assert(rankLast[nBitsToDecrease] != noSymbol || nBitsToDecrease == 1); in HUF_setMaxHeight()
370 … while ((nBitsToDecrease<=HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol)) in HUF_setMaxHeight()
371 nBitsToDecrease++; in HUF_setMaxHeight()
372 assert(rankLast[nBitsToDecrease] != noSymbol); in HUF_setMaxHeight()
374 totalCost -= 1 << (nBitsToDecrease-1); in HUF_setMaxHeight()
375 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
[all …]