Lines Matching refs:FSE_DTable

241 /*! 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* */
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 using below macros */
310 #define FSE_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable))
344 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
347 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
348 /*< build a fake FSE_DTable, designed to read a flat distribution where each symbol uses nbBits */
350 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
351 /*< build a fake FSE_DTable, designed to always generate the same symbolValue */
440 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
455 FSE_DTable* DTablePtr; // Decoding table, provided by FSE_buildDTable()
600 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)