Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dhuf_compress.c61 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)];
62 …U32 scratchBuffer[FSE_BUILD_CTABLE_WORKSPACE_SIZE_U32(HUF_TABLELOG_MAX, MAX_FSE_TABLELOG_FOR_HUFF_…
63 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()
[all …]
/linux-5.19.10/lib/zstd/decompress/
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()
539 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(U32) * (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()
585 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(U32) * (HUF_TABLELOG_MAX + 1)); in HUF_fillDTableX2()
618 rankValCol_t rankVal[HUF_TABLELOG_MAX];
[all …]
/linux-5.19.10/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)
237 #define HUF_READ_STATS_WORKSPACE_SIZE_U32 FSE_DECOMPRESS_WKSP_SIZE_U32(6, HUF_TABLELOG_MAX-1)