Home
last modified time | relevance | path

Searched refs:FSE_DTable (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c82 FSE_DTable* FSE_createDTable (unsigned tableLog) in FSE_createDTable()
85 return (FSE_DTable*)malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) ); in FSE_createDTable()
88 void FSE_freeDTable (FSE_DTable* dt) in FSE_freeDTable()
93 size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, uns… in FSE_buildDTable()
156 size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
174 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
203 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
265 const FSE_DTable* dt) in FSE_decompress_usingDTable()
277 …wksp(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, FSE_DTable* workSpace, unsi… in FSE_decompress_wksp()
299 typedef FSE_DTable DTable_max_t[FSE_DTABLE_SIZE_U32(FSE_MAX_TABLELOG)];
H A Dfse.h257 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
258 FSE_PUBLIC_API FSE_DTable* FSE_createDTable(unsigned tableLog);
259 FSE_PUBLIC_API void FSE_freeDTable(FSE_DTable* dt);
264 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned max…
271 …singDTable(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
324 …_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable))
378 size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
381 size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
384 …wksp(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, FSE_DTable* workSpace, unsi…
466 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
[all …]
H A Dentropy_common.c185 …FSE_DTable fseWorkspace[FSE_DTABLE_SIZE_U32(6)]; /* 6 is max possible tableLog for HUF header (ma… in HUF_readStats()
/freebsd-12.1/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 … typedef
400 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable()
598 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
615 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
767 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
815 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
884 const FSE_DTable* dt) in FSE_decompress_usingDTable()
1567 FSE_DTable* DTableLL, FSE_DTable* DTableML, FSE_DTable* DTableOffb, in ZSTDv01_decodeSeqHeaders()
H A Dzstd_v03.c595 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
653 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
656 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
670 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
702 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
1086 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable()
1284 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
1301 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
1330 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
1399 const FSE_DTable* dt) in FSE_decompress_usingDTable()
[all …]
H A Dzstd_v04.c537 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
889 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
892 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
907 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
938 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
1125 static size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolVal… in FSE_buildDTable()
1323 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
1341 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
1371 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
1440 const FSE_DTable* dt) in FSE_decompress_usingDTable()
[all …]
H A Dzstd_v02.c593 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than … typedef
651 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
654 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
668 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
700 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt) in FSE_initDState()
1085 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) in FSE_buildDTable()
1283 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue) in FSE_buildDTable_rle()
1300 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits) in FSE_buildDTable_raw()
1329 const FSE_DTable* dt, const unsigned fast) in FSE_decompress_usingDTable_generic()
1398 const FSE_DTable* dt) in FSE_decompress_usingDTable()
[all …]