Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dhuf_compress.c88 U32 maxSymbolValue = HUF_TABLELOG_MAX; in HUF_compressWeights_wksp()
99 spaceUsed32 += FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX); in HUF_compressWeights_wksp()
101 spaceUsed32 += HUF_TABLELOG_MAX + 1; in HUF_compressWeights_wksp()
103 spaceUsed32 += ALIGN(sizeof(S16) * (HUF_TABLELOG_MAX + 1), sizeof(U32)) >> 2; in HUF_compressWeights_wksp()
162 spaceUsed32 += ALIGN(HUF_TABLELOG_MAX + 1, sizeof(U32)) >> 2; in HUF_writeCTable_wksp()
228 if (tableLog > HUF_TABLELOG_MAX) in HUF_readCTable_wksp()
254 U16 nbPerRank[HUF_TABLELOG_MAX + 2] = {0}; /* support w=0=>n=tableLog+1 */ in HUF_readCTable_wksp()
255 U16 valPerRank[HUF_TABLELOG_MAX + 2] = {0}; in HUF_readCTable_wksp()
316 U32 rankLast[HUF_TABLELOG_MAX + 2]; in HUF_setMaxHeight()
349 while ((nBitsToDecrease <= HUF_TABLELOG_MAX) && (rankLast[nBitsToDecrease] == noSymbol)) in HUF_setMaxHeight()
[all …]
Dentropy_common.c203 memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_wksp()
208 if (huffWeight[n] >= HUF_TABLELOG_MAX) in HUF_readStats_wksp()
220 if (tableLog > HUF_TABLELOG_MAX) in HUF_readStats_wksp()
Dhuf_decompress.c169 if (ZSTD_64bits() || (HUF_TABLELOG_MAX <= 12)) \
398 U32 rankVal[HUF_TABLELOG_MAX + 1]; in HUF_fillDTableX4Level2()
437 typedef U32 rankVal_t[HUF_TABLELOG_MAX][HUF_TABLELOG_MAX + 1];
438 typedef U32 rankValCol_t[HUF_TABLELOG_MAX + 1];
443 U32 rankVal[HUF_TABLELOG_MAX + 1]; in HUF_fillDTableX4()
502 spaceUsed32 += (sizeof(rankValCol_t) * HUF_TABLELOG_MAX) >> 2; in HUF_readDTableX4_wksp()
504 spaceUsed32 += HUF_TABLELOG_MAX + 1; in HUF_readDTableX4_wksp()
506 spaceUsed32 += HUF_TABLELOG_MAX + 2; in HUF_readDTableX4_wksp()
518 memset(rankStats, 0, sizeof(U32) * (2 * HUF_TABLELOG_MAX + 2 + 1)); in HUF_readDTableX4_wksp()
521 if (maxTableLog > HUF_TABLELOG_MAX) in HUF_readDTableX4_wksp()
[all …]
Dhuf.h64 #define HUF_TABLELOG_MAX 12 /* max configured tableLog (for static allocation); can be modified… macro
69 #if (HUF_TABLELOG_MAX > HUF_TABLELOG_ABSOLUTEMAX)