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.c175 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
176 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
213 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
235 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11); in ZSTD_rescaleFreqs()
318 …COST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optL… in ZSTD_getMatchPrice()
357 optPtr->matchLengthFreq[mlCode]++; in ZSTD_updateStats()
H A Dzstd_compress_internal.h161 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member
H A Dzstd_compress.c1693 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState()