Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_opt.c155 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
156 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
188 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
205 optPtr->matchLengthSum = ZSTD_downscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_rescaleFreqs()
277 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
316 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
1242 optPtr->matchLengthSum = ZSTD_upscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_upscaleStats()
H A Dzstd_compress_internal.h120 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
H A Dzstd_compress.c1571 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState()