Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dhuf_compress.c355 for ( ; nBitsToDecrease > 1; nBitsToDecrease--) { 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()
374 totalCost -= 1 << (nBitsToDecrease-1); in HUF_setMaxHeight()
375 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
381 if (rankLast[nBitsToDecrease-1] == noSymbol) in HUF_setMaxHeight()
382 rankLast[nBitsToDecrease-1] = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
391 rankLast[nBitsToDecrease] = noSymbol; in HUF_setMaxHeight()
393 rankLast[nBitsToDecrease]--; in HUF_setMaxHeight()
[all …]