Home | History | Annotate | Download | only in zlib

Lines Matching refs:deflate

28   (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (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). If deflate does not return
333 deflate() sets strm->adler to the adler32 checksum of all input read
336 deflate() may update strm->data_type if it can make a good guess about
341 deflate() returns Z_OK if some progress has been made (more input
347 fatal, and deflate() can be called again with more input and more output
423 stop if and when it gets to the next deflate block boundary. When decoding
429 The Z_BLOCK option assists in appending to or combining deflate streams.
432 inflate() is currently decoding the last block in the deflate stream, plus
434 decoding the complete header up to just before the first byte of the deflate
444 end of each deflate block header is reached, before any actual data in that
446 deflate block header for later use in random access within a deflate block.
448 immediately after reaching the end of the deflate block header.
477 deflate data. The header type is detected automatically, if requested when
538 windowBits can also be -8..-15 for raw deflate. In this case, -windowBits
539 determines the window size. deflate() will then generate raw deflate data
575 compression: this will be done by deflate().
585 of deflate. The compressor and decompressor must use exactly the same
600 addition, the current implementation of deflate will use at most the window
607 actually used by the compressor.) If a raw deflate was requested, then the
612 inconsistent (for example if deflate has already been called for this stream
614 perform any compression: this will be done by deflate().
656 effect only at the next call of deflate().
659 a call of deflate(), since the currently available input may have to be
673 Fine tune deflate's internal compression parameters. This should only be
674 used by someone who understands the algorithm used by zlib's deflate for
677 specific input data. Read the deflate.c source code for the meaning of the
681 returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
691 called before deflate().
698 deflatePrime() inserts bits in the deflate output stream. The intent
699 is that this function is used to start off the deflate output with the bits
700 leftover from a previous deflate stream when appending to it. As such, this
701 function can only be used for raw deflate, and must be used before the first
702 deflate() call after a deflateInit2() or deflateReset(). bits must be less
716 deflate(). The text, time, os, extra field, name, and comment information
755 determines the window size. inflate() will then process raw deflate data,
758 is for use with other formats that use the deflate compressed data format
760 format is developed using the raw deflate format for compressed data, it is
809 description of deflate with Z_FULL_FLUSH) can be found, or until all
958 assured that deflate was used with small window sizes, windowBits must be 15
960 deflate streams.
987 deflate stream with each call. inflateBackEnd() is then called to free the
990 A raw deflate stream is one with no zlib or gzip header or trailer.
994 the raw deflate stream to decompress. This is different from the normal
996 trailer around the deflate stream.
1000 routines until it reads a complete deflate stream and writes out all of the
1032 in the deflate stream (in which case strm->msg is set to indicate the nature
1072 deflate code when not needed)
1073 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
1079 21: FASTEST -- deflate algorithm with only one, lowest compression level
1162 wrapper, documented in RFC 1952, wrapped around a deflate stream.
1322 is as in the deflate() function. The return value is the zlib error number