Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dzstd_opt.h51 ssPtr->litFreq[u] = 0; in ZSTD_rescaleFreqs()
53 ssPtr->litFreq[src[u]]++; in ZSTD_rescaleFreqs()
62 ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> ZSTD_FREQ_DIV); in ZSTD_rescaleFreqs()
63 ssPtr->litSum += ssPtr->litFreq[u]; in ZSTD_rescaleFreqs()
79 ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> (ZSTD_FREQ_DIV + 1)); in ZSTD_rescaleFreqs()
80 ssPtr->litSum += ssPtr->litFreq[u]; in ZSTD_rescaleFreqs()
117 price -= ZSTD_highbit32(ssPtr->litFreq[literals2[u]] + 1); in ZSTD_getLiteralPrice()
123 price -= ZSTD_highbit32(ssPtr->litFreq[literals[u]] + 1); in ZSTD_getLiteralPrice()
172 seqStorePtr->litFreq[literals[u]] += ZSTD_LITFREQ_ADD; in ZSTD_updatePrice()
Dzstd_internal.h193 U32 *litFreq; member
Dcompress.c307 zc->seqStore.litFreq = (U32 *)ptr; in ZSTD_resetCCtx_advanced()
308 zc->seqStore.litLengthFreq = zc->seqStore.litFreq + (1 << Litbits); in ZSTD_resetCCtx_advanced()