Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_compress_superblock.c135 size_t litLengthSum = 0; in ZSTD_seqDecompressedSize() local
139 litLengthSum += seqLen.litLength; in ZSTD_seqDecompressedSize()
144 (unsigned)litLengthSum, (unsigned)matchLengthSum); in ZSTD_seqDecompressedSize()
146 assert(litLengthSum == litSize); in ZSTD_seqDecompressedSize()
148 assert(litLengthSum <= litSize); in ZSTD_seqDecompressedSize()
149 (void)litLengthSum; in ZSTD_seqDecompressedSize()
H A Dzstd_opt.c87 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
150 … if (optPtr->litLengthSum == 0) { /* no literals stats collected -> first block assumed -> init */ in ZSTD_rescaleFreqs()
180 optPtr->litLengthSum = 0; in ZSTD_rescaleFreqs()
186 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
231 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1); in ZSTD_rescaleFreqs()
256 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
372 optPtr->litLengthSum++; in ZSTD_updateStats()
1494 assert(ms->opt.litLengthSum == 0); /* first block */ in ZSTD_initStats_ultra()
1534 if ( (ms->opt.litLengthSum==0) /* first block */ in ZSTD_compressBlock_btultra2()
H A Dzstd_compress_internal.h235 U32 litLengthSum; /* nb of litLength codes */ member
H A Dzstd_compress.c1865 ms->opt.litLengthSum = 0; /* force reset of btopt stats */ in ZSTD_invalidateMatchState()