Home
last modified time | relevance | path

Searched refs:optPtr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/zstd/compress/
H A Dzstd_opt.c74 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices()
75 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
76 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices()
77 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices()
152 optPtr->litSum += optPtr->litFreq[lit]; in ZSTD_rescaleFreqs()
164 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
176 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
188 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs()
197 optPtr->litSum = ZSTD_downscaleStats(optPtr->litFreq, MaxLit, 8); in ZSTD_rescaleFreqs()
233 optPtr->litSum = ZSTD_scaleStats(optPtr->litFreq, MaxLit, 12); in ZSTD_rescaleFreqs()
[all …]