Home
last modified time | relevance | path

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

/external/zstd/lib/common/
Dhuf.h143 typedef struct HUF_CElt_s HUF_CElt; /* consider it an incomplete type */ typedef
147 HUF_CElt name[HUF_CTABLE_SIZE_U32(maxSymbolValue)] /* no final ; */
193 size_t HUF_buildCTable (HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned …
194 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal…
195 …4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable);
196 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol…
197 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue);
213 HUF_CElt* hufTable, HUF_repeat* repeat, int preferRepeat, int bmi2);
221 size_t HUF_buildCTable_wksp (HUF_CElt* tree,
249 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi…
[all …]
/external/zstd/lib/compress/
Dhuf_compress.c109 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable()
144 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi… in HUF_readCTable()
195 const HUF_CElt* table = (const HUF_CElt*)symbolTable; in HUF_getNbBits()
472 static void HUF_buildCTableFromTree(HUF_CElt* CTable, nodeElt const* huffNode, int nonNullRank, U32… in HUF_buildCTableFromTree()
494 size_t HUF_buildCTable_wksp (HUF_CElt* tree, const unsigned* count, U32 maxSymbolValue, U32 maxNbBi… in HUF_buildCTable_wksp()
525 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol… in HUF_estimateCompressedSize()
535 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue) { in HUF_validateCTable()
547 HUF_encodeSymbol(BIT_CStream_t* bitCPtr, U32 symbol, const HUF_CElt* CTable) in HUF_encodeSymbol()
563 const HUF_CElt* CTable) in HUF_compress1X_usingCTable_internal_body()
612 const HUF_CElt* CTable) in HUF_compress1X_usingCTable_internal_bmi2()
[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()
137 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
319 static size_t ZSTD_compressSubBlock_literal(const HUF_CElt* hufTable, in ZSTD_compressSubBlock_literal()
553 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock()
594 …{ 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.h66 HUF_CElt CTable[HUF_CTABLE_SIZE_U32(255)];
Dzstd_compress.c3179 …size_t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, di… in ZSTD_loadCEntropy()
/external/zstd/tests/
Ddecodecorpus.c202 HUF_CElt hufTable [256];
429 static size_t writeHufHeader(U32* seed, HUF_CElt* hufTable, void* dst, size_t dstSize, in writeHufHeader()
/external/zstd/lib/legacy/
Dzstd_v01.c943 } HUF_CElt ; typedef