Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/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()
90 FSE_CTable const* ctable, in ZSTD_fseBitCost()
145 FSE_CTable const* prevCTable, in ZSTD_selectEncodingType()
228 const FSE_CTable* prevCTable, size_t prevCTableSize, in ZSTD_buildCTable()
271 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body()
272 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_body()
365 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default()
366 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_default()
383 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2()
384 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_bmi2()
[all …]
H A Dfse_compress.c66 size_t FSE_buildCTable_wksp(FSE_CTable* ct, in FSE_buildCTable_wksp()
305 FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog) in FSE_createCTable()
310 return (FSE_CTable*)malloc(size); in FSE_createCTable()
313 void FSE_freeCTable (FSE_CTable* ct) { free(ct); } in FSE_freeCTable()
498 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits) in FSE_buildCTable_raw()
531 size_t FSE_buildCTable_rle (FSE_CTable* ct, BYTE symbolValue) in FSE_buildCTable_rle()
556 const FSE_CTable* ct, const unsigned fast) in FSE_compress_usingCTable_generic()
615 const FSE_CTable* ct) in FSE_compress_usingCTable()
640 FSE_CTable* CTable = (FSE_CTable*)workSpace; in FSE_compress_wksp()
643 size_t const scratchBufferSize = wkspSize - (CTableSize * sizeof(FSE_CTable)); in FSE_compress_wksp()
[all …]
H A Dzstd_compress_superblock.c178 FSE_CTable* CTable_LitLength = nextEntropy->litlengthCTable; in ZSTD_buildSuperBlockEntropy_sequences()
179 FSE_CTable* CTable_OffsetBits = nextEntropy->offcodeCTable; in ZSTD_buildSuperBlockEntropy_sequences()
180 FSE_CTable* CTable_MatchLength = nextEntropy->matchlengthCTable; in ZSTD_buildSuperBlockEntropy_sequences()
604 size_t nbSeq, const FSE_CTable* fseCTable, in ZSTD_estimateSubBlockSize_symbolType()
H A Dzstd_compress_internal.h72 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
73 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
74 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
H A Dhuf_compress.c72 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)]; in HUF_compressWeights()
H A Dzstd_compress.c1975 FSE_CTable* CTable_LitLength = nextEntropy->fse.litlengthCTable; in ZSTD_compressSequences_internal()
1976 FSE_CTable* CTable_OffsetBits = nextEntropy->fse.offcodeCTable; in ZSTD_compressSequences_internal()
1977 FSE_CTable* CTable_MatchLength = nextEntropy->fse.matchlengthCTable; in ZSTD_compressSequences_internal()
/freebsd/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()
248 const FSE_CTable* prevCTable, size_t prevCTableSize, in ZSTD_buildCTable()
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()
388 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default()
389 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_default()
406 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2()
407 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_bmi2()
[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)];
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse.h160 typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than … typedef
161 FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigned tableLog);
162 FSE_PUBLIC_API void FSE_freeCTable (FSE_CTable* ct);
167 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS…
174 …usingCTable (void* dst, size_t dstCapacity, const void* src, size_t srcSize, const FSE_CTable* ct);
299 …TableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) * sizeof(FSE_CTable))
317 size_t FSE_buildCTable_raw (FSE_CTable* ct, unsigned nbBits);
320 size_t FSE_buildCTable_rle (FSE_CTable* ct, unsigned char symbolValue);
358 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
488 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState()
[all …]
/freebsd/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);
384 static void FSE_initCState(FSE_CState_t* CStatePtr, const FSE_CTable* ct);
514 MEM_STATIC void FSE_initCState(FSE_CState_t* statePtr, const FSE_CTable* ct) in FSE_initCState()
[all …]
/freebsd/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