Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c79 static int ZSTD_compressedLiterals(optState_t const* const optPtr) in ZSTD_compressedLiterals() argument
81 return optPtr->literalCompressionMode != ZSTD_lcm_uncompressed; in ZSTD_compressedLiterals()
84 static void ZSTD_setBasePrices(optState_t* optPtr, int optLevel) in ZSTD_setBasePrices() argument
86 if (ZSTD_compressedLiterals(optPtr)) in ZSTD_setBasePrices()
87 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices()
88 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
89 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices()
90 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices()
116 ZSTD_rescaleFreqs(optState_t* const optPtr, in ZSTD_rescaleFreqs() argument
120 int const compressedLiterals = ZSTD_compressedLiterals(optPtr); in ZSTD_rescaleFreqs()
[all …]