Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c308 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_literal() local
315 …size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize… in ZSTD_estimateSubBlockSize_literal()
317 …SizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, maxSymbolValue); in ZSTD_estimateSubBlockSize_literal()
332 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_symbolType() local
339 HIST_countFast_wksp(countWksp, &max, codeTable, nbSeq, workspace, wkspSize); /* can't fail */ in ZSTD_estimateSubBlockSize_symbolType()
344 ? ZSTD_crossEntropyCost(defaultNorm, defaultNormLog, countWksp, max) in ZSTD_estimateSubBlockSize_symbolType()
349 cSymbolTypeSizeEstimateInBits = ZSTD_fseBitCost(fseCTable, countWksp, max); in ZSTD_estimateSubBlockSize_symbolType()
Dzstd_compress.c2973 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_buildBlockEntropyStats_literals() local
3004 …{ size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize,… in ZSTD_buildBlockEntropyStats_literals()
3019 …F_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue)… in ZSTD_buildBlockEntropyStats_literals()
3026 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildBlockEntropyStats_literals()
3033 (HUF_CElt*)nextHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals()
3041 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals()
3152 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateBlockSize_literal() local
3160 …size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize… in ZSTD_estimateBlockSize_literal()
3162 …SizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, maxSymbolValue); in ZSTD_estimateBlockSize_literal()
3179 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateBlockSize_symbolType() local
[all …]