Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dhuf_compress.c114 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, in HUF_writeCTable_wksp() argument
127 for (n=1; n<huffLog+1; n++) in HUF_writeCTable_wksp()
128 wksp->bitsToWeight[n] = (BYTE)(huffLog + 1 - n); in HUF_writeCTable_wksp()
153 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable() argument
156 …return HUF_writeCTable_wksp(dst, maxDstSize, CTable, maxSymbolValue, huffLog, &wksp, sizeof(wksp)); in HUF_writeCTable()
766 unsigned maxSymbolValue, unsigned huffLog, in HUF_compress_internal() argument
785 if (huffLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_compress_internal()
788 if (!huffLog) huffLog = HUF_TABLELOG_DEFAULT; in HUF_compress_internal()
817 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in HUF_compress_internal()
819 maxSymbolValue, huffLog, in HUF_compress_internal()
[all …]
Dzstd_compress_superblock.c76 unsigned huffLog = HUF_TABLELOG_DEFAULT; in ZSTD_buildSuperBlockEntropy_literal() local
122 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
124 maxSymbolValue, huffLog, in ZSTD_buildSuperBlockEntropy_literal()
127 huffLog = (U32)maxBits; in ZSTD_buildSuperBlockEntropy_literal()
133 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog, in ZSTD_buildSuperBlockEntropy_literal()
/linux-6.1.9/lib/zstd/common/
Dhuf.h191 … (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog);
192 …_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace,…