Lines Matching refs:rankVal
299 static U32 HUF_rescaleStats(BYTE* huffWeight, U32* rankVal, U32 nbSymbols, U32 tableLog, U32 targetTableLog)
310 /* Update rankVal to reflect the new weights.
315 rankVal[s] = rankVal[s - scale];
318 rankVal[s] = 0;
325 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1];
353 iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &tableLog, src, srcSize, wksp->statsWksp, sizeof(wksp->statsWksp), bmi2);
361 tableLog = HUF_rescaleStats(wksp->huffWeight, wksp->rankVal, nbSymbols, tableLog, targetTableLog);
368 /* Compute symbols and rankStart given rankVal:
370 * rankVal already contains the number of values of each weight.
372 * symbols contains the symbols ordered by weight. First are the rankVal[0]
373 * weight 0 symbols, followed by the rankVal[1] weight 1 symbols, and so on.
387 nextRankStart += wksp->rankVal[n];
411 int symbol=wksp->rankVal[0];
414 int const symbolCount = wksp->rankVal[w];
932 const U32* rankVal, const int minWeight, const int maxWeight1,
936 /* Fill skipped values (all positions up to rankVal[minWeight]).
943 int const skipSize = rankVal[minWeight];
978 DTable + rankVal[w],
991 U32* const rankVal = rankValOrigin[0];
1005 int start = rankVal[w];
1024 DTable + rankVal[w],
1033 rankValCol_t rankVal[HUF_TABLELOG_MAX];
1103 /* Build rankVal */
1104 { U32* const rankVal0 = wksp->rankVal[0];
1116 U32* const rankValPtr = wksp->rankVal[consumed];
1124 wksp->rankStart0, wksp->rankVal, maxW,