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.
481 deflate data. The header type is detected automatically, if requested when
486 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
544 windowBits can also be -8..-15 for raw deflate. In this case, -windowBits
545 determines the window size. deflate() will then generate raw deflate data
581 compression: this will be done by deflate().
591 deflateReset, and before any call of deflate. When doing raw deflate, this
592 function must be called either before any call of deflate, or immediately
593 after the completion of a deflate block, i.e. after all input has been
611 addition, the current implementation of deflate will use at most the window
618 actually used by the compressor.) If a raw deflate was requested, then the
623 inconsistent (for example if deflate has already been called for this stream
624 or if not at a block boundary for raw deflate). deflateSetDictionary does
625 not perform any compression: this will be done by deflate().
667 effect only at the next call of deflate().
670 a call of deflate(), since the currently available input may have to be
684 Fine tune deflate's internal compression parameters. This should only be
685 used by someone who understands the algorithm used by zlib's deflate for
688 specific input data. Read the deflate.c source code for the meaning of the
692 returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
702 called before deflate(). If that first deflate() call is provided the
704 deflateBound(), and the flush value Z_FINISH, then deflate() is guaranteed
729 deflatePrime() inserts bits in the deflate output stream. The intent
730 is that this function is used to start off the deflate output with the bits
731 leftover from a previous deflate stream when appending to it. As such, this
732 function can only be used for raw deflate, and must be used before the first
733 deflate() call after a deflateInit2() or deflateReset(). bits must be less
748 deflate(). The text, time, os, extra field, name, and comment information
787 determines the window size. inflate() will then process raw deflate data,
790 is for use with other formats that use the deflate compressed data format
792 format is developed using the raw deflate format for compressed data, it is
842 for the description of deflate with Z_FULL_FLUSH) can be found, or until all
995 assured that deflate was used with small window sizes, windowBits must be 15
997 deflate streams.
1024 deflate stream with each call. inflateBackEnd() is then called to free the
1027 A raw deflate stream is one with no zlib or gzip header or trailer.
1031 the raw deflate stream to decompress. This is different from the normal
1033 trailer around the deflate stream.
1037 routines until it reads a complete deflate stream and writes out all of the
1069 in the deflate stream (in which case strm->msg is set to indicate the nature
1109 deflate code when not needed)
1110 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
1116 21: FASTEST -- deflate algorithm with only one, lowest compression level
1201 wrapper, documented in RFC 1952, wrapped around a deflate stream.
1392 is as in the deflate() function. The return value is the zlib error number