Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_sequences.c209 size_t const compressedCost = (NCountCost << 3) + ZSTD_entropyCost(count, max, nbSeq); in ZSTD_selectEncodingType() local
216 assert(compressedCost < ERROR(maxCode)); in ZSTD_selectEncodingType()
218 (unsigned)basicCost, (unsigned)repeatCost, (unsigned)compressedCost); in ZSTD_selectEncodingType()
219 if (basicCost <= repeatCost && basicCost <= compressedCost) { in ZSTD_selectEncodingType()
225 if (repeatCost <= compressedCost) { in ZSTD_selectEncodingType()
230 assert(compressedCost < basicCost && compressedCost < repeatCost); in ZSTD_selectEncodingType()