HomeSort by: relevance | last modified time | path
    Searched refs:FSE_DTable (Results 1 - 6 of 6) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/common/
fse_decompress.c 58 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize)
161 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize)
176 const FSE_DTable* dt, const unsigned fast)
254 size_t const dtablePos = sizeof(FSE_DecompressWksp) / sizeof(FSE_DTable);
255 FSE_DTable* const dtable = (FSE_DTable*)workSpace + dtablePos;
261 FSE_STATIC_ASSERT(sizeof(FSE_DecompressWksp) % sizeof(FSE_DTable) == 0);
fse.h 194 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
213 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
215 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
218 `FSE_DTable` can then be used to decompress `cSrc`, with FSE_decompress_usingDTable().
239 /* It is possible to statically allocate FSE CTable/DTable as a table of FSE_CTable/FSE_DTable using below macros */
245 #define FSE_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(FSE_DTable))
269 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize);
357 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
372 FSE_DTable* DTablePtr; // Decoding table, provided by FSE_buildDTable()
517 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt
    [all...]
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v01.c 59 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
358 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
556 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
573 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits)
731 static void FSE_initDState(FSE_DState_t* DStatePtr, FSE_DStream_t* bitD, const FSE_DTable* dt)
779 const FSE_DTable* dt, const unsigned fast)
848 const FSE_DTable* dt)
1535 FSE_DTable* DTableLL, FSE_DTable* DTableML, FSE_DTable* DTableOffb
    [all...]
zstd_v03.c 544 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
602 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
603 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
605 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
606 /* build a fake FSE_DTable, designed to always generate the same symbolValue */
619 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
651 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
1035 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
1233 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
1250 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits
    [all...]
zstd_v04.c 428 Constructor and Destructor of type FSE_DTable
430 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
437 static size_t FSE_buildDTable ( FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
445 static size_t FSE_decompress_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize, const FSE_DTable* dt);
464 The next step is to build the decompression tables 'FSE_DTable' from 'normalizedCounter'.
466 The space required by 'FSE_DTable' must be already allocated using FSE_createDTable().
469 'FSE_DTable' can then be used to decompress 'cSrc', with FSE_decompress_usingDTable().
781 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
782 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
784 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue)
    [all...]
zstd_v02.c 543 typedef unsigned FSE_DTable; /* don't allocate that. It's just a way to be more restrictive than void* */
601 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits);
602 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
604 static size_t FSE_buildDTable_rle (FSE_DTable* dt, unsigned char symbolValue);
605 /* build a fake FSE_DTable, designed to always generate the same symbolValue */
618 static void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt);
650 MEM_STATIC void FSE_initDState(FSE_DState_t* DStatePtr, BIT_DStream_t* bitD, const FSE_DTable* dt)
1035 (FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog)
1233 static size_t FSE_buildDTable_rle (FSE_DTable* dt, BYTE symbolValue)
1250 static size_t FSE_buildDTable_raw (FSE_DTable* dt, unsigned nbBits
    [all...]

Completed in 44 milliseconds