Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c18 #define ZSTD_FREQ_DIV 4 /* log factor when using previous stats to init next stats */ macro
90 assert(ZSTD_FREQ_DIV+malus > 0 && ZSTD_FREQ_DIV+malus < 31); in ZSTD_downscaleStat()
92 table[s] = 1 + (table[s] >> (ZSTD_FREQ_DIV+malus)); in ZSTD_downscaleStat()
1083 assert(ZSTD_FREQ_DIV+bonus >= 0); in ZSTD_upscaleStat()
1085 table[s] <<= ZSTD_FREQ_DIV+bonus; in ZSTD_upscaleStat()