diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-11-02 21:49:40 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-11-02 21:49:40 +0000 |
commit | ec0d03ff8e7b513154b892a5686967419a87d144 (patch) | |
tree | 82d34a43010874e958968c71f5c982d0b539010c /print | |
parent | b04569e3fbaa7e78920d915b42cfaaa83984dc57 (diff) | |
download | ports-ec0d03ff8e7b513154b892a5686967419a87d144.tar.gz ports-ec0d03ff8e7b513154b892a5686967419a87d144.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/hpijs/files/patch-ljjetready.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/hpijs/files/patch-ljjetready.cpp b/print/hpijs/files/patch-ljjetready.cpp new file mode 100644 index 000000000000..40482bd2fbec --- /dev/null +++ b/print/hpijs/files/patch-ljjetready.cpp @@ -0,0 +1,20 @@ +--- ljjetready.cpp.orig Wed Nov 2 22:42:26 2005 ++++ ljjetready.cpp Wed Nov 2 22:45:37 2005 +@@ -799,17 +799,7 @@ + + extern "C" + { +-void jpeg_finish_compress (j_compress_ptr cinfo); +-JDIMENSION jpeg_write_scanlines (j_compress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION num_lines); +-void jpeg_start_compress(struct jpeg_compress_struct *,unsigned char); +-void jpeg_suppress_tables(struct jpeg_compress_struct *,unsigned char); +-void jpeg_add_quant_table(struct jpeg_compress_struct *,int,unsigned int const *,int,unsigned char); +-void jpeg_default_colorspace(struct jpeg_compress_struct *); +-void jpeg_set_defaults(struct jpeg_compress_struct *); +-void jpeg_CreateCompress(struct jpeg_compress_struct *,int,unsigned int); +-void jpeg_destroy_compress(struct jpeg_compress_struct *); + void jpeg_buffer_dest (j_compress_ptr cinfo, JOCTET* outbuff, void* flush_output_buffer_callback); +-struct jpeg_error_mgr * jpeg_std_error(struct jpeg_error_mgr * err); + } + + #define ConvertToGrayMacro(red, green, blue) ((unsigned char)( ( (red * 30) + (green * 59) + (blue * 11) ) / 100 )) |