Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c28 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY)
32 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro
36 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro
42 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()
49 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight()
62 return (double)price / (BITCOST_MULTIPLIER*8); in ZSTD_fCost()
252 return (litLength << 3) * BITCOST_MULTIPLIER; /* Uncompressed - 8 bytes per literal. */ in ZSTD_rawLiteralsCost()
255 return (litLength*6) * BITCOST_MULTIPLIER; /* 6 bit per literal - no statistic used */ in ZSTD_rawLiteralsCost()
281 return BITCOST_MULTIPLIER + ZSTD_litLengthPrice(ZSTD_BLOCKSIZE_MAX - 1, optPtr, optLevel); in ZSTD_litLengthPrice()
285 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()
[all …]