Home
last modified time | relevance | path

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

/Linux-v6.1/lib/zstd/compress/
Dzstd_opt.c155 … optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
156 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
194 optPtr->litLengthFreq[ll] = 1; in ZSTD_rescaleFreqs()
216 optPtr->litLengthSum = ZSTD_downscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_rescaleFreqs()
260 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
314 optPtr->litLengthFreq[llCode]++; in ZSTD_updateStats()
1254 optPtr->litLengthSum = ZSTD_upscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_upscaleStats()
Dzstd_compress_internal.h113 unsigned* litLengthFreq; /* table of litLength statistics, of size (MaxLL+1) */ member
Dzstd_compress.c1528 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()