Home
last modified time | relevance | path

Searched refs:accuracyLog (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse.h565 * Approximate symbol cost, as fractional value, using fixed-point format (accuracyLog fractional bits)
568 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) in FSE_bitCost() argument
574 assert(accuracyLog < 31-tableLog); /* ensure enough room for renormalization double shift */ in FSE_bitCost()
577 U32 const normalizedDeltaFromThreshold = (deltaFromThreshold << accuracyLog) >> tableLog; /* linear interpolation (very approximate) */ in FSE_bitCost()
578 U32 const bitMultiplier = 1 << accuracyLog; in FSE_bitCost()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.h52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
H A Dzstd_compress_sequences.c139 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, in ZSTD_crossEntropyCost() argument
142 unsigned const shift = 8 - accuracyLog; in ZSTD_crossEntropyCost()
145 assert(accuracyLog <= 8); in ZSTD_crossEntropyCost()

Completed in 5 milliseconds