Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c1044 optState_t* const optStatePtr = &ms->opt; in ZSTD_compressBlock_opt_generic() local
1060 ZSTD_optimal_t* const opt = optStatePtr->priceTable; in ZSTD_compressBlock_opt_generic()
1061 ZSTD_match_t* const matches = optStatePtr->matchTable; in ZSTD_compressBlock_opt_generic()
1073 ZSTD_rescaleFreqs(optStatePtr, (const BYTE*)src, srcSize, optLevel); in ZSTD_compressBlock_opt_generic()
1097 opt[0].price = (int)ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1118 … { U32 const literalsPrice = (U32)opt[0].price + ZSTD_litLengthPrice(0, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1128 … U32 const matchPrice = ZSTD_getMatchPrice(offcode, pos, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
1150 + (int)ZSTD_rawLiteralsCost(ip+cur-1, 1, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic()
1151 + (int)ZSTD_litLengthPrice(litlen, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic()
1152 - (int)ZSTD_litLengthPrice(litlen-1, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic()
[all …]