Home
last modified time | relevance | path

Searched refs:litLengthFreq (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h66 ssPtr->litLengthFreq[u] = 1; in ZSTD_rescaleFreqs()
83 ssPtr->litLengthFreq[u] = 1 + (ssPtr->litLengthFreq[u] >> (ZSTD_FREQ_DIV + 1)); in ZSTD_rescaleFreqs()
84 ssPtr->litLengthSum += ssPtr->litLengthFreq[u]; in ZSTD_rescaleFreqs()
109 return ssPtr->log2litLengthSum - ZSTD_highbit32(ssPtr->litLengthFreq[0] + 1); in ZSTD_getLiteralPrice()
136 price += LL_bits[llCode] + ssPtr->log2litLengthSum - ZSTD_highbit32(ssPtr->litLengthFreq[llCode] + 1); in ZSTD_getLiteralPrice()
178 seqStorePtr->litLengthFreq[llCode]++; in ZSTD_updatePrice()
H A Dzstd_internal.h202 U32 *litLengthFreq; member
H A Dcompress.c308 zc->seqStore.litLengthFreq = zc->seqStore.litFreq + (1 << Litbits); in ZSTD_resetCCtx_advanced()
309 zc->seqStore.matchLengthFreq = zc->seqStore.litLengthFreq + (MaxLL + 1); in ZSTD_resetCCtx_advanced()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_opt.c163 optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
164 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
207 ZSTD_memcpy(optPtr->litLengthFreq, baseLLfreqs, sizeof(baseLLfreqs)); in ZSTD_rescaleFreqs()
234 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
287 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
343 optPtr->litLengthFreq[llCode]++; in ZSTD_updateStats()
H A Dzstd_compress_internal.h160 unsigned* litLengthFreq; /* table of litLength statistics, of size (MaxLL+1) */ member
H A Dzstd_compress.c1692 ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()

Completed in 26 milliseconds