Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dhuf_compress.c83 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)];
84 …U32 scratchBuffer[FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(HUF_TABLELOG_MAX, MAX_FSE_TABLELOG_FOR_HUFF_…
85 unsigned count[HUF_TABLELOG_MAX+1];
86 S16 norm[HUF_TABLELOG_MAX+1];
95 unsigned maxSymbolValue = HUF_TABLELOG_MAX; in HUF_compressWeights()
165 BYTE bitsToWeight[HUF_TABLELOG_MAX + 1]; /* precomputed conversion table */
231 if (tableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readCTable()
251 { U16 nbPerRank[HUF_TABLELOG_MAX+2] = {0}; /* support w=0=>n=tableLog+1 */ in HUF_readCTable()
252 U16 valPerRank[HUF_TABLELOG_MAX+2] = {0}; in HUF_readCTable()
338 U32 rankLast[HUF_TABLELOG_MAX+2]; in HUF_setMaxHeight()
[all …]
/linux-6.12.1/lib/zstd/common/
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()
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)
235 #define HUF_READ_STATS_WORKSPACE_SIZE_U32 FSE_DECOMPRESS_WKSP_SIZE_U32(6, HUF_TABLELOG_MAX-1)
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c489 if (MEM_64bits() || (HUF_TABLELOG_MAX<=12)) \
817 typedef U32 rankValCol_t[HUF_TABLELOG_MAX + 1];
818 typedef rankValCol_t rankVal_t[HUF_TABLELOG_MAX];
1033 rankValCol_t rankVal[HUF_TABLELOG_MAX];
1034 U32 rankStats[HUF_TABLELOG_MAX + 1];
1035 U32 rankStart0[HUF_TABLELOG_MAX + 3];
1069 if (maxTableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readDTableX2_wksp_bmi2()
1165 if (MEM_64bits() || (HUF_TABLELOG_MAX<=12)) \