igzip: Port improvements to stateless compress to stateful compress

Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Roy Oursler
2016-06-21 10:53:44 -07:00
committed by Greg Tucker
parent eb1b7788d0
commit f97de75fc6
10 changed files with 219 additions and 132 deletions

View File

@@ -118,7 +118,7 @@ extern "C" {
#define IGZIP_K 1024
#define IGZIP_D (HIST_SIZE * IGZIP_K) /* Amount of history */
#define IGZIP_LA (17 * 16) /* Max look-ahead, rounded up to 32 byte boundary */
#define IGZIP_LA (18 * 16) /* Max look-ahead, rounded up to 32 byte boundary */
#define BSIZE (2*IGZIP_D + IGZIP_LA) /* Nominal buffer size */
#define HASH_SIZE IGZIP_D