Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c88 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
124 if (optPtr->litLengthSum == 0) { /* first block : init */ in ZSTD_rescaleFreqs()
150 optPtr->litLengthSum = 0; in ZSTD_rescaleFreqs()
156 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
196 optPtr->litLengthSum = MaxLL+1; in ZSTD_rescaleFreqs()
216 optPtr->litLengthSum = ZSTD_downscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_rescaleFreqs()
315 optPtr->litLengthSum++; in ZSTD_updateStats()
1254 optPtr->litLengthSum = ZSTD_upscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_upscaleStats()
1274 assert(ms->opt.litLengthSum == 0); /* first block */ in ZSTD_initStats_ultra()
1316 if ( (ms->opt.litLengthSum==0) /* first block */ in ZSTD_compressBlock_btultra2()
Dzstd_compress_superblock.c413 size_t litLengthSum = 0; in ZSTD_seqDecompressedSize() local
415 (void)litLengthSum; in ZSTD_seqDecompressedSize()
418 litLengthSum += seqLen.litLength; in ZSTD_seqDecompressedSize()
422 assert(litLengthSum <= litSize); in ZSTD_seqDecompressedSize()
424 assert(litLengthSum == litSize); in ZSTD_seqDecompressedSize()
Dzstd_compress_internal.h120 U32 litLengthSum; /* nb of litLength codes */ member
Dzstd_compress.c1452 ms->opt.litLengthSum = 0; /* force reset of btopt stats */ in ZSTD_invalidateMatchState()