1 |
< |
/* Copyright (c) 1991 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1997 Regents of the University of California */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ LBL" */ |
4 |
|
|
188 |
|
extern COLORMAT rgb2xyzmat; /* RGB to XYZ conversion matrix */ |
189 |
|
extern COLORMAT xyz2rgbmat; /* XYZ to RGB conversion matrix */ |
190 |
|
|
191 |
< |
#define cie_rgb(rgb,xyz) colortrans(rgb,xyz2rgbmat,xyz) |
192 |
< |
#define rgb_cie(xyz,rgb) colortrans(xyz,rgb2xyzmat,rgb) |
191 |
> |
#define cie_rgb(rgb,xyz) colortrans(rgb,xyz2rgbmat,xyz,1) |
192 |
> |
#define rgb_cie(xyz,rgb) colortrans(xyz,rgb2xyzmat,rgb,1) |
193 |
|
|
194 |
|
#ifdef BSD |
195 |
|
#define cpcolormat(md,ms) bcopy((char *)ms,(char *)md,sizeof(COLORMAT)) |