~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gdevjpx.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
} gx_device_jpx;
28
28
 
29
29
/* The device descriptor */
30
 
private dev_proc_print_page(jpx_print_page);
 
30
static dev_proc_print_page(jpx_print_page);
31
31
 
32
32
/* ------ The device descriptors ------ */
33
33
 
39
39
#  define Y_DPI 72
40
40
#endif
41
41
 
42
 
private dev_proc_print_page(jpx_print_page);
 
42
static dev_proc_print_page(jpx_print_page);
43
43
 
44
44
/* 24 bit RGB default */
45
 
private const gx_device_procs jpxrgb_procs =
 
45
static const gx_device_procs jpxrgb_procs =
46
46
prn_color_procs(gdev_prn_open, gdev_prn_output_page, gdev_prn_close,
47
47
                       gx_default_rgb_map_rgb_color,
48
48
                       gx_default_rgb_map_color_rgb);
56
56
};
57
57
 
58
58
/* 8 bit Grayscale */
59
 
private const gx_device_procs jpxgray_procs =
 
59
static const gx_device_procs jpxgray_procs =
60
60
prn_color_procs(gdev_prn_open, gdev_prn_output_page, gdev_prn_close,
61
61
                       gx_default_gray_map_rgb_color,
62
62
                       gx_default_gray_map_color_rgb);
70
70
};
71
71
 
72
72
/* 32 bit CMKY */
73
 
private dev_proc_map_color_rgb(jpx_cmyk_map_color_rgb);
74
 
private dev_proc_map_cmyk_color(jpx_cmyk_map_cmyk_color);
75
 
private const gx_device_procs jpxcmyk_procs = 
 
73
static dev_proc_map_color_rgb(jpx_cmyk_map_color_rgb);
 
74
static dev_proc_map_cmyk_color(jpx_cmyk_map_cmyk_color);
 
75
static const gx_device_procs jpxcmyk_procs = 
76
76
{       gdev_prn_open,
77
77
        gx_default_get_initial_matrix,
78
78
        NULL,   /* sync_output */
105
105
 
106
106
/* private color conversion routines; 
107
107
   we don't seem to have defaults for cmyk. */
108
 
private int
 
108
static int
109
109
jpx_cmyk_map_color_rgb(gx_device * dev, gx_color_index color,
110
110
                        gx_color_value prgb[3])
111
111
{
120
120
    return 0;
121
121
}
122
122
 
123
 
private gx_color_index
 
123
static gx_color_index
124
124
jpx_cmyk_map_cmyk_color(gx_device * dev, const gx_color_value cv[])
125
125
{
126
126
    gx_color_index color = ~(
134
134
 
135
135
 
136
136
/* Send the page to the file. */
137
 
private int
 
137
static int
138
138
jpx_print_page(gx_device_printer * pdev, FILE * prn_stream)
139
139
{
140
140
    gx_device_jpx *jdev = (gx_device_jpx *) pdev;