Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dhuf_compress.c109 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable() argument
121 for (n=1; n<huffLog+1; n++) in HUF_writeCTable()
122 bitsToWeight[n] = (BYTE)(huffLog + 1 - n); in HUF_writeCTable()
743 unsigned maxSymbolValue, unsigned huffLog, in HUF_compress_internal() argument
762 if (huffLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_compress_internal()
765 if (!huffLog) huffLog = HUF_TABLELOG_DEFAULT; in HUF_compress_internal()
794 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in HUF_compress_internal()
796 maxSymbolValue, huffLog, in HUF_compress_internal()
799 huffLog = (U32)maxBits; in HUF_compress_internal()
806 { CHECK_V_F(hSize, HUF_writeCTable (op, dstSize, table->CTable, 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()
/external/zstd/lib/dictBuilder/
Dzdict.c726 U32 u, huffLog = 11, Offlog = OffFSELog, mlLog = MLFSELog, llLog = LLFSELog, total; in ZDICT_analyzeEntropy() local
765 { size_t maxNbBits = HUF_buildCTable (hufTable, countLit, 255, huffLog); in ZDICT_analyzeEntropy()
774 maxNbBits = HUF_buildCTable (hufTable, countLit, 255, huffLog); in ZDICT_analyzeEntropy()
777 huffLog = (U32)maxNbBits; in ZDICT_analyzeEntropy()
815 { size_t const hhSize = HUF_writeCTable(dstPtr, maxDstSize, hufTable, 255, huffLog); in ZDICT_analyzeEntropy()
/external/zstd/tests/
Ddecodecorpus.c435 unsigned huffLog = 11; in writeHufHeader() local
449 huffLog = RAND_range(seed, ZSTD_highbit32(maxSymbolValue)+1, huffLog+1); in writeHufHeader()
450 DISPLAYLEVEL(6, " huffman log: %u\n", huffLog); in writeHufHeader()
451 …{ size_t const maxBits = HUF_buildCTable_wksp (hufTable, count, maxSymbolValue, huffLog, WKSP, s… in writeHufHeader()
453 huffLog = (U32)maxBits; in writeHufHeader()
457 { size_t const hSize = HUF_writeCTable (op, dstSize, hufTable, maxSymbolValue, huffLog); in writeHufHeader()
/external/zstd/lib/common/
Dhuf.h194 … (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog);