Lines Matching refs:zlib
51 buffer_reset(&vs->zlib.zlib); in vnc_zlib_start()
54 vs->zlib.tmp = vs->output; in vnc_zlib_start()
55 vs->output = vs->zlib.zlib; in vnc_zlib_start()
60 z_streamp zstream = &vs->zlib.stream; in vnc_zlib_stop()
64 vs->zlib.zlib = vs->output; in vnc_zlib_stop()
65 vs->output = vs->zlib.tmp; in vnc_zlib_stop()
88 vs->zlib.level = vs->tight->compression; in vnc_zlib_stop()
92 if (vs->tight->compression != vs->zlib.level) { in vnc_zlib_stop()
97 vs->zlib.level = vs->tight->compression; in vnc_zlib_stop()
101 buffer_reserve(&vs->output, vs->zlib.zlib.offset + 64); in vnc_zlib_stop()
104 zstream->next_in = vs->zlib.zlib.buffer; in vnc_zlib_stop()
105 zstream->avail_in = vs->zlib.zlib.offset; in vnc_zlib_stop()
150 if (vs->zlib.stream.opaque) { in vnc_zlib_clear()
151 deflateEnd(&vs->zlib.stream); in vnc_zlib_clear()
153 buffer_free(&vs->zlib.zlib); in vnc_zlib_clear()