Searched refs:optPtr (Results 1 – 1 of 1) sorted by relevance
79 static int ZSTD_compressedLiterals(optState_t const* const optPtr) in ZSTD_compressedLiterals() argument81 return optPtr->literalCompressionMode != ZSTD_lcm_uncompressed; in ZSTD_compressedLiterals()84 static void ZSTD_setBasePrices(optState_t* optPtr, int optLevel) in ZSTD_setBasePrices() argument86 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() argument120 int const compressedLiterals = ZSTD_compressedLiterals(optPtr); in ZSTD_rescaleFreqs()[all …]