Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_opt.c143 … optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
144 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
182 optPtr->litLengthFreq[ll] = 1; in ZSTD_rescaleFreqs()
204 optPtr->litLengthSum = ZSTD_downscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_rescaleFreqs()
248 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
302 optPtr->litLengthFreq[llCode]++; in ZSTD_updateStats()
1241 optPtr->litLengthSum = ZSTD_upscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_upscaleStats()
H A Dzstd_compress_internal.h119 unsigned* litLengthFreq; /* table of litLength statistics, of size (MaxLL+1) */ member
H A Dzstd_compress.c1570 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()