Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c950 optState_t* const optStatePtr = &ms->opt; in ZSTD_compressBlock_opt_generic() local
964 ZSTD_optimal_t* const opt = optStatePtr->priceTable; in ZSTD_compressBlock_opt_generic()
965 ZSTD_match_t* const matches = optStatePtr->matchTable; in ZSTD_compressBlock_opt_generic()
977 ZSTD_rescaleFreqs(optStatePtr, (const BYTE*)src, srcSize, optLevel); in ZSTD_compressBlock_opt_generic()
1001 opt[0].price = ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1021 … { U32 const literalsPrice = opt[0].price + ZSTD_litLengthPrice(0, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1031 … U32 const matchPrice = ZSTD_getMatchPrice(offset, pos, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1053 + ZSTD_rawLiteralsCost(ip+cur-1, 1, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic()
1054 + ZSTD_litLengthPrice(litlen, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic()
1055 - ZSTD_litLengthPrice(litlen-1, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
[all …]