Searched refs:litFreq (Results 1 – 3 of 3) sorted by relevance
/reactos/drivers/filesystems/btrfs/zstd/ |
H A D | zstd_opt.c | 125 assert(optPtr->litFreq != NULL); in ZSTD_rescaleFreqs() 131 … optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs() 132 optPtr->litSum += optPtr->litFreq[lit]; in ZSTD_rescaleFreqs() 173 assert(optPtr->litFreq != NULL); in ZSTD_rescaleFreqs() 176 …HIST_count_simple(optPtr->litFreq, &lit, src, srcSize); /* use raw first block to init statistic… in ZSTD_rescaleFreqs() 177 optPtr->litSum = ZSTD_downscaleStat(optPtr->litFreq, MaxLit, 1); in ZSTD_rescaleFreqs() 203 optPtr->litSum = ZSTD_downscaleStat(optPtr->litFreq, MaxLit, 1); in ZSTD_rescaleFreqs() 231 …assert(WEIGHT(optPtr->litFreq[literals[u]], optLevel) <= optPtr->litSumBasePrice); /* literal co… in ZSTD_rawLiteralsCost() 232 price -= WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost() 296 optPtr->litFreq[literals[u]] += ZSTD_LITFREQ_ADD; in ZSTD_updateStats() [all …]
|
H A D | zstd_compress_internal.h | 102 unsigned* litFreq; /* table of literals statistics, of size 256 */ member
|
H A D | zstd_compress.c | 1388 … ms->opt.litFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (1<<Litbits) * sizeof(unsigned)); in ZSTD_reset_matchState()
|