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

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.h52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
H A Dzstd_compress_sequences.c124 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, argument
127 unsigned const shift = 8 - accuracyLog;
130 assert(accuracyLog <= 8);
/freebsd-current/sys/contrib/zstd/lib/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, argument
142 unsigned const shift = 8 - accuracyLog;
145 assert(accuracyLog <= 8);
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h542 * Approximate symbol cost, as fractional value, using fixed-point format (accuracyLog fractional bits)
545 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) argument
551 assert(accuracyLog < 31-tableLog); /* ensure enough room for renormalization double shift */
554 U32 const normalizedDeltaFromThreshold = (deltaFromThreshold << accuracyLog) >> tableLog; /* linear interpolation (very approximate) */
555 U32 const bitMultiplier = 1 << accuracyLog;
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dfse.h568 * Approximate symbol cost, as fractional value, using fixed-point format (accuracyLog fractional bits)
571 MEM_STATIC U32 FSE_bitCost(const void* symbolTTPtr, U32 tableLog, U32 symbolValue, U32 accuracyLog) argument
577 assert(accuracyLog < 31-tableLog); /* ensure enough room for renormalization double shift */
580 U32 const normalizedDeltaFromThreshold = (deltaFromThreshold << accuracyLog) >> tableLog; /* linear interpolation (very approximate) */
581 U32 const bitMultiplier = 1 << accuracyLog;

Completed in 207 milliseconds