Searched refs:maxNbBits (Results 1 – 2 of 2) sorted by relevance
244 static U32 HUF_setMaxHeight(nodeElt* huffNode, U32 lastNonNull, U32 maxNbBits) in HUF_setMaxHeight() argument248 if (largestBits <= maxNbBits) return largestBits; in HUF_setMaxHeight()252 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()259 while (huffNode[n].nbBits > maxNbBits) { in HUF_setMaxHeight()261 huffNode[n].nbBits = (BYTE)maxNbBits; in HUF_setMaxHeight()265 assert(huffNode[n].nbBits <= maxNbBits); in HUF_setMaxHeight()267 while (huffNode[n].nbBits == maxNbBits) --n; in HUF_setMaxHeight()272 totalCost >>= (largestBits - maxNbBits); in HUF_setMaxHeight()281 { U32 currentNbBits = maxNbBits; in HUF_setMaxHeight()286 rankLast[maxNbBits-currentNbBits] = (U32)pos; in HUF_setMaxHeight()[all …]
190 …_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned maxNbBits); /* @return :…220 const unsigned* count, U32 maxSymbolValue, U32 maxNbBits,