Searched refs:ssPtr (Results 1 – 2 of 2) sorted by relevance
29 FORCE_INLINE void ZSTD_setLog2Prices(seqStore_t *ssPtr) in ZSTD_setLog2Prices() argument31 ssPtr->log2matchLengthSum = ZSTD_highbit32(ssPtr->matchLengthSum + 1); in ZSTD_setLog2Prices()32 ssPtr->log2litLengthSum = ZSTD_highbit32(ssPtr->litLengthSum + 1); in ZSTD_setLog2Prices()33 ssPtr->log2litSum = ZSTD_highbit32(ssPtr->litSum + 1); in ZSTD_setLog2Prices()34 ssPtr->log2offCodeSum = ZSTD_highbit32(ssPtr->offCodeSum + 1); in ZSTD_setLog2Prices()35 …ssPtr->factor = 1 + ((ssPtr->litSum >> 5) / ssPtr->litLengthSum) + ((ssPtr->litSum << 1) / (ssPtr-… in ZSTD_setLog2Prices()38 ZSTD_STATIC void ZSTD_rescaleFreqs(seqStore_t *ssPtr, const BYTE *src, size_t srcSize) in ZSTD_rescaleFreqs() argument42 ssPtr->cachedLiterals = NULL; in ZSTD_rescaleFreqs()43 ssPtr->cachedPrice = ssPtr->cachedLitLength = 0; in ZSTD_rescaleFreqs()44 ssPtr->staticPrices = 0; in ZSTD_rescaleFreqs()[all …]
43 static void ZSTD_resetSeqStore(seqStore_t *ssPtr) in ZSTD_resetSeqStore() argument45 ssPtr->lit = ssPtr->litStart; in ZSTD_resetSeqStore()46 ssPtr->sequences = ssPtr->sequencesStart; in ZSTD_resetSeqStore()47 ssPtr->longLengthID = 0; in ZSTD_resetSeqStore()