Searched defs:XYZ (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmscam02.c64 cmsFloat64Number XYZ[3]; member in struct:__anon815
92 return (pMod -> Yb / pMod -> adoptedWhite.XYZ[1]);
134 clr.RGB[0] = (clr.XYZ[0] * 0.7328) + (clr.XYZ[1] * 0.4296) + (clr.XYZ[2] * -0.1624);
135 clr.RGB[1] = (clr.XYZ[0] * -0.7036) + (clr.XYZ[1] * 1.6975) + (clr.XYZ[2] * 0.0061);
136 clr.RGB[2] = (clr.XYZ[0] * 0.0030) + (clr.XYZ[
[all...]
H A Dcmsplugin.c259 cmsBool CMSEXPORT _cmsReadXYZNumber(cmsIOHANDLER* io, cmsCIEXYZ* XYZ) argument
267 if (XYZ != NULL) {
269 XYZ->X = _cms15Fixed16toDouble(_cmsAdjustEndianess32(xyz.X));
270 XYZ->Y = _cms15Fixed16toDouble(_cmsAdjustEndianess32(xyz.Y));
271 XYZ->Z = _cms15Fixed16toDouble(_cmsAdjustEndianess32(xyz.Z));
273 NormalizeXYZ(XYZ);
369 cmsBool CMSEXPORT _cmsWriteXYZNumber(cmsIOHANDLER* io, const cmsCIEXYZ* XYZ) argument
374 _cmsAssert(XYZ != NULL);
376 xyz.X = _cmsAdjustEndianess32(_cmsDoubleTo15Fixed16(XYZ->X));
377 xyz.Y = _cmsAdjustEndianess32(_cmsDoubleTo15Fixed16(XYZ
[all...]
H A Dcmspcs.c58 // inter PCS conversions XYZ <-> CIE L* a* b*
98 CIE XYZ X 0 -> 1.99997 0x0000 -> 0xffff
99 CIE XYZ Y 0 -> 1.99997 0x0000 -> 0xffff
100 CIE XYZ Z 0 -> 1.99997 0x0000 -> 0xffff
162 // Standard XYZ to Lab. it can handle negative XZY numbers in some cases
180 // Standard XYZ to Lab. It can return negative XYZ in some cases
387 // In XYZ All 3 components are encoded using 1.15 fixed point
394 void CMSEXPORT cmsFloat2XYZEncoded(cmsUInt16Number XYZ[3], const cmsCIEXYZ* fXYZ) argument
429 XYZ[
449 cmsXYZEncoded2Float(cmsCIEXYZ* fXYZ, const cmsUInt16Number XYZ[3]) argument
[all...]
H A Dcmsps2.c67 PostScript does use XYZ as its internal PCS. But since PostScript
72 convert Lab <-> XYZ is also included.
80 the device -> XYZ transform. These cases identifies monochrome profiles (often
88 no interpolation tables, I do the conversion directly to XYZ
104 On simpler profiles, the PCS is already XYZ, so no conversion is required.
112 the conversion directly to XYZ
167 /RangeABC <.. used for XYZ -> Lab>
176 The following stages are used to convert from XYZ to Lab
208 The following stages are used to convert Lab to XYZ
471 // Lab -> XYZ, se
875 cmsCIEXYZ XYZ; local
[all...]
H A Dcmsvirt.c577 // Creates a fake XYZ identity
592 if (!SetTextTags(hProfile, L"XYZ identity built-in")) goto Error;
702 cmsCIEXYZ XYZ; local
722 cmsLab2XYZ(&bchsw ->WPsrc, &XYZ, &LabOut);
723 cmsXYZ2Lab(&bchsw ->WPdest, &LabOut, &XYZ);
H A Dcmslut.c958 cmsCIEXYZ XYZ; local
966 cmsLab2XYZ(NULL, &XYZ, &Lab);
968 // From XYZ, range 0..19997 to 0..1.0, note that 1.99997 comes from 0xffff
971 Out[0] = (cmsFloat32Number) ((cmsFloat64Number) XYZ.X / XYZadj);
972 Out[1] = (cmsFloat32Number) ((cmsFloat64Number) XYZ.Y / XYZadj);
973 Out[2] = (cmsFloat32Number) ((cmsFloat64Number) XYZ.Z / XYZadj);
1089 // Fom XYZ to floating point PCS
1154 cmsCIEXYZ XYZ; local
1157 // From 0..1.0 to XYZ
1159 XYZ
[all...]
H A Dcmspack.c840 // This is a conversion of XYZ double to 16 bits
850 cmsCIEXYZ XYZ; local
852 XYZ.X = Pt[0];
853 XYZ.Y = Pt[Stride];
854 XYZ.Z = Pt[Stride*2];
855 cmsFloat2XYZEncoded(wIn, &XYZ);
2300 cmsCIEXYZ XYZ; local
2302 cmsXYZEncoded2Float(&XYZ, wOut);
2304 Out[0] = XYZ.X;
2305 Out[Stride] = XYZ
[all...]

Completed in 68 milliseconds