]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/image.h
Merge changes from CUPS 1.4svn-r7696.
[thirdparty/cups.git] / filter / image.h
index b77e6ddc3f69caff25b5198dd00d4e58828233f3..ca3521aed892e94ca4cd18cb545536f993dcaa6c 100644 (file)
@@ -1,25 +1,16 @@
 /*
- * "$Id: image.h 5191 2006-02-27 02:47:56Z mike $"
+ * "$Id: image.h 7306 2008-02-15 00:52:38Z mike $"
  *
  *   Image library definitions for the Common UNIX Printing System (CUPS).
  *
+ *   Copyright 2007 by Apple Inc.
  *   Copyright 1993-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
- *   property of Easy Software Products and are protected by Federal
- *   copyright law.  Distribution and use rights are outlined in the file
- *   "LICENSE.txt" which should have been included with this file.  If this
- *   file is missing or damaged please contact Easy Software Products
- *   at:
- *
- *       Attn: CUPS Licensing Information
- *       Easy Software Products
- *       44141 Airport View Drive, Suite 204
- *       Hollywood, Maryland 20636 USA
- *
- *       Voice: (301) 373-9600
- *       EMail: cups-info@cups.org
- *         WWW: http://www.cups.org
+ *   property of Apple Inc. and are protected by Federal copyright
+ *   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+ *   which should have been included with this file.  If this file is
+ *   file is missing or damaged, see the license at "http://www.cups.org/".
  *
  *   This file is subject to the Apple OS-Developed Software exception.
  */
@@ -32,7 +23,7 @@
  */
 
 #  include <stdio.h>
-#  include "raster.h"
+#  include <cups/raster.h>
 
 #  ifdef __cplusplus
 extern "C" {
@@ -72,60 +63,60 @@ typedef struct cups_izoom_s cups_izoom_t;
  * Prototypes...
  */
 
-extern void            cupsImageClose(cups_image_t *img);
+extern void            cupsImageClose(cups_image_t *img) _CUPS_API_1_2;
 extern void            cupsImageCMYKToBlack(const cups_ib_t *in,
-                                            cups_ib_t *out, int count);
+                                            cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageCMYKToCMY(const cups_ib_t *in,
-                                          cups_ib_t *out, int count);
+                                          cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageCMYKToCMYK(const cups_ib_t *in,
-                                           cups_ib_t *out, int count);
+                                           cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageCMYKToRGB(const cups_ib_t *in,
-                                          cups_ib_t *out, int count);
+                                          cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageCMYKToWhite(const cups_ib_t *in,
-                                            cups_ib_t *out, int count);
+                                            cups_ib_t *out, int count) _CUPS_API_1_2;
 extern int             cupsImageGetCol(cups_image_t *img, int x, int y,
-                                       int height, cups_ib_t *pixels);
-extern cups_icspace_t  cupsImageGetColorSpace(cups_image_t *img);
-extern int             cupsImageGetDepth(cups_image_t *img);
-extern unsigned                cupsImageGetHeight(cups_image_t *img);
+                                       int height, cups_ib_t *pixels) _CUPS_API_1_2;
+extern cups_icspace_t  cupsImageGetColorSpace(cups_image_t *img) _CUPS_API_1_2;
+extern int             cupsImageGetDepth(cups_image_t *img) _CUPS_API_1_2;
+extern unsigned                cupsImageGetHeight(cups_image_t *img) _CUPS_API_1_2;
 extern int             cupsImageGetRow(cups_image_t *img, int x, int y,
-                                       int width, cups_ib_t *pixels);
-extern unsigned                cupsImageGetWidth(cups_image_t *img);
-extern unsigned                cupsImageGetXPPI(cups_image_t *img);
-extern unsigned                cupsImageGetYPPI(cups_image_t *img);
+                                       int width, cups_ib_t *pixels) _CUPS_API_1_2;
+extern unsigned                cupsImageGetWidth(cups_image_t *img) _CUPS_API_1_2;
+extern unsigned                cupsImageGetXPPI(cups_image_t *img) _CUPS_API_1_2;
+extern unsigned                cupsImageGetYPPI(cups_image_t *img) _CUPS_API_1_2;
 extern void            cupsImageLut(cups_ib_t *pixels, int count,
-                                    const cups_ib_t *lut);
+                                    const cups_ib_t *lut) _CUPS_API_1_2;
 extern cups_image_t    *cupsImageOpen(const char *filename,
                                       cups_icspace_t primary,
                                       cups_icspace_t secondary,
                                       int saturation, int hue,
-                                      const cups_ib_t *lut);
+                                      const cups_ib_t *lut) _CUPS_API_1_2;
 extern void            cupsImageRGBAdjust(cups_ib_t *pixels, int count,
-                                          int saturation, int hue);
+                                          int saturation, int hue) _CUPS_API_1_2;
 extern void            cupsImageRGBToBlack(const cups_ib_t *in,
-                                           cups_ib_t *out, int count);
+                                           cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageRGBToCMY(const cups_ib_t *in,
-                                         cups_ib_t *out, int count);
+                                         cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageRGBToCMYK(const cups_ib_t *in,
-                                          cups_ib_t *out, int count);
+                                          cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageRGBToRGB(const cups_ib_t *in,
-                                         cups_ib_t *out, int count);
+                                         cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageRGBToWhite(const cups_ib_t *in,
-                                           cups_ib_t *out, int count);
-extern void            cupsImageSetMaxTiles(cups_image_t *img, int max_tiles);
+                                           cups_ib_t *out, int count) _CUPS_API_1_2;
+extern void            cupsImageSetMaxTiles(cups_image_t *img, int max_tiles) _CUPS_API_1_2;
 extern void            cupsImageSetProfile(float d, float g,
-                                           float matrix[3][3]);
-extern void            cupsImageSetRasterColorSpace(cups_cspace_t cs);
+                                           float matrix[3][3]) _CUPS_API_1_2;
+extern void            cupsImageSetRasterColorSpace(cups_cspace_t cs) _CUPS_API_1_2;
 extern void            cupsImageWhiteToBlack(const cups_ib_t *in,
-                                             cups_ib_t *out, int count);
+                                             cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageWhiteToCMY(const cups_ib_t *in,
-                                           cups_ib_t *out, int count);
+                                           cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageWhiteToCMYK(const cups_ib_t *in,
-                                            cups_ib_t *out, int count);
+                                            cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageWhiteToRGB(const cups_ib_t *in,
-                                           cups_ib_t *out, int count);
+                                           cups_ib_t *out, int count) _CUPS_API_1_2;
 extern void            cupsImageWhiteToWhite(const cups_ib_t *in,
-                                             cups_ib_t *out, int count);
+                                             cups_ib_t *out, int count) _CUPS_API_1_2;
 
 
 #  ifdef __cplusplus
@@ -135,5 +126,5 @@ extern void         cupsImageWhiteToWhite(const cups_ib_t *in,
 #endif /* !_CUPS_IMAGE_H_ */
 
 /*
- * End of "$Id: image.h 5191 2006-02-27 02:47:56Z mike $".
+ * End of "$Id: image.h 7306 2008-02-15 00:52:38Z mike $".
  */