/external/pdfium/third_party/lcms2-2.6/src/ |
H A D | cmsgmt.c | 30 // Auxiliar: append a Lab identity after the given sequence of profiles 31 // and return the transform. Lab profile is closed, rest of profiles are kept open. 67 // Place Lab identity at chain's end. 104 cmsCIELab Lab; local 121 cmsDoTransform(xform, cmyk, &Lab, 1); 122 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation 201 cmsHTRANSFORM hForward, hReverse; // Transforms going from Lab to colorant and back 225 // Convert input to Lab 341 // Fill Lab identity 354 // 16 bits to Lab doubl 509 cmsDesaturateLab(cmsCIELab* Lab, double amax, double amin, double bmax, double bmin) argument [all...] |
H A D | cmssamp.c | 75 cmsCIELab Lab; local 104 // Lab will be used as the output space, but lab2 will avoid recursion 123 // Convert black to Lab 124 cmsDoTransform(xform, Black, &Lab, 1); 127 Lab.a = Lab.b = 0; 128 if (Lab.L > 50) Lab.L = 50; 133 // Convert from Lab (which is now clipped) to XYZ. 134 cmsLab2XYZ(NULL, &BlackXYZ, &Lab); 237 cmsCIELab Lab; local 372 cmsCIELab InitialLab, destLab, Lab; local [all...] |
H A D | cmssm.c | 320 // Auxiliar to retrieve a pointer to the segmentr containing the Lab value 322 cmsGDBPoint* GetPoint(cmsGDB* gbd, const cmsCIELab* Lab, cmsSpherical* sp) argument 329 _cmsAssert(Lab != NULL); 333 _cmsVEC3init(&v, Lab ->L - 50.0, Lab ->a, Lab ->b); 355 // Add a point to gamut descriptor. Point to add is in Lab color space. 357 cmsBool CMSEXPORT cmsGDBAddPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) argument 365 ptr = GetPoint(gbd, Lab, &sp); 389 cmsBool CMSEXPORT cmsGDBCheckPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) argument 476 cmsVEC3 Lab; local [all...] |
H A D | cmspcs.c | 54 8 bit Lab PCS: 60 16 bit Lab PCS: 133 // Standard XYZ to Lab. it can handle negative XZY numbers in some cases 134 void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz) argument 145 Lab->L = 116.0*fy - 16.0; 146 Lab->a = 500.0*(fx - fy); 147 Lab->b = 200.0*(fy - fz); 151 // Standard XYZ to Lab. It can return negative XYZ in some cases 152 void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab) argument 159 y = (Lab 209 cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) argument 217 cmsLabEncoded2Float(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) argument 247 cmsCIELab Lab; local 291 cmsCIELab Lab; local 340 cmsLab2LCh(cmsCIELCh* LCh, const cmsCIELab* Lab) argument 349 cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh) argument 473 ComputeLBFD(const cmsCIELab* Lab) argument [all...] |
H A D | cmsps2.c | 39 interpolation tables are limited to 8 bits, I use Lab as a way to 41 of each CRD, CSA the profiles are converted to Lab via a device 42 link between profile -> Lab or Lab -> profile. The PS code necessary to 43 convert Lab <-> XYZ is also included. 103 Lab is used in such cases. 122 These are always implemented as CLUT, and always are using Lab. Since CRD are expected to 138 /RangeABC <.. used for XYZ -> Lab> 147 The following stages are used to convert from XYZ to Lab 171 EncodeABC finally gives Lab value 1021 cmsCIELab Lab; local [all...] |
H A D | cmslut.c | 941 cmsCIELab Lab; local 946 Lab.L = In[0] * 100.0; 947 Lab.a = In[1] * 255.0 - 128.0; 948 Lab.b = In[2] * 255.0 - 128.0; 950 cmsLab2XYZ(NULL, &XYZ, &Lab); 1047 // To Lab to float. Note that the MPE gives numbers in normal Lab range 1137 cmsCIELab Lab; local 1147 cmsXYZ2Lab(NULL, &Lab, &XYZ); 1149 // From V4 Lab t [all...] |
H A D | cmspack.c | 765 // This is a conversion of Lab double to 16 bits 776 cmsCIELab Lab; local 778 Lab.L = Pt[0]; 779 Lab.a = Pt[Stride]; 780 Lab.b = Pt[Stride*2]; 782 cmsFloat2LabEncoded(wIn, &Lab); 794 // This is a conversion of Lab float to 16 bits 801 cmsCIELab Lab; local 808 Lab.L = Pt[0]; 809 Lab 2268 cmsCIELab Lab; local 2292 cmsCIELab Lab; local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_jpx_opj.cpp | 594 cmsCIELab Lab; local 640 Lab.L = minL + (double)(*L) * (maxL - minL) / (pow(2, prec0) - 1); 642 Lab.a = mina + (double)(*a) * (maxa - mina) / (pow(2, prec1) - 1); 644 Lab.b = minb + (double)(*b) * (maxb - minb) / (pow(2, prec2) - 1); 646 cmsDoTransform(transform, &Lab, RGB, 1);
|