Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dzstd_opt.c167 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
168 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
200 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
217 optPtr->matchLengthSum = ZSTD_downscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_rescaleFreqs()
289 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
328 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
1255 optPtr->matchLengthSum = ZSTD_upscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_upscaleStats()
Dzstd_compress_internal.h114 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
Dzstd_compress.c1529 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState()