Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_opt.c197 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
198 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
236 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
257 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11); in ZSTD_rescaleFreqs()
346 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
385 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
H A Dzstd_compress_internal.h229 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
H A Dzstd_compress.c1984 …ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxML+1) * sizeof(unsigned)… in ZSTD_reset_matchState()