Home
last modified time | relevance | path

Searched refs:maxTableLog (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/lib/zstd/common/
Dfse.h132 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo…
305 #define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<((maxTableLog)-1)) + (((maxSymb… argument
306 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<(maxTableLog))) argument
309 #define FSE_CTABLE_SIZE(maxTableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolV… argument
310 #define FSE_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(F… argument
317 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue…
324 …WKSP_SIZE_U32(maxTableLog, maxSymbolValue) ( FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) + … argument
341 …fine FSE_BUILD_DTABLE_WKSP_SIZE(maxTableLog, maxSymbolValue) (sizeof(short) * (maxSymbolValue + 1)… argument
342 #define FSE_BUILD_DTABLE_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) ((FSE_BUILD_DTABLE_WKSP_SIZE(ma… argument
352 …COMPRESS_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) (FSE_DTABLE_SIZE_U32(maxTableLog) + FSE_BUILD_… argument
[all …]
Dhuf.h148 #define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<(maxTableLog))) argument
149 #define HUF_CREATE_STATIC_DTABLEX1(DTable, maxTableLog) \ argument
150 … HUF_DTable DTable[HUF_DTABLE_SIZE((maxTableLog)-1)] = { ((U32)((maxTableLog)-1) * 0x01000001) }
151 #define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
152 HUF_DTable DTable[HUF_DTABLE_SIZE(maxTableLog)] = { ((U32)(maxTableLog) * 0x01000001) }
189 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
/linux-6.1.9/lib/zstd/decompress/
Dhuf_decompress.c101 typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc; member
167 …if (tableLog > (U32)(dtd.maxTableLog+1)) return ERROR(tableLog_tooLarge); /* DTable too small, H… in HUF_readDTableX1_wksp_bmi2()
632 U32 const maxTableLog = dtd.maxTableLog; in HUF_readDTableX2_wksp() local
647 if (maxTableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readDTableX2_wksp()
654 if (tableLog > maxTableLog) return ERROR(tableLog_tooLarge); /* DTable can't fit code depth */ in HUF_readDTableX2_wksp()
683 { int const rescale = (maxTableLog-tableLog) - 1; /* tableLog <= maxTableLog */ in HUF_readDTableX2_wksp()
693 for (consumed = minBits; consumed < maxTableLog - minBits + 1; consumed++) { in HUF_readDTableX2_wksp()
700 HUF_fillDTableX2(dt, maxTableLog, in HUF_readDTableX2_wksp()
706 dtd.tableLog = (BYTE)maxTableLog; in HUF_readDTableX2_wksp()
/linux-6.1.9/lib/zstd/compress/
Dfse_compress.c322 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue… in FSE_optimalTableLog_internal() argument
325 U32 tableLog = maxTableLog; in FSE_optimalTableLog_internal()
336 unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in FSE_optimalTableLog() argument
338 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 2); in FSE_optimalTableLog()
Dhuf_compress.c44 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() argument
46 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 1); in HUF_optimalTableLog()