Searched refs:huffNode (Results 1 – 1 of 1) sorted by relevance
228 static U32 HUF_setMaxHeight(nodeElt* huffNode, U32 lastNonNull, U32 maxNbBits) in HUF_setMaxHeight() argument230 const U32 largestBits = huffNode[lastNonNull].nbBits; in HUF_setMaxHeight()243 while (huffNode[n].nbBits > maxNbBits) { in HUF_setMaxHeight()244 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()245 huffNode[n].nbBits = (BYTE)maxNbBits; in HUF_setMaxHeight()249 assert(huffNode[n].nbBits <= maxNbBits); in HUF_setMaxHeight()251 while (huffNode[n].nbBits == maxNbBits) --n; in HUF_setMaxHeight()268 if (huffNode[pos].nbBits >= currentNbBits) continue; in HUF_setMaxHeight()269 currentNbBits = huffNode[pos].nbBits; /* < maxNbBits */ in HUF_setMaxHeight()286 { U32 const highTotal = huffNode[highPos].count; in HUF_setMaxHeight()[all …]