Searched refs:FSE_DTable (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c59 size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
122 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
140 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits)
169 const FSE_DTable* dt, const unsigned fast)
231 const FSE_DTable* dt)
243 size_t FSE_decompress_wksp(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, FSE_DTable* workSpace, unsigned maxLog)
265 typedef FSE_DTable DTable_max_t[FSE_DTABLE_SIZE_U32(FSE_MAX_TABLELOG)];
H A Dfse.h231 /*! Constructor and Destructor of FSE_DTable.
233 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
234 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog);
235 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt);
240 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
247 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
266 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
268 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
271 `FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
294 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable usin
[all...]
H A Dentropy_common.c180 FSE_DTable fseWorkspace[FSE_DTABLE_SIZE_U32(6)]; /* 6 is max possible tableLog for HUF header (maybe even 5, to be tested) */
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c60 FSE_DTable* FSE_createDTable (unsigned tableLog)
63 return (FSE_DTable*)ZSTD_malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) );
66 void FSE_freeDTable (FSE_DTable* dt)
71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize)
176 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize)
187 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
205 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits)
234 const FSE_DTable* dt, const unsigned fast)
296 const FSE_DTable* dt)
315 FSE_DTable dtabl
[all...]
H A Dfse.h244 /*! Constructor and Destructor of FSE_DTable.
246 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
247 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog);
248 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt);
253 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
260 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
279 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
281 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
284 `FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
307 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable usin
[all...]
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c58 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
396 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
594 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
611 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits)
769 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt)
817 const FSE_DTable* dt, const unsigned fast)
886 const FSE_DTable* dt)
1573 FSE_DTable* DTableLL, FSE_DTable* DTableML, FSE_DTable* DTableOff
[all...]
H A Dzstd_v03.c606 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
664 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
665 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
667 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
668 /* build a fake FSE_DTable, designed to always generate the same symbolValue */
681 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
713 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
1097 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
1295 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
1312 static size_t FSE_buildDTable_raw (FSE_DTable* d
[all...]
H A Dzstd_v04.c484 Constructor and Destructor of type FSE_DTable
486 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
493 static size_t FSE_buildDTable ( FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
501 static size_t FSE_decompress_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
520 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
522 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
525 'FSE_DTable' can then be used to decompress 'cSrc', with FSE_decompress_usingDTable().
837 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
838 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
840 static size_t FSE_buildDTable_rle (FSE_DTable* d
[all...]
H A Dzstd_v02.c604 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
662 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
663 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
665 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
666 /* build a fake FSE_DTable, designed to always generate the same symbolValue */
679 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
711 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
1096 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
1294 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
1311 static size_t FSE_buildDTable_raw (FSE_DTable* d
[all...]

Completed in 893 milliseconds