summaryrefslogtreecommitdiffstats
path: root/src/isa-l/igzip/igzip_level_buf_structs.h
blob: a408c509dc7938f8f904ffdecdc15c35acfcd9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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];
	struct deflate_icf *icf_buf_next;
	uint64_t icf_buf_avail_out;
	struct deflate_icf icf_buf_start[];
};
#endif