mirror of
https://github.com/facebook/zstd.git
synced 2025-12-04 00:04:23 -05:00
added SEQSYMBOL_TABLE_SIZE()
as suggested by @terrelln's comment
This commit is contained in:
parent
5f7495371e
commit
71c07966bb
@ -93,10 +93,12 @@ typedef struct {
|
||||
U32 baseValue;
|
||||
} ZSTD_seqSymbol;
|
||||
|
||||
#define SEQSYMBOL_TABLE_SIZE(log) (1 + (1<<log))
|
||||
|
||||
typedef struct {
|
||||
ZSTD_seqSymbol LLTable[FSE_DTABLE_SIZE_U32(LLFSELog)];
|
||||
ZSTD_seqSymbol OFTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
|
||||
ZSTD_seqSymbol MLTable[FSE_DTABLE_SIZE_U32(MLFSELog)];
|
||||
ZSTD_seqSymbol LLTable[SEQSYMBOL_TABLE_SIZE(LLFSELog)];
|
||||
ZSTD_seqSymbol OFTable[SEQSYMBOL_TABLE_SIZE(OffFSELog)];
|
||||
ZSTD_seqSymbol MLTable[SEQSYMBOL_TABLE_SIZE(MLFSELog)];
|
||||
HUF_DTable hufTable[HUF_DTABLE_SIZE(HufLog)]; /* can accommodate HUF_decompress4X */
|
||||
U32 workspace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32];
|
||||
U32 rep[ZSTD_REP_NUM];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user