*
* CMYK color separation code for CUPS.
*
- * Copyright 2007 by Apple Inc.
+ * Copyright 2007-2008 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
{
int k; /* Current black value */
const short **channels; /* Copy of channel LUTs */
- const unsigned char *black_lut, /* Black LUT */
- *color_lut; /* Color LUT */
int ink, /* Amount of ink */
ink_limit; /* Ink limit from separation */
*/
channels = (const short **)cmyk->channels;
- black_lut = cmyk->black_lut;
- color_lut = cmyk->color_lut;
ink_limit = cmyk->ink_limit;
switch (cmyk->num_channels)
y, /* Current yellow value */
k; /* Current black value */
const short **channels; /* Copy of channel LUTs */
- const unsigned char *black_lut, /* Black LUT */
- *color_lut; /* Color LUT */
int ink, /* Amount of ink */
ink_limit; /* Ink limit from separation */
*/
channels = (const short **)cmyk->channels;
- black_lut = cmyk->black_lut;
- color_lut = cmyk->color_lut;
ink_limit = cmyk->ink_limit;
switch (cmyk->num_channels)
int k, /* Current black value */
kc; /* Current black color value */
const short **channels; /* Copy of channel LUTs */
- const unsigned char *black_lut, /* Black LUT */
- *color_lut; /* Color LUT */
int ink, /* Amount of ink */
ink_limit; /* Ink limit from separation */
*/
channels = (const short **)cmyk->channels;
- black_lut = cmyk->black_lut;
- color_lut = cmyk->color_lut;
ink_limit = cmyk->ink_limit;
switch (cmyk->num_channels)
kc, /* Current black color value */
km; /* Maximum black value */
const short **channels; /* Copy of channel LUTs */
- const unsigned char *black_lut, /* Black LUT */
- *color_lut; /* Color LUT */
int ink, /* Amount of ink */
ink_limit; /* Ink limit from separation */
*/
channels = (const short **)cmyk->channels;
- black_lut = cmyk->black_lut;
- color_lut = cmyk->color_lut;
ink_limit = cmyk->ink_limit;
switch (cmyk->num_channels)