Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/compress/
H A Dzstd_opt.c32 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY)
36 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro
40 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro
48 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()
58 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight()
74 return (double)price / (BITCOST_MULTIPLIER*8); in ZSTD_fCost()
282 U32 const litPriceMax = optPtr->litSumBasePrice - BITCOST_MULTIPLIER; in ZSTD_rawLiteralsCost()
284 assert(optPtr->litSumBasePrice >= BITCOST_MULTIPLIER); in ZSTD_rawLiteralsCost()
312 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()
337 + ((16 + offCode) * BITCOST_MULTIPLIER); /* emulated offset cost */ in ZSTD_getMatchPrice()
[all …]