Home
last modified time | relevance | path

Searched refs:HUF_TABLELOG_MAX (Results 1 – 4 of 4) sorted by relevance

/linux/lib/zstd/compress/
A Dhuf_compress.c63 unsigned count[HUF_TABLELOG_MAX+1];
64 S16 norm[HUF_TABLELOG_MAX+1];
73 unsigned maxSymbolValue = HUF_TABLELOG_MAX; in HUF_compressWeights()
109 BYTE bitsToWeight[HUF_TABLELOG_MAX + 1]; /* precomputed conversion table */
172 if (tableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readCTable()
190 { U16 nbPerRank[HUF_TABLELOG_MAX+2] = {0}; /* support w=0=>n=tableLog+1 */ in HUF_readCTable()
191 U16 valPerRank[HUF_TABLELOG_MAX+2] = {0}; in HUF_readCTable()
277 U32 rankLast[HUF_TABLELOG_MAX+2]; in HUF_setMaxHeight()
492 U16 nbPerRank[HUF_TABLELOG_MAX+1] = {0}; in HUF_buildCTableFromTree()
493 U16 valPerRank[HUF_TABLELOG_MAX+1] = {0}; in HUF_buildCTableFromTree()
[all …]
/linux/lib/zstd/decompress/
A Dhuf_decompress.c294 if (MEM_64bits() || (HUF_TABLELOG_MAX<=12)) \
522 typedef U32 rankValCol_t[HUF_TABLELOG_MAX + 1];
523 typedef rankValCol_t rankVal_t[HUF_TABLELOG_MAX];
536 assert(wkspSize >= HUF_TABLELOG_MAX + 1); in HUF_fillDTableX2Level2()
581 assert(wkspSize >= HUF_TABLELOG_MAX + 1); in HUF_fillDTableX2()
582 wksp += HUF_TABLELOG_MAX + 1; in HUF_fillDTableX2()
583 wkspSize -= HUF_TABLELOG_MAX + 1; in HUF_fillDTableX2()
618 rankValCol_t rankVal[HUF_TABLELOG_MAX];
619 U32 rankStats[HUF_TABLELOG_MAX + 1];
620 U32 rankStart0[HUF_TABLELOG_MAX + 2];
[all …]
/linux/lib/zstd/common/
A Dentropy_common.c294 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
297 if (huffWeight[n] >= HUF_TABLELOG_MAX) return ERROR(corruption_detected); in HUF_readStats_body()
305 if (tableLog > HUF_TABLELOG_MAX) return ERROR(corruption_detected); in HUF_readStats_body()
A Dhuf.h116 #define HUF_TABLELOG_MAX 12 /* max runtime value of tableLog (due to static allocation); … macro
121 #if (HUF_TABLELOG_MAX > HUF_TABLELOG_ABSOLUTEMAX)
237 #define HUF_READ_STATS_WORKSPACE_SIZE_U32 FSE_DECOMPRESS_WKSP_SIZE_U32(6, HUF_TABLELOG_MAX-1)

Completed in 12 milliseconds