Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dzstd_opt.c179 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
180 optPtr->offCodeSum += optPtr->offCodeFreq[of]; in ZSTD_rescaleFreqs()
206 optPtr->offCodeFreq[of] = 1; in ZSTD_rescaleFreqs()
218 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
283 … * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLe… in ZSTD_getMatchPrice()
321 optPtr->offCodeFreq[offCode]++; in ZSTD_updateStats()
1256 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
Dzstd_compress_internal.h115 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member
Dzstd_compress.c1530 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()