Searched refs:largestBits (Results 1 – 1 of 1) sorted by relevance
292 const U32 largestBits = huffNode[lastNonNull].nbBits; in HUF_setMaxHeight() local293 if (largestBits <= maxNbBits) in HUF_setMaxHeight()294 return largestBits; /* early exit : no elt > maxNbBits */ in HUF_setMaxHeight()299 const U32 baseCost = 1 << (largestBits - maxNbBits); in HUF_setMaxHeight()303 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()311 …totalCost >>= (largestBits - maxNbBits); /* note : totalCost is necessarily a multiple of baseCost… in HUF_setMaxHeight()