Home
last modified time | relevance | path

Searched refs:compression (Results 1 – 25 of 70) sorted by relevance

123

/plan9/sys/src/cmd/gs/src/
H A Dgdevdljm.c81 int compression = -1; in dljet_mono_print_page_copies() local
208 if ((num_blank_lines < MIN_SKIP_LINES && compression != 3) || in dljet_mono_print_page_copies()
215 if (mode_3ns && compression != 2) { in dljet_mono_print_page_copies()
218 compression = 2; in dljet_mono_print_page_copies()
256 (compression == 3 ? 0 : penalty_from2to3); in dljet_mono_print_page_copies()
258 (compression == 2 ? 0 : penalty_from3to2); in dljet_mono_print_page_copies()
261 if (compression != 3) in dljet_mono_print_page_copies()
263 compression = 3; in dljet_mono_print_page_copies()
267 if (compression != 2) in dljet_mono_print_page_copies()
269 compression = 2; in dljet_mono_print_page_copies()
H A Dgdevbjcl.c96 bjc_put_set_compression(stream *s, bjc_raster_compression_t compression) in bjc_put_set_compression() argument
99 spputc(s, compression); in bjc_put_set_compression()
H A Dgdevbmpc.c75 dword compression; /* compression scheme, always 0 */ member
136 BMP_ASSIGN_DWORD(ihdr.compression, 0); in write_bmp_depth_header()
H A Dgdevcdj.c1982 int compression = 0; local
2139 compression = 3;
2154 compression = 9;
2191 compression = 1;
2257 compression = 1;
2269 compression = 2; /* BJC600 uses the same method as mode 2 compression */
2287 if (compression)
2288 fprintf(prn_stream, "%dm", compression);
2293 if (compression)
2294 fprintf(prn_stream, "\033*b%dM", compression);
[all …]
H A Dgdevcd8.c603 int compression; /* compression level */ member
648 …pi, bpp, print_page, correction, quality, papertype, intensities,ptype,compression,mastergamma,gam… argument
655 compression,\
667 …pi, bpp, print_page, correction, quality, papertype, intensities,ptype,compression,mastergamma,gam… argument
674 compression,\
2111 if (cdj850->compression) in cdj850_start_raster_mode()
2112 fprintf(prn_stream, "%dm", cdj850->compression); in cdj850_start_raster_mode()
2788 if (cdj850->compression) in cdj1600_start_raster_mode()
2789 fprintf(prn_stream, "%dm", cdj850->compression); in cdj1600_start_raster_mode()
H A Dzlib.mak71 # Code common to compression and decompression.
80 # Encoding (compression) code.
/plan9/sys/src/cmd/gs/libpng/
H A Dpngwrite.c212 info_ptr->text[i].compression); in png_write_info()
214 if (info_ptr->text[i].compression > 0) in png_write_info()
219 info_ptr->text[i].compression, in png_write_info()
228 info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; in png_write_info()
231 else if (info_ptr->text[i].compression == PNG_TEXT_COMPRESSION_zTXt) in png_write_info()
237 info_ptr->text[i].compression); in png_write_info()
242 info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_zTXt_WR; in png_write_info()
244 else if (info_ptr->text[i].compression == PNG_TEXT_COMPRESSION_NONE) in png_write_info()
255 info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; in png_write_info()
313 info_ptr->text[i].compression); in png_write_end()
[all …]
H A Dpngset.c761 if(text_ptr[i].compression <= 0) in png_set_text_2()
790 if(text_ptr[i].compression > 0) in png_set_text_2()
791 textp->compression = PNG_ITXT_COMPRESSION_NONE; in png_set_text_2()
794 textp->compression = PNG_TEXT_COMPRESSION_NONE; in png_set_text_2()
799 textp->compression = text_ptr[i].compression; in png_set_text_2()
814 if (text_ptr[i].compression > 0) in png_set_text_2()
839 if(textp->compression > 0) in png_set_text_2()
H A Dexample.c661 text_ptr[0].compression = PNG_TEXT_COMPRESSION_NONE;
664 text_ptr[1].compression = PNG_TEXT_COMPRESSION_NONE;
667 text_ptr[2].compression = PNG_TEXT_COMPRESSION_zTXt;
H A Dpngwutil.c159 png_charp text, png_size_t text_len, int compression, in png_text_compress() argument
169 if (compression == PNG_TEXT_COMPRESSION_NONE) in png_text_compress()
176 if (compression >= PNG_TEXT_COMPRESSION_LAST) in png_text_compress()
180 sprintf(msg, "Unknown compression type %d", compression); in png_text_compress()
1335 png_size_t text_len, int compression) in png_write_zTXt() argument
1353 if (text == NULL || *text == '\0' || compression==PNG_TEXT_COMPRESSION_NONE) in png_write_zTXt()
1365 text_len = png_text_compress(png_ptr, text, text_len, compression, in png_write_zTXt()
1373 buf[0] = (png_byte)compression; in png_write_zTXt()
1387 png_write_iTXt(png_structp png_ptr, int compression, png_charp key, in png_write_iTXt() argument
1423 text_len = png_text_compress(png_ptr, text, text_len, compression-2, in png_write_iTXt()
[all …]
H A Dlibpng.txt72 Libpng uses zlib for its compression and decompression of PNG files.
75 The zlib compression utility is a general purpose utility that is
563 compression - The compression type; always
607 text_ptr[i].compression - type of compression used
1618 You now have the option of modifying how the compression library will
1621 are willing to give up some compression, or if you want to get the
1622 maximum possible compression at the expense of slower writing. If you
1625 speed/compression ratio. The second parameter to png_set_filter() is
1647 wants to start and stop using particular filters during compression,
1650 and remove them after the start of compression.
[all …]
/plan9/sys/src/cmd/jpg/
H A Dreadbmp.c465 bmih.compression = BMP_RGB; in ReadBMP()
471 bmih.compression = r32(b); in ReadBMP()
485 } else if(bmih.compression == BMP_BITFIELDS && in ReadBMP()
516 if(bmih.compression == BMP_RLE4) in ReadBMP()
522 if(bmih.compression == BMP_RLE8) in ReadBMP()
529 bmih.compression == BMP_BITFIELDS ? clut : nil); in ReadBMP()
536 bmih.compression == BMP_BITFIELDS ? clut : nil); in ReadBMP()
H A Dbmp.h33 long compression; /* Compression mode */ member
/plan9/sys/src/games/mp3enc/
H A DREADME23 MPEG audio compression, or any other techniques contained in
37 See www.mp3tech.org for more audio compression information and links.
/plan9/sys/src/liboventi/
H A Dsession.h70 int compression; member
/plan9/sys/src/cmd/gs/jpeg/
H A Dfilelist.doc52 jcapimin.c Application program interface: core routines for compression.
53 jcapistd.c Application program interface: standard compression.
56 jcomapi.c Application program interface routines common to compression
59 jctrans.c API and library routines for transcoding compression.
103 Support files for both compression and decompression:
H A DREADME65 This package contains C software to implement JPEG image compression and
66 decompression. JPEG (pronounced "jay-peg") is a standardized compression
72 very good compression levels can be obtained with no visible change, and
73 remarkably high compression levels are possible if you can tolerate a
75 with various compression settings.
78 compression processes. Provision is made for supporting all variants of these
204 The best short technical introduction to the JPEG compression algorithm is
207 (Adjacent articles in that issue discuss MPEG motion picture compression,
219 good explanations and example C code for a multitude of compression methods
221 code but don't know much about data compression in general. The book's JPEG
[all …]
H A Dlibjpeg.doc74 functions preprocess the image before JPEG compression or postprocess it after
85 compression side we have generally not provided low-quality choices, since
86 compression is normally less time-critical. It should be understood that the
107 used by the free LIBTIFF library to support JPEG compression in TIFF.)
113 The rough outline of a JPEG compression operation is:
115 Allocate and initialize a JPEG compression object
117 Set parameters for compression, including image size & colorspace
122 Release the JPEG compression object
124 A JPEG compression object holds parameters and working state for the JPEG
126 or finishing compression of an image; the same object can be re-used for a
[all …]
H A Dstructure.doc38 * A subroutine library for JPEG compression and decompression.
54 Within these limits, any set of compression parameters allowed by the JPEG
70 library to implement JPEG compression within the TIFF file format.)
74 functions preprocess the image before JPEG compression or postprocess it after
82 compression side we have generally not provided low-quality choices, since
83 compression is normally less time-critical. It should be understood that the
124 data is in the colorspace to be used for compression, and it is downsampled
163 the compression half of the library.
176 it in compression/decompression. We do this because downsampling/upsampling
180 compression preprocessing to pad the source data properly. Padding will occur
[all …]
/plan9/sys/src/cmd/gs/zlib/
H A DINDEX7 algorithm.txt description of the (de)compression algorithm
H A DChangeLog202 - Improve setting of zlib format compression level flags
223 write more than 4095 bytes before compression
368 compression ratio on some files. This also allows inlining _tr_tally for
375 - compile with -DFASTEST to get compression code optimized for speed only
410 - added compress2() to allow setting the compression level
452 - Fix a deflate bug occuring only with compression level 0 (thanks to
479 - pass params -f (filtered data), -h (huffman only), -1 to -9 (compression
487 - Allow compilation of gzio with -DNO_DEFLATE to avoid the compression code.
581 - allow compression level 0 (no compression)
582 - add deflateParams in zlib.h: allow dynamic change of compression level
[all …]
H A Dalgorithm.txt47 match, thus speeding up the whole process. If compression ratio is more
51 The lazy match evaluation is not performed for the fastest compression
54 when the match is not too long. This degrades the compression ratio
107 compression in the first place.) For the less frequent long symbols, there
108 will be two lookups. If you had a compression method with really long
H A DREADME3 zlib 1.2.2 is a general purpose data compression library. All the code is
10 All functions of the compression library are documented in the file zlib.h
14 compression library itself is composed of all source files except example.c and
H A DFAQ223 often, since it can significantly degrade compression.
301 Probably not. Look in the comp.compression FAQ for pointers to various
308 use GnuPG, http://www.gnupg.org/ , which already includes zlib compression.
330 they have not documented it as they have previous compression formats.
331 In any case, the compression improvements are so modest compared to other
/plan9/sys/src/cmd/bzip2/
H A DREADME87 compression or decompression machinery. Incorrect changes can and
96 Every compression of a file implies an assumption that the
124 * Approx 10% faster compression, 30% faster decompression

123