Home
last modified time | relevance | path

Searched refs:FSE_CTable (Results 1 – 19 of 19) sorted by relevance

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.h26 FSE_CTable const* prevCTable,
33 FSE_CTable* nextCTable, U32 FSELog, symbolEncodingType_e type,
37 const FSE_CTable* prevCTable, size_t prevCTableSize,
42 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
44 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable,
48 FSE_CTable const* ctable,
H A Dzstd_compress_sequences.c46 static unsigned ZSTD_getFSEMaxSymbolValue(FSE_CTable const* ctable) { in ZSTD_getFSEMaxSymbolValue()
105 FSE_CTable const* ctable, in ZSTD_fseBitCost()
160 FSE_CTable const* prevCTable, in ZSTD_selectEncodingType()
244 FSE_CTable* nextCTable, U32 FSELog, symbolEncodingType_e type, in ZSTD_buildCTable()
248 const FSE_CTable* prevCTable, size_t prevCTableSize, in ZSTD_buildCTable()
293 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body()
294 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body()
295 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_body()
387 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default()
388 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default()
[all …]
H A Dfse_compress.c67 size_t FSE_buildCTable_wksp(FSE_CTable* ct, in FSE_buildCTable_wksp()
345 FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog) in FSE_createCTable()
350 return (FSE_CTable*)ZSTD_malloc(size); in FSE_createCTable()
353 void FSE_freeCTable (FSE_CTable* ct) { ZSTD_free(ct); } in FSE_freeCTable()
537 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) in FSE_buildCTable_raw()
570 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) in FSE_buildCTable_rle()
595 const FSE_CTable* ct, const unsigned fast) in FSE_compress_usingCTable_generic()
654 const FSE_CTable* ct) in FSE_compress_usingCTable()
680 FSE_CTable* CTable = (FSE_CTable*)workSpace; in FSE_compress_wksp()
683 size_t const scratchBufferSize = wkspSize - (CTableSize * sizeof(FSE_CTable)); in FSE_compress_wksp()
[all …]
H A Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
72 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
73 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
H A Dzstd_compress_superblock.c327 size_t nbSeq, const FSE_CTable* fseCTable, in ZSTD_estimateSubBlockSize_symbolType()
H A Dzstd_compress.c2459 FSE_CTable* CTable_LitLength = nextEntropy->litlengthCTable; in ZSTD_buildSequencesStatistics()
2460 FSE_CTable* CTable_OffsetBits = nextEntropy->offcodeCTable; in ZSTD_buildSequencesStatistics()
2461 FSE_CTable* CTable_MatchLength = nextEntropy->matchlengthCTable; in ZSTD_buildSequencesStatistics()
2585 FSE_CTable* CTable_LitLength = nextEntropy->fse.litlengthCTable; in ZSTD_entropyCompressSeqStore_internal()
2586 FSE_CTable* CTable_OffsetBits = nextEntropy->fse.offcodeCTable; in ZSTD_entropyCompressSeqStore_internal()
2587 FSE_CTable* CTable_MatchLength = nextEntropy->fse.matchlengthCTable; in ZSTD_entropyCompressSeqStore_internal()
3265 const FSE_CTable* fseCTable, in ZSTD_estimateBlockSize_symbolType()
H A Dhuf_compress.c86 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)];
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.h28 FSE_CTable const* prevCTable,
35 FSE_CTable* nextCTable, U32 FSELog, SymbolEncodingType_e type,
39 const FSE_CTable* prevCTable, size_t prevCTableSize,
44 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
45 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
46 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable,
50 FSE_CTable const* ctable,
H A Dzstd_compress_sequences.c47 static unsigned ZSTD_getFSEMaxSymbolValue(FSE_CTable const* ctable) { in ZSTD_getFSEMaxSymbolValue()
106 FSE_CTable const* ctable, in ZSTD_fseBitCost()
161 FSE_CTable const* prevCTable, in ZSTD_selectEncodingType()
245 FSE_CTable* nextCTable, U32 FSELog, SymbolEncodingType_e type, in ZSTD_buildCTable()
249 const FSE_CTable* prevCTable, size_t prevCTableSize, in ZSTD_buildCTable()
294 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body()
295 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body()
296 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_body()
388 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default()
389 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default()
[all …]
H A Dfse_compress.c69 size_t FSE_buildCTable_wksp(FSE_CTable* ct, in FSE_buildCTable_wksp()
529 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) in FSE_buildCTable_rle()
554 const FSE_CTable* ct, const unsigned fast) in FSE_compress_usingCTable_generic()
613 const FSE_CTable* ct) in FSE_compress_usingCTable()
H A Dzstd_compress_internal.h70 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
71 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
72 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
H A Dzstd_compress_superblock.c333 size_t nbSeq, const FSE_CTable* fseCTable, in ZSTD_estimateSubBlockSize_symbolType()
H A Dzstd_compress.c2774 FSE_CTable* CTable_LitLength = nextEntropy->litlengthCTable; in ZSTD_buildSequencesStatistics()
2775 FSE_CTable* CTable_OffsetBits = nextEntropy->offcodeCTable; in ZSTD_buildSequencesStatistics()
2776 FSE_CTable* CTable_MatchLength = nextEntropy->matchlengthCTable; in ZSTD_buildSequencesStatistics()
2901 FSE_CTable* CTable_LitLength = nextEntropy->fse.litlengthCTable; in ZSTD_entropyCompressSeqStore_internal()
2902 FSE_CTable* CTable_OffsetBits = nextEntropy->fse.offcodeCTable; in ZSTD_entropyCompressSeqStore_internal()
2903 FSE_CTable* CTable_MatchLength = nextEntropy->fse.matchlengthCTable; in ZSTD_entropyCompressSeqStore_internal()
3860 const FSE_CTable* fseCTable, in ZSTD_estimateBlockSize_symbolType()
H A Dhuf_compress.c141 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)];
/src/sys/contrib/zstd/lib/common/
H A Dfse.h166 typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than … typedef
167 FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog);
168 FSE_PUBLIC_API void FSE_freeCTable (FSE_CTable* ct);
173 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS…
180 …usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct);
312 …TableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(FSE_CTable))
330 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits);
333 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
343 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue…
384 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
[all …]
/src/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h119 typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than … typedef
124 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS…
131 …usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct);
245 …TableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(FSE_CTable))
256 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
266 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue…
299 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
429 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState()
444 MEM_STATIC void FSE_initCState2(FSE_CState_t* statePtr, const FSE_CTable* ct, U32 symbol) in FSE_initCState2()
/src/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c57 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
H A Dzstd_v03.c605 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
H A Dzstd_v02.c603 typedef unsigned FSE_CTable; /* don't allocate that. It's just a way to be more restrictive than … typedef