2016-10-03 14:50:52 -07:00
|
|
|
#ifndef IGZIP_LEVEL_BUF_STRUCTS_H
|
|
|
|
#define IGZIP_LEVEL_BUF_STRUCTS_H
|
|
|
|
|
|
|
|
#include "huff_codes.h"
|
|
|
|
#include "encode_df.h"
|
|
|
|
|
|
|
|
struct level_2_buf {
|
|
|
|
struct hufftables_icf encode_tables;
|
|
|
|
uint32_t deflate_hdr_count;
|
|
|
|
uint32_t deflate_hdr_extra_bits;
|
|
|
|
uint8_t deflate_hdr[ISAL_DEF_MAX_HDR_SIZE];
|
2017-03-20 17:33:25 -07:00
|
|
|
uint32_t block_start_index;
|
|
|
|
uint32_t block_in_length;
|
2016-10-03 14:50:52 -07:00
|
|
|
struct deflate_icf *icf_buf_next;
|
|
|
|
uint64_t icf_buf_avail_out;
|
2017-03-17 14:11:14 -07:00
|
|
|
struct deflate_icf icf_buf_start[];
|
2016-10-03 14:50:52 -07:00
|
|
|
};
|
|
|
|
#endif
|