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

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgmt.c59 // Auxiliar: append a Lab identity after the given sequence of profiles
60 // and return the transform. Lab profile is closed, rest of profiles are kept open.
96 // Place Lab identity at chain's end.
133 cmsCIELab Lab; local
150 cmsDoTransform(xform, cmyk, &Lab, 1);
151 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation
230 cmsHTRANSFORM hForward, hReverse; // Transforms going from Lab to colorant and back
256 // Convert input to Lab
373 // Fill Lab identity
386 // 16 bits to Lab doubl
538 cmsDesaturateLab(cmsCIELab* Lab, double amax, double amin, double bmax, double bmin) argument
[all...]
H A Dcmssamp.c102 cmsCIELab Lab; local
131 // Lab will be used as the output space, but lab2 will avoid recursion
150 // Convert black to Lab
151 cmsDoTransform(xform, Black, &Lab, 1);
154 Lab.a = Lab.b = 0;
155 if (Lab.L > 50) Lab.L = 50;
160 // Convert from Lab (which is now clipped) to XYZ.
161 cmsLab2XYZ(NULL, &BlackXYZ, &Lab);
255 cmsCIELab Lab; local
371 cmsCIELab InitialLab, destLab, Lab; local
[all...]
H A Dcmssm.c349 // Auxiliar to retrieve a pointer to the segmentr containing the Lab value
351 cmsGDBPoint* GetPoint(cmsGDB* gbd, const cmsCIELab* Lab, cmsSpherical* sp) argument
358 _cmsAssert(Lab != NULL);
362 _cmsVEC3init(&v, Lab ->L - 50.0, Lab ->a, Lab ->b);
384 // Add a point to gamut descriptor. Point to add is in Lab color space.
386 cmsBool CMSEXPORT cmsGDBAddPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) argument
394 ptr = GetPoint(gbd, Lab, &sp);
418 cmsBool CMSEXPORT cmsGDBCheckPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) argument
505 cmsVEC3 Lab; local
[all...]
H A Dcmspcs.c83 8 bit Lab PCS:
89 16 bit Lab PCS:
162 // Standard XYZ to Lab. it can handle negative XZY numbers in some cases
163 void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz) argument
174 Lab->L = 116.0*fy - 16.0;
175 Lab->a = 500.0*(fx - fy);
176 Lab->b = 200.0*(fy - fz);
180 // Standard XYZ to Lab. It can return negative XYZ in some cases
181 void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab) argument
188 y = (Lab
238 cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) argument
246 cmsLabEncoded2Float(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) argument
276 cmsCIELab Lab; local
320 cmsCIELab Lab; local
369 cmsLab2LCh(cmsCIELCh* LCh, const cmsCIELab* Lab) argument
378 cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh) argument
502 ComputeLBFD(const cmsCIELab* Lab) argument
[all...]
H A Dcmsps2.c68 interpolation tables are limited to 8 bits, I use Lab as a way to
70 of each CRD, CSA the profiles are converted to Lab via a device
71 link between profile -> Lab or Lab -> profile. The PS code necessary to
72 convert Lab <-> XYZ is also included.
132 Lab is used in such cases.
151 These are always implemented as CLUT, and always are using Lab. Since CRD are expected to
167 /RangeABC <.. used for XYZ -> Lab>
176 The following stages are used to convert from XYZ to Lab
200 EncodeABC finally gives Lab value
1053 cmsCIELab Lab; local
[all...]
H A Dcmslut.c957 cmsCIELab Lab; local
962 Lab.L = In[0] * 100.0;
963 Lab.a = In[1] * 255.0 - 128.0;
964 Lab.b = In[2] * 255.0 - 128.0;
966 cmsLab2XYZ(NULL, &XYZ, &Lab);
1063 // To Lab to float. Note that the MPE gives numbers in normal Lab range
1153 cmsCIELab Lab; local
1163 cmsXYZ2Lab(NULL, &Lab, &XYZ);
1165 // From V4 Lab t
[all...]
H A Dcmspack.c778 // This is a conversion of Lab double to 16 bits
789 cmsCIELab Lab; local
791 Lab.L = Pt[0];
792 Lab.a = Pt[Stride];
793 Lab.b = Pt[Stride*2];
795 cmsFloat2LabEncoded(wIn, &Lab);
807 // This is a conversion of Lab float to 16 bits
814 cmsCIELab Lab; local
821 Lab.L = Pt[0];
822 Lab
2245 cmsCIELab Lab; local
2269 cmsCIELab Lab; local
[all...]

Completed in 49 milliseconds