Searched refs:maxNbBits (Results 1 – 2 of 2) sorted by relevance
305 static U32 HUF_setMaxHeight(nodeElt* huffNode, U32 lastNonNull, U32 maxNbBits) in HUF_setMaxHeight() argument309 if (largestBits <= maxNbBits) return largestBits; in HUF_setMaxHeight()313 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()320 while (huffNode[n].nbBits > maxNbBits) { in HUF_setMaxHeight()322 huffNode[n].nbBits = (BYTE)maxNbBits; in HUF_setMaxHeight()326 assert(huffNode[n].nbBits <= maxNbBits); in HUF_setMaxHeight()328 while (huffNode[n].nbBits == maxNbBits) --n; in HUF_setMaxHeight()333 totalCost >>= (largestBits - maxNbBits); in HUF_setMaxHeight()342 { U32 currentNbBits = maxNbBits; in HUF_setMaxHeight()347 rankLast[maxNbBits-currentNbBits] = (U32)pos; in HUF_setMaxHeight()[all …]
186 …_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned maxNbBits); /* @return :…218 const unsigned* count, U32 maxSymbolValue, U32 maxNbBits,