]> wimlib.net Git - wimlib/blobdiff - src/xpress.h
XPRESS compressor: increase max match
[wimlib] / src / xpress.h
index f957862616e44d7aa7024634d188e75d22a941cf..d792a48061a8f787140c49541546525c482439b5 100644 (file)
 #define XPRESS_MAX_CODEWORD_LEN        15
 #define XPRESS_TABLEBITS       12
 
+#define XPRESS_END_OF_DATA     256
+
+#define XPRESS_MIN_OFFSET      1
+#define XPRESS_MAX_OFFSET      65535
+
 #define XPRESS_MIN_MATCH       3
-#define XPRESS_MAX_MATCH       255
+#define XPRESS_MAX_MATCH       65538
 
 extern int xpress_decompress(const void *__compressed_data, uint compressed_len,
                             void *__uncompressed_data, uint uncompressed_len);