14 #define MSPACK_LZX_H 1
23 #define LZX_MIN_MATCH (2)
24 #define LZX_MAX_MATCH (257)
25 #define LZX_NUM_CHARS (256)
26 #define LZX_BLOCKTYPE_INVALID (0)
27 #define LZX_BLOCKTYPE_VERBATIM (1)
28 #define LZX_BLOCKTYPE_ALIGNED (2)
29 #define LZX_BLOCKTYPE_UNCOMPRESSED (3)
30 #define LZX_PRETREE_NUM_ELEMENTS (20)
31 #define LZX_ALIGNED_NUM_ELEMENTS (8)
32 #define LZX_NUM_PRIMARY_LENGTHS (7)
33 #define LZX_NUM_SECONDARY_LENGTHS (249)
36 #define LZX_PRETREE_MAXSYMBOLS (LZX_PRETREE_NUM_ELEMENTS)
37 #define LZX_PRETREE_TABLEBITS (6)
38 #define LZX_MAINTREE_MAXSYMBOLS (LZX_NUM_CHARS + 290*8)
39 #define LZX_MAINTREE_TABLEBITS (12)
40 #define LZX_LENGTH_MAXSYMBOLS (LZX_NUM_SECONDARY_LENGTHS+1)
41 #define LZX_LENGTH_TABLEBITS (12)
42 #define LZX_ALIGNED_MAXSYMBOLS (LZX_ALIGNED_NUM_ELEMENTS)
43 #define LZX_ALIGNED_TABLEBITS (7)
44 #define LZX_LENTABLE_SAFETY (64)
46 #define LZX_FRAME_SIZE (32768)
151 int input_buffer_size,
157 off_t output_length);
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
unsigned short LENGTH_table[(1<< LZX_LENGTH_TABLEBITS)+(LZX_LENGTH_MAXSYMBOLS *2)]
unsigned char LENGTH_len[LZX_LENGTH_MAXSYMBOLS+LZX_LENTABLE_SAFETY]
struct mspack_system * sys
unsigned char PRETREE_len[LZX_PRETREE_MAXSYMBOLS+LZX_LENTABLE_SAFETY]
unsigned char intel_started
unsigned int ref_data_size
struct mspack_file * output
struct mspack_file * input
unsigned int block_remaining
unsigned char ALIGNED_len[LZX_ALIGNED_MAXSYMBOLS+LZX_LENTABLE_SAFETY]
signed int intel_filesize
unsigned char e8_buf[LZX_FRAME_SIZE]
unsigned char MAINTREE_len[LZX_MAINTREE_MAXSYMBOLS+LZX_LENTABLE_SAFETY]
unsigned int reset_interval
unsigned short MAINTREE_table[(1<< LZX_MAINTREE_TABLEBITS)+(LZX_MAINTREE_MAXSYMBOLS *2)]
unsigned int block_length
unsigned char LENGTH_empty
unsigned short ALIGNED_table[(1<< LZX_ALIGNED_TABLEBITS)+(LZX_ALIGNED_MAXSYMBOLS *2)]
unsigned char header_read
unsigned short PRETREE_table[(1<< LZX_PRETREE_TABLEBITS)+(LZX_PRETREE_MAXSYMBOLS *2)]
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)