Searched refs:huffLog (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/lib/zstd/compress/ |
D | huf_compress.c | 170 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, in HUF_writeCTable_wksp() argument 184 for (n=1; n<huffLog+1; n++) in HUF_writeCTable_wksp() 185 wksp->bitsToWeight[n] = (BYTE)(huffLog + 1 - n); in HUF_writeCTable_wksp() 211 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable() argument 214 …return HUF_writeCTable_wksp(dst, maxDstSize, CTable, maxSymbolValue, huffLog, &wksp, sizeof(wksp)); in HUF_writeCTable() 1177 unsigned maxSymbolValue, unsigned huffLog, in HUF_compress_internal() argument 1195 if (huffLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_compress_internal() 1198 if (!huffLog) huffLog = HUF_TABLELOG_DEFAULT; in HUF_compress_internal() 1242 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in HUF_compress_internal() 1244 maxSymbolValue, huffLog, in HUF_compress_internal() [all …]
|
D | zstd_compress.c | 2978 unsigned huffLog = HUF_TABLELOG_DEFAULT; in ZSTD_buildBlockEntropyStats_literals() local 3025 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals() 3027 maxSymbolValue, huffLog, in ZSTD_buildBlockEntropyStats_literals() 3030 huffLog = (U32)maxBits; in ZSTD_buildBlockEntropyStats_literals() 3036 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog, in ZSTD_buildBlockEntropyStats_literals()
|
/linux-6.12.1/lib/zstd/common/ |
D | huf.h | 187 … (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog); 188 …_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace,…
|