Lines Matching defs:compression
257 unsigned int z_cmf = data[0]; /* zlib compression method and flags */
290 /* Initialize the compressor for the appropriate type of compression. */
437 /* Clean up (or trim) a linked list of compression buffers. */
486 /* Compress the data in the compression state input */
508 /* Set up the compression buffers, we need a loop here to avoid overflowing a
756 png_warning(png_ptr, "Invalid compression type specified");
936 /* First time. Ensure we have a temporary buffer for compression and
1122 png_byte new_name[81]; /* 1 byte for the compression byte */
1157 /* Make sure we include the NULL after the name and the compression type */
1162 /* Allow for keyword terminator and compression byte */
1574 int compression)
1582 if (compression == PNG_TEXT_COMPRESSION_NONE)
1588 if (compression != PNG_TEXT_COMPRESSION_zTXt)
1589 png_error(png_ptr, "zTXt: invalid compression type");
1596 /* Add the compression method and 1 for the keyword separator. */
1624 png_write_iTXt(png_structrp png_ptr, int compression, png_const_charp key,
1639 /* Set the compression flag */
1640 switch (compression)
1644 compression = new_key[++key_len] = 0; /* no compression */
1649 compression = new_key[++key_len] = 1; /* compressed */
1653 png_error(png_ptr, "iTXt: invalid compression");
1688 if (compression != 0)
1711 if (compression != 0)
2576 * (experimental and can in theory improve compression), and the "zlib