Lines Matching refs:FSE_CTable
120 /*! Constructor and Destructor of FSE_CTable.
121 Note that FSE_CTable size depends on 'tableLog' and 'maxSymbolValue' */
122 typedef unsigned FSE_CTable; /* don't allocate that. It's only meant to be more restrictive than void* */
129 FSE_PUBLIC_API size_t FSE_compress_usingCTable(void *dst, size_t dstCapacity, const void *src, size_t srcSize, const FSE_CTable *ct);
238 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable using below macros */
266 size_t FSE_buildCTable_raw(FSE_CTable *ct, unsigned nbBits);
267 /**< build a fake FSE_CTable, designed for a flat distribution, where each symbol uses nbBits */
269 size_t FSE_buildCTable_rle(FSE_CTable *ct, unsigned char symbolValue);
270 /**< build a fake FSE_CTable, designed to compress always the same symbolValue */
276 size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workSpace, size_t wkspSize);
301 static void FSE_initCState(FSE_CState_t *CStatePtr, const FSE_CTable *ct);
316 FSE_CTable ct; // Provided by FSE_buildCTable()
427 ZSTD_STATIC void FSE_initCState(FSE_CState_t *statePtr, const FSE_CTable *ct)
441 ZSTD_STATIC void FSE_initCState2(FSE_CState_t *statePtr, const FSE_CTable *ct, U32 symbol)