Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/common/
Dhuf.h140 typedef struct HUF_CElt_s HUF_CElt; /* consider it an incomplete type */ typedef
144 HUF_CElt name[HUF_CTABLE_SIZE_U32(maxSymbolValue)] /* no final ; */
190 size_t HUF_buildCTable (HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned …
191 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal…
192 size_t HUF_writeCTable_wksp(void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbo…
193 …4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable);
194 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol…
195 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue);
211 HUF_CElt* hufTable, HUF_repeat* repeat, int preferRepeat, int bmi2);
219 size_t HUF_buildCTable_wksp (HUF_CElt* tree,
[all …]
/linux-6.1.9/lib/zstd/compress/
Dhuf_compress.c114 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, in HUF_writeCTable_wksp()
153 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable()
160 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi… in HUF_readCTable()
211 const HUF_CElt* table = (const HUF_CElt*)symbolTable; in HUF_getNbBits()
488 static void HUF_buildCTableFromTree(HUF_CElt* CTable, nodeElt const* huffNode, int nonNullRank, U32… in HUF_buildCTableFromTree()
510 size_t HUF_buildCTable_wksp (HUF_CElt* tree, const unsigned* count, U32 maxSymbolValue, U32 maxNbBi… in HUF_buildCTable_wksp()
541 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol… in HUF_estimateCompressedSize()
551 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue) { in HUF_validateCTable()
563 HUF_encodeSymbol(BIT_CStream_t* bitCPtr, U32 symbol, const HUF_CElt* CTable) in HUF_encodeSymbol()
579 const HUF_CElt* CTable) in HUF_compress1X_usingCTable_internal_body()
[all …]
Dzstd_compress_superblock.c116 …if (repeat == HUF_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp,… in ZSTD_buildSuperBlockEntropy_literal()
123 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildSuperBlockEntropy_literal()
130 (HUF_CElt*)nextHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
133 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog, in ZSTD_buildSuperBlockEntropy_literal()
138 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
320 static size_t ZSTD_compressSubBlock_literal(const HUF_CElt* hufTable, in ZSTD_compressSubBlock_literal()
556 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock()
597 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateSubBlockSize_literal()
Dzstd_compress_literals.c108 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2) : in ZSTD_compressLiterals()
112 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2); in ZSTD_compressLiterals()
Dzstd_compress_internal.h60 HUF_CElt CTable[HUF_CTABLE_SIZE_U32(255)];
Dzstd_compress.c3152 …size_t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, di… in ZSTD_loadCEntropy()