Searched refs:CTable (Results 1 – 8 of 8) sorted by relevance
/reactos/drivers/filesystems/btrfs/zstd/ |
H A D | huf_compress.c | 130 huffWeight[n] = bitsToWeight[CTable[n].nbBits]; in HUF_writeCTable() 193 { U32 n; for (n=0; n<nbSymbols; n++) CTable[n].val = valPerRank[CTable[n].nbBits]++; } in HUF_readCTable() 427 nbBits += CTable[s].nbBits * count[s]; in HUF_estimateCompressedSize() 436 bad |= (count[s] != 0) & (CTable[s].nbBits == 0); in HUF_validateCTable() 446 BIT_addBitsFast(bitCPtr, CTable[symbol].val, CTable[symbol].nbBits); in HUF_encodeSymbol() 491 HUF_encodeSymbol(&bitC, ip[n- 1], CTable); in HUF_compress1X_usingCTable_internal_body() 493 HUF_encodeSymbol(&bitC, ip[n- 2], CTable); in HUF_compress1X_usingCTable_internal_body() 495 HUF_encodeSymbol(&bitC, ip[n- 3], CTable); in HUF_compress1X_usingCTable_internal_body() 497 HUF_encodeSymbol(&bitC, ip[n- 4], CTable); in HUF_compress1X_usingCTable_internal_body() 631 HUF_CElt CTable[HUF_SYMBOLVALUE_MAX + 1]; member [all …]
|
H A D | huf.h | 188 size_t HUF_buildCTable (HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned … 189 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal… 190 …4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable); 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); 231 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi… 290 …1X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable);
|
H A D | zstd_compress_superblock.c | 116 …if (repeat == HUF_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp,… in ZSTD_buildSuperBlockEntropy_literal() 121 memset(nextHuf->CTable, 0, sizeof(nextHuf->CTable)); 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() 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()
|
H A D | zstd_compress_literals.c | 108 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2) : in ZSTD_compressLiterals() 112 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2); in ZSTD_compressLiterals()
|
H A D | fse_compress.c | 643 FSE_CTable* CTable = (FSE_CTable*)workSpace; in FSE_compress_wksp() local 645 void* scratchBuffer = (void*)(CTable + CTableSize); in FSE_compress_wksp() 670 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, scratchBuffer… in FSE_compress_wksp() 671 { CHECK_V_F(cSize, FSE_compress_usingCTable(op, oend - op, src, srcSize, CTable) ); in FSE_compress_wksp()
|
H A D | zstd_compress_internal.h | 67 U32 CTable[HUF_CTABLE_SIZE_U32(255)]; member
|
H A D | zstd_opt.c | 129 U32 const bitCost = HUF_getNbBits(optPtr->symbolCosts->huf.CTable, lit); in ZSTD_rescaleFreqs()
|
H A D | zstd_compress.c | 2913 …size_t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, di… in ZSTD_loadCEntropy()
|