Home
last modified time | relevance | path

Searched refs:tableLog (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/lib/zstd/
Dfse_decompress.c65 … *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace,… in FSE_buildDTable_wksp() argument
72 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_wksp()
80 if (tableLog > FSE_MAX_TABLELOG) in FSE_buildDTable_wksp()
86 DTableH.tableLog = (U16)tableLog; in FSE_buildDTable_wksp()
89 S16 const largeLimit = (S16)(1 << (tableLog - 1)); in FSE_buildDTable_wksp()
129 tableDecode[u].nbBits = (BYTE)(tableLog - BIT_highbit32((U32)nextState)); in FSE_buildDTable_wksp()
147 DTableH->tableLog = 0; in FSE_buildDTable_rle()
173 DTableH->tableLog = (U16)nbBits; in FSE_buildDTable_raw()
268 unsigned tableLog; in FSE_decompress_wksp() local
289 NCountLength = FSE_readNCount(counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress_wksp()
[all …]
Dfse.h77 FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigne…
82 FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
88 …er, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
160 … *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace,…
246 … *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,…
401 const U32 tableLog = ZSTD_read16(ptr); in FSE_initCState() local
402 statePtr->value = (ptrdiff_t)1 << tableLog; in FSE_initCState()
404 statePtr->symbolTT = ((const U32 *)ct + 1 + (tableLog ? (1 << (tableLog - 1)) : 1)); in FSE_initCState()
405 statePtr->stateLog = tableLog; in FSE_initCState()
441 U16 tableLog; member
[all …]
Dhuf_decompress.c40 BYTE tableLog; member
62 U32 tableLog = 0; in HUF_readDTableX2_wksp() local
85 …iSize = HUF_readStats_wksp(huffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, sr… in HUF_readDTableX2_wksp()
92 if (tableLog > (U32)(dtd.maxTableLog + 1)) in HUF_readDTableX2_wksp()
95 dtd.tableLog = (BYTE)tableLog; in HUF_readDTableX2_wksp()
102 for (n = 1; n < tableLog + 1; n++) { in HUF_readDTableX2_wksp()
118 D.nbBits = (BYTE)(tableLog + 1 - w); in HUF_readDTableX2_wksp()
177 U32 const dtLog = dtd.tableLog; in HUF_decompress1X2_usingDTable_internal()
253 U32 const dtLog = dtd.tableLog; in HUF_decompress4X2_usingDTable_internal()
454 U32 tableLog, maxW, sizeOfSort, nbSymbols; in HUF_readDTableX4_wksp() local
[all …]
Dentropy_common.c189 U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_wksp() local
190 if (tableLog > HUF_TABLELOG_MAX) in HUF_readStats_wksp()
192 *tableLogPtr = tableLog; in HUF_readStats_wksp()
195 U32 const total = 1 << tableLog; in HUF_readStats_wksp()
Dhuf.h27 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
114 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
159 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
167 …Size, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
Ddecompress.c762 U32 tableLog; in ZSTD_buildSeqTable() local
771 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable()
774 if (tableLog > maxLog) in ZSTD_buildSeqTable()
776 FSE_buildDTable_wksp(DTableSpace, norm, max, tableLog, workspace, workspaceSize); in ZSTD_buildSeqTable()