Searched refs:BITCOST_MULTIPLIER (Results 1 – 2 of 2) sorted by relevance
29 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY)33 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro37 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro43 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()50 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight()63 return (double)price / (BITCOST_MULTIPLIER*8); in ZSTD_fCost()222 return (litLength << 3) * BITCOST_MULTIPLIER; /* Uncompressed - 8 bytes per literal. */ in ZSTD_rawLiteralsCost()225 return (litLength*6) * BITCOST_MULTIPLIER; /* 6 bit per literal - no statistic used */ in ZSTD_rawLiteralsCost()246 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()268 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice()[all …]
20175 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY)20179 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro20183 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) macro20189 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight()20196 U32 const BWeight = hb * BITCOST_MULTIPLIER; in ZSTD_fracWeight()20209 return (double)price / (BITCOST_MULTIPLIER*8); in ZSTD_fCost()20368 return (litLength << 3) * BITCOST_MULTIPLIER; /* Uncompressed - 8 bytes per literal. */ in ZSTD_rawLiteralsCost()20371 return (litLength*6) * BITCOST_MULTIPLIER; /* 6 bit per literal - no statistic used */ in ZSTD_rawLiteralsCost()20392 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()20414 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice()[all …]