Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c317 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateSubBlockSize_literal() local
318 if (writeEntropy) cLitSizeEstimate += hufMetadata->hufDesSize; in ZSTD_estimateSubBlockSize_literal()
319 return cLitSizeEstimate + literalSectionHeaderSize; in ZSTD_estimateSubBlockSize_literal()
Dzstd_compress.c3162 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateBlockSize_literal() local
3163 if (writeEntropy) cLitSizeEstimate += hufMetadata->hufDesSize; in ZSTD_estimateBlockSize_literal()
3164 … if (!singleStream) cLitSizeEstimate += 6; /* multi-stream huffman uses 6-byte jump table */ in ZSTD_estimateBlockSize_literal()
3165 return cLitSizeEstimate + literalSectionHeaderSize; in ZSTD_estimateBlockSize_literal()