673 flush >
Z_BLOCK || flush < 0) {
743 else if (s->
level < 6)
745 else if (s->
level == 6)
749 header |= (level_flags << 6);
751 header += 31 - (header % 31);
static block_state deflate_rle(deflate_state *s, int flush)
Definition: deflate.c:1861
#define INIT_STATE
Definition: deflate.h:54
#define Z_BLOCK
Definition: zlib.h:169
void _tr_stored_block(deflate_state *s, charf *buf, ulg stored_len, int last)
Definition: trees.c:865
#define RANK(f)
Definition: deflate.c:159
static block_state deflate_huff(deflate_state *s, int flush)
Definition: deflate.c:1934
Bytef * next_in
Definition: zlib.h:86
#define HCRC_STATE
Definition: deflate.h:58
#define Z_NO_FLUSH
Definition: zlib.h:164
#define PRESET_DICT
Definition: zutil.h:79
block_state
Definition: deflate.c:66
uInt avail_in
Definition: zlib.h:87
#define Z_PARTIAL_FLUSH
Definition: zlib.h:165
uInt insert
Definition: deflate.h:250
int status
Definition: deflate.h:99
#define Assert(cond, msg)
Definition: zutil.h:230
unsigned char Byte
Definition: test_imu.cpp:41
int strategy
Definition: deflate.h:186
#define Z_STREAM_ERROR
Definition: zlib.h:177
gz_headerp gzhead
Definition: deflate.h:105
uInt lookahead
Definition: deflate.h:161
static const config configuration_table[10]
Definition: deflate.c:131
#define BUSY_STATE
Definition: deflate.h:59
#define Z_FINISH
Definition: zlib.h:168
int level
Definition: deflate.h:185
z_streamp strm
Definition: deflate.h:98
void _tr_align(deflate_state *s)
Definition: trees.c:892
#define Z_DEFLATED
Definition: zlib.h:205
uLong total_in
Definition: zlib.h:88
#define Z_STREAM_END
Definition: zlib.h:174
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)
Definition: crc32.c:204
Bytef * next_out
Definition: zlib.h:90
#define put_byte(s, c)
Definition: deflate.h:278
int wrap
Definition: deflate.h:104
#define COMMENT_STATE
Definition: deflate.h:57
Bytef * pending_buf
Definition: deflate.h:100
#define CLEAR_HASH(s)
Definition: deflate.c:196
#define NAME_STATE
Definition: deflate.h:56
long block_start
Definition: deflate.h:151
static void putShortMSB(deflate_state *s, uInt b)
Definition: deflate.c:628
uInt gzindex
Definition: deflate.h:106
uLong adler
Definition: zlib.h:102
#define FINISH_STATE
Definition: deflate.h:60
#define Z_HUFFMAN_ONLY
Definition: zlib.h:193
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
Definition: adler32.c:65
#define Z_BUF_ERROR
Definition: zlib.h:180
uInt w_bits
Definition: deflate.h:113
uInt pending
Definition: deflate.h:103
const JsonParse strategy
Definition: json11.cpp:364
uInt strstart
Definition: deflate.h:159
#define ERR_RETURN(strm, err)
Definition: zutil.h:52
uInt avail_out
Definition: zlib.h:91
ulg pending_buf_size
Definition: deflate.h:101
#define Z_OK
Definition: zlib.h:173
#define EXTRA_STATE
Definition: deflate.h:55
struct internal_state * state
Definition: zlib.h:95
#define Z_NULL
Definition: zlib.h:208
#define Z_FULL_FLUSH
Definition: zlib.h:167
int last_flush
Definition: deflate.h:108
static void flush_pending(z_streamp strm)
Definition: deflate.c:642
#define OS_CODE
Definition: zutil.h:180
unsigned int uInt
Definition: zconf.h:370
#define Z_RLE
Definition: zlib.h:194