Lines Matching refs:deflate

28   (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
61 around a deflate stream, which is itself documented in RFC 1951.
66 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
171 /* Allowed flush values; see deflate() and inflate() below for details */
206 /* The deflate compression method (the only one supported in this version) */
242 this will be done by deflate().
246 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
248 deflate compresses as much data as possible, and stops when the input
253 The detailed semantics are as follows. deflate performs one or both of the
259 processing will resume at this point for the next call of deflate().
267 Before the call of deflate(), the application should ensure that at least
272 == 0), or after each call of deflate(). If deflate returns Z_OK and with
276 Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
286 completes the current deflate block and follows it with an empty stored block
293 This completes the current deflate block and follows it with an empty fixed
298 If flush is set to Z_BLOCK, a deflate block is completed and emitted, as
301 the next deflate block is completed. In this case, the decompressor may not
305 the emission of deflate blocks.
313 If deflate returns with avail_out == 0, this function must be called again
315 avail_out), until the flush is complete (deflate returns with non-zero
321 pending output is flushed and deflate returns with Z_STREAM_END if there was
322 enough output space; if deflate returns with Z_OK, this function must be
325 deflate has returned Z_STREAM_END, the only possible operations on the stream
330 value returned by deflateBound (see below). Then deflate is guaranteed to
331 return Z_STREAM_END. If not enough output space is provided, deflate will
334 deflate() sets strm->adler to the adler32 checksum of all input read
337 deflate() may update strm->data_type if it can make a good guess about
342 deflate() returns Z_OK if some progress has been made (more input
348 fatal, and deflate() can be called again with more input and more output
424 stop if and when it gets to the next deflate block boundary. When decoding
430 The Z_BLOCK option assists in appending to or combining deflate streams.
433 inflate() is currently decoding the last block in the deflate stream, plus
435 decoding the complete header up to just before the first byte of the deflate
445 end of each deflate block header is reached, before any actual data in that
447 deflate block header for later use in random access within a deflate block.
449 immediately after reaching the end of the deflate block header.
484 deflate data. The header type is detected automatically, if requested when
489 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
547 windowBits can also be -8..-15 for raw deflate. In this case, -windowBits
548 determines the window size. deflate() will then generate raw deflate data
584 compression: this will be done by deflate().
594 deflateReset, and before any call of deflate. When doing raw deflate, this
595 function must be called either before any call of deflate, or immediately
596 after the completion of a deflate block, i.e. after all input has been
614 addition, the current implementation of deflate will use at most the window
621 actually used by the compressor.) If a raw deflate was requested, then the
626 inconsistent (for example if deflate has already been called for this stream
627 or if not at a block boundary for raw deflate). deflateSetDictionary does
628 not perform any compression: this will be done by deflate().
670 effect only at the next call of deflate().
673 a call of deflate(), since the currently available input may have to be
687 Fine tune deflate's internal compression parameters. This should only be
688 used by someone who understands the algorithm used by zlib's deflate for
691 specific input data. Read the deflate.c source code for the meaning of the
695 returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
705 called before deflate(). If that first deflate() call is provided the
707 deflateBound(), and the flush value Z_FINISH, then deflate() is guaranteed
732 deflatePrime() inserts bits in the deflate output stream. The intent
733 is that this function is used to start off the deflate output with the bits
734 leftover from a previous deflate stream when appending to it. As such, this
735 function can only be used for raw deflate, and must be used before the first
736 deflate() call after a deflateInit2() or deflateReset(). bits must be less
751 deflate(). The text, time, os, extra field, name, and comment information
790 determines the window size. inflate() will then process raw deflate data,
793 is for use with other formats that use the deflate compressed data format
795 format is developed using the raw deflate format for compressed data, it is
860 for the description of deflate with Z_FULL_FLUSH) can be found, or until all
1013 assured that deflate was used with small window sizes, windowBits must be 15
1015 deflate streams.
1044 deflate stream with each call. inflateBackEnd() is then called to free the
1047 A raw deflate stream is one with no zlib or gzip header or trailer.
1051 the raw deflate stream to decompress. This is different from the normal
1053 trailer around the deflate stream.
1057 routines until it reads a complete deflate stream and writes out all of the
1089 in the deflate stream (in which case strm->msg is set to indicate the nature
1129 deflate code when not needed)
1130 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
1136 21: FASTEST -- deflate algorithm with only one, lowest compression level
1221 wrapper, documented in RFC 1952, wrapped around a deflate stream.
1415 is as in the deflate() function. The return value is the zlib error number