Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_decompress.c88 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildDTable_wksp()
163 size_t FSE_buildDTable_rle(FSE_DTable *dt, BYTE symbolValue) in FSE_buildDTable_rle()
180 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits) in FSE_buildDTable_raw()
207 FORCE_INLINE size_t FSE_decompress_usingDTable_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt, in FSE_decompress_usingDTable_generic()
275 size_t FSE_decompress_usingDTable(void *dst, size_t originalSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt) in FSE_decompress_usingDTable()
295 FSE_DTable *dt; in FSE_decompress_wksp()
299 FSE_STATIC_ASSERT(sizeof(FSE_DTable) == sizeof(U32)); in FSE_decompress_wksp()
301 dt = (FSE_DTable *)((U32 *)workspace + spaceUsed32); in FSE_decompress_wksp()
H A Dfse.h183 /*! Constructor and Destructor of FSE_DTable.
185 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
190 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize);
197 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt);
216 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
218 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
221 `FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
238 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable using below macros */
278 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits);
279 /**< build a fake FSE_DTable, designe
[all...]
H A Ddecompress.c69 FSE_DTable LLTable[FSE_DTABLE_SIZE_U32(LLFSELog)];
70 FSE_DTable OFTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
71 FSE_DTable MLTable[FSE_DTABLE_SIZE_U32(MLFSELog)];
78 const FSE_DTable *LLTptr;
79 const FSE_DTable *MLTptr;
80 const FSE_DTable *OFTptr;
752 static size_t ZSTD_buildSeqTable(FSE_DTable *DTableSpace, const FSE_DTable **DTablePtr, symbolEncodingType_e type, U32 max, U32 maxLog, const void *src, in ZSTD_buildSeqTable()
765 case set_basic: *DTablePtr = (const FSE_DTable *)tmpPtr; return 0; in ZSTD_buildSeqTable()
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse.h241 /*! Constructor and Destructor of FSE_DTable.
243 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */ typedef
244 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog);
245 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt);
250 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
257 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
276 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
278 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
281 `FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
304 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable usin
[all...]
H A Dfse_decompress.c60 FSE_DTable* FSE_createDTable (unsigned tableLog) in FSE_createDTable()
63 return (FSE_DTable*)ZSTD_malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) ); in FSE_createDTable()
66 void FSE_freeDTable (FSE_DTable* dt) in FSE_freeDTable()
71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal()
176 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_wksp()
187 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
205 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
234 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
296 const FSE_DTable* dt) in FSE_decompress_usingDTable()
315 FSE_DTable dtabl
[all...]

Completed in 12 milliseconds