Searched refs:HUF_CElt (Results 1 – 6 of 6) sorted by relevance
/linux/lib/zstd/compress/ |
H A D | huf_compress.c | 128 static size_t HUF_getNbBits(HUF_CElt elt) in HUF_getNbBits() 133 static size_t HUF_getNbBitsFast(HUF_CElt elt) in HUF_getNbBitsFast() 138 static size_t HUF_getValue(HUF_CElt elt) in HUF_getValue() 143 static size_t HUF_getValueFast(HUF_CElt elt) in HUF_getValueFast() 148 static void HUF_setNbBits(HUF_CElt* elt, size_t nbBits) in HUF_setNbBits() 154 static void HUF_setValue(HUF_CElt* elt, size_t value) in HUF_setValue() 159 *elt |= value << (sizeof(HUF_CElt) * 8 - nbBits); in HUF_setValue() 170 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, in HUF_writeCTable_wksp() 173 HUF_CElt const* const ct = CTable + 1; in HUF_writeCTable_wksp() 211 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable() [all …]
|
H A D | zstd_compress_literals.c | 109 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2, suspectUncompressible) : in ZSTD_compressLiterals() 113 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2, suspectUncompressible); in ZSTD_compressLiterals()
|
H A D | zstd_compress_superblock.c | 41 static size_t ZSTD_compressSubBlock_literal(const HUF_CElt* hufTable, in ZSTD_compressSubBlock_literal() 276 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock() 317 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateSubBlockSize_literal()
|
H A D | zstd_compress.c | 3019 …if (repeat == HUF_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp,… in ZSTD_buildBlockEntropyStats_literals() 3026 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildBlockEntropyStats_literals() 3033 (HUF_CElt*)nextHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals() 3036 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog, in ZSTD_buildBlockEntropyStats_literals() 3041 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals() 3162 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateBlockSize_literal() 4235 …size_t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, di… in ZSTD_loadCEntropy()
|
H A D | zstd_compress_internal.h | 60 HUF_CElt CTable[HUF_CTABLE_SIZE_ST(255)];
|
/linux/lib/zstd/common/ |
H A D | huf.h | 136 typedef size_t HUF_CElt; /* consider it an incomplete type */ typedef 140 HUF_CElt name[HUF_CTABLE_SIZE_ST(maxSymbolValue)] /* no final ; */ 186 size_t HUF_buildCTable (HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned … 187 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal… 188 size_t HUF_writeCTable_wksp(void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbo… 189 …4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable); 190 …_bmi2(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable, int bmi2… 191 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol… 192 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue); 209 …HUF_CElt* hufTable, HUF_repeat* repeat, int preferRepeat, int bmi2, unsigned suspectUncompressible… [all …]
|