Home
last modified time | relevance | path

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

/external/zstd/lib/common/
Dfse.h135 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo…
308 #define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<((maxTableLog)-1)) + (((maxSymb… argument
309 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<(maxTableLog))) argument
312 #define FSE_CTABLE_SIZE(maxTableLog, maxSymbolValue) (FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolV… argument
313 #define FSE_DTABLE_SIZE(maxTableLog) (FSE_DTABLE_SIZE_U32(maxTableLog) * sizeof(F… argument
320 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue…
327 …WKSP_SIZE_U32(maxTableLog, maxSymbolValue) ( FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) + … argument
343 …fine FSE_BUILD_DTABLE_WKSP_SIZE(maxTableLog, maxSymbolValue) (sizeof(short) * (maxSymbolValue + 1)… argument
344 #define FSE_BUILD_DTABLE_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) ((FSE_BUILD_DTABLE_WKSP_SIZE(ma… argument
354 …COMPRESS_WKSP_SIZE_U32(maxTableLog, maxSymbolValue) (FSE_DTABLE_SIZE_U32(maxTableLog) + FSE_BUILD_… argument
[all …]
Dhuf.h151 #define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<(maxTableLog))) argument
152 #define HUF_CREATE_STATIC_DTABLEX1(DTable, maxTableLog) \ argument
153 … HUF_DTable DTable[HUF_DTABLE_SIZE((maxTableLog)-1)] = { ((U32)((maxTableLog)-1) * 0x01000001) }
154 #define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
155 HUF_DTable DTable[HUF_DTABLE_SIZE(maxTableLog)] = { ((U32)(maxTableLog) * 0x01000001) }
192 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
/external/zstd/lib/legacy/
Dzstd_v03.c661 #define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<(maxTableLog-1)) + ((maxSymbolV… argument
662 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
805 #define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<maxTableLog)) /* nb Cells; use unsigned short for … argument
806 #define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
807 unsigned short DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
808 #define HUF_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
809 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
810 #define HUF_CREATE_STATIC_DTABLEX6(DTable, maxTableLog) \ argument
811 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog) * 3 / 2] = { maxTableLog }
Dzstd_v07.c819 #define FSEv07_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
828 unsigned FSEv07_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolVa…
1072 #define HUFv07_DTABLE_SIZE(maxTableLog) (1 + (1<<(maxTableLog))) argument
1073 #define HUFv07_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
1074 … HUFv07_DTable DTable[HUFv07_DTABLE_SIZE((maxTableLog)-1)] = { ((U32)((maxTableLog)-1)*0x1000001) }
1075 #define HUFv07_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
1076 HUFv07_DTable DTable[HUFv07_DTABLE_SIZE(maxTableLog)] = { ((U32)(maxTableLog)*0x1000001) }
1764 typedef struct { BYTE maxTableLog; BYTE tableType; BYTE tableLog; BYTE reserved; } DTableDesc; member
1798 …if (tableLog > (U32)(dtd.maxTableLog+1)) return ERROR(tableLog_tooLarge); /* DTable too small, h… in HUFv07_readDTableX2()
2148 U32 const maxTableLog = dtd.maxTableLog; in HUFv07_readDTableX4() local
[all …]
Dzstd_v04.c834 #define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<(maxTableLog-1)) + ((maxSymbolV… argument
835 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
1563 #define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<maxTableLog)) /* nb Cells; use unsigned short for … argument
1564 #define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
1565 unsigned short DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1566 #define HUF_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
1567 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1568 #define HUF_CREATE_STATIC_DTABLEX6(DTable, maxTableLog) \ argument
1569 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog) * 3 / 2] = { maxTableLog }
Dzstd_v02.c659 #define FSE_CTABLE_SIZE_U32(maxTableLog, maxSymbolValue) (1 + (1<<(maxTableLog-1)) + ((maxSymbolV… argument
660 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
803 #define HUF_DTABLE_SIZE(maxTableLog) (1 + (1<<maxTableLog)) /* nb Cells; use unsigned short for … argument
804 #define HUF_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
805 unsigned short DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
806 #define HUF_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
807 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
808 #define HUF_CREATE_STATIC_DTABLEX6(DTable, maxTableLog) \ argument
809 unsigned int DTable[HUF_DTABLE_SIZE(maxTableLog) * 3 / 2] = { maxTableLog }
Dzstd_v05.c950 #define FSEv05_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
1658 #define HUFv05_DTABLE_SIZE(maxTableLog) (1 + (1<<maxTableLog)) argument
1659 #define HUFv05_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
1660 unsigned short DTable[HUFv05_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1661 #define HUFv05_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
1662 unsigned int DTable[HUFv05_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1663 #define HUFv05_CREATE_STATIC_DTABLEX6(DTable, maxTableLog) \ argument
1664 unsigned int DTable[HUFv05_DTABLE_SIZE(maxTableLog) * 3 / 2] = { maxTableLog }
Dzstd_v06.c1055 #define FSEv06_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
1801 #define HUFv06_DTABLE_SIZE(maxTableLog) (1 + (1<<maxTableLog)) argument
1802 #define HUFv06_CREATE_STATIC_DTABLEX2(DTable, maxTableLog) \ argument
1803 unsigned short DTable[HUFv06_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1804 #define HUFv06_CREATE_STATIC_DTABLEX4(DTable, maxTableLog) \ argument
1805 unsigned int DTable[HUFv06_DTABLE_SIZE(maxTableLog)] = { maxTableLog }
1806 #define HUFv06_CREATE_STATIC_DTABLEX6(DTable, maxTableLog) \ argument
1807 unsigned int DTable[HUFv06_DTABLE_SIZE(maxTableLog) * 3 / 2] = { maxTableLog }
Dzstd_v01.c24 #define FSE_DTABLE_SIZE_U32(maxTableLog) (1 + (1<<maxTableLog)) argument
27 #define HUF_DTABLE_SIZE_U16(maxTableLog) (1 + (1<<maxTableLog)) argument
28 #define HUF_CREATE_STATIC_DTABLE(DTable, maxTableLog) \ argument
29 unsigned short DTable[HUF_DTABLE_SIZE_U16(maxTableLog)] = { maxTableLog }
/external/zstd/lib/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()
617 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()
705 dtd.tableLog = (BYTE)maxTableLog; in HUF_readDTableX2_wksp()
/external/zstd/lib/compress/
Dfse_compress.c329 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue… in FSE_optimalTableLog_internal() argument
332 U32 tableLog = maxTableLog; in FSE_optimalTableLog_internal()
343 unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in FSE_optimalTableLog() argument
345 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 2); in FSE_optimalTableLog()
Dhuf_compress.c47 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() argument
49 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 1); in HUF_optimalTableLog()