Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_opt.c17 #define ZSTD_FREQ_DIV 4 /* log factor when using previous stats to init next stats */ macro
89 assert(ZSTD_FREQ_DIV+malus > 0 && ZSTD_FREQ_DIV+malus < 31); in ZSTD_downscaleStat()
91 table[s] = 1 + (table[s] >> (ZSTD_FREQ_DIV+malus)); in ZSTD_downscaleStat()
1227 assert(ZSTD_FREQ_DIV+bonus >= 0); in ZSTD_upscaleStat()
1229 table[s] <<= ZSTD_FREQ_DIV+bonus; in ZSTD_upscaleStat()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c20163 #define ZSTD_FREQ_DIV 4 /* log factor when using previous stats to init next stats */ macro
20235 assert(ZSTD_FREQ_DIV+malus > 0 && ZSTD_FREQ_DIV+malus < 31); in ZSTD_downscaleStat()
20237 table[s] = 1 + (table[s] >> (ZSTD_FREQ_DIV+malus)); in ZSTD_downscaleStat()
21228 assert(ZSTD_FREQ_DIV+bonus >= 0); in ZSTD_upscaleStat()
21230 table[s] <<= ZSTD_FREQ_DIV+bonus; in ZSTD_upscaleStat()