Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_opt.c83 static void ZSTD_setBasePrices(optState_t* optPtr, int optLevel) in ZSTD_setBasePrices() argument
86 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices()
87 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
88 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices()
89 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices()
144 int const optLevel) in ZSTD_rescaleFreqs() argument
261 ZSTD_setBasePrices(optPtr, optLevel); in ZSTD_rescaleFreqs()
269 int optLevel) in ZSTD_rawLiteralsCost() argument
286 U32 litPrice = WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost()
296 static U32 ZSTD_litLengthPrice(U32 const litLength, const optState_t* const optPtr, int optLevel) in ZSTD_litLengthPrice() argument
[all …]