Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
A Dhuf_compress.c294 for ( ; nBitsToDecrease > 1; nBitsToDecrease--) { 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()
313 totalCost -= 1 << (nBitsToDecrease-1); in HUF_setMaxHeight()
314 huffNode[rankLast[nBitsToDecrease]].nbBits++; in HUF_setMaxHeight()
320 if (rankLast[nBitsToDecrease-1] == noSymbol) in HUF_setMaxHeight()
321 rankLast[nBitsToDecrease-1] = rankLast[nBitsToDecrease]; in HUF_setMaxHeight()
330 rankLast[nBitsToDecrease] = noSymbol; in HUF_setMaxHeight()
332 rankLast[nBitsToDecrease]--; in HUF_setMaxHeight()
[all …]

Completed in 6 milliseconds