Home
last modified time | relevance | path

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

/Linux-v4.19/lib/zstd/
Dzstd_opt.h32 ssPtr->log2litLengthSum = ZSTD_highbit32(ssPtr->litLengthSum + 1); in ZSTD_setLog2Prices()
35 …ssPtr->factor = 1 + ((ssPtr->litSum >> 5) / ssPtr->litLengthSum) + ((ssPtr->litSum << 1) / (ssPtr-… in ZSTD_setLog2Prices()
46 if (ssPtr->litLengthSum == 0) { in ZSTD_rescaleFreqs()
56 ssPtr->litLengthSum = MaxLL + 1; in ZSTD_rescaleFreqs()
73 ssPtr->litLengthSum = 0; in ZSTD_rescaleFreqs()
84 ssPtr->litLengthSum += ssPtr->litLengthFreq[u]; in ZSTD_rescaleFreqs()
179 seqStorePtr->litLengthSum++; in ZSTD_updatePrice()
Dzstd_internal.h197 U32 litLengthSum; member
Dcompress.c233 cctx->seqStore.litLengthSum = 0; /* force reset of btopt stats */ in ZSTD_continueCCtx()
316 zc->seqStore.litLengthSum = 0; in ZSTD_resetCCtx_advanced()