Home
last modified time | relevance | path

Searched refs:Lab (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsgmt.c104 cmsCIELab Lab; in ComputeKToLstar() local
121 cmsDoTransform(xform, cmyk, &Lab, 1); in ComputeKToLstar()
122 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation in ComputeKToLstar()
509 cmsBool CMSEXPORT cmsDesaturateLab(cmsCIELab* Lab, in cmsDesaturateLab() argument
516 if (Lab -> L < 0) { in cmsDesaturateLab()
518 Lab-> L = Lab->a = Lab-> b = 0.0; in cmsDesaturateLab()
526 if (Lab->L > 100) in cmsDesaturateLab()
527 Lab -> L = 100; in cmsDesaturateLab()
531 if (Lab -> a < amin || Lab->a > amax|| in cmsDesaturateLab()
532 Lab -> b < bmin || Lab->b > bmax) { in cmsDesaturateLab()
[all …]
Dcmspcs.c134 void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz) in cmsXYZ2Lab() argument
145 Lab->L = 116.0*fy - 16.0; in cmsXYZ2Lab()
146 Lab->a = 500.0*(fx - fy); in cmsXYZ2Lab()
147 Lab->b = 200.0*(fy - fz); in cmsXYZ2Lab()
152 void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab) in cmsLab2XYZ() argument
159 y = (Lab-> L + 16.0) / 116.0; in cmsLab2XYZ()
160 x = y + 0.002 * Lab -> a; in cmsLab2XYZ()
161 z = y - 0.005 * Lab -> b; in cmsLab2XYZ()
209 void CMSEXPORT cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) in cmsLabEncoded2FloatV2() argument
211 Lab->L = L2float2(wLab[0]); in cmsLabEncoded2FloatV2()
[all …]
Dcmssamp.c75 cmsCIELab Lab; in BlackPointAsDarkerColorant() local
124 cmsDoTransform(xform, Black, &Lab, 1); in BlackPointAsDarkerColorant()
127 Lab.a = Lab.b = 0; in BlackPointAsDarkerColorant()
128 if (Lab.L > 50) Lab.L = 50; in BlackPointAsDarkerColorant()
134 cmsLab2XYZ(NULL, &BlackXYZ, &Lab); in BlackPointAsDarkerColorant()
237 cmsCIELab Lab; in cmsDetectBlackPoint() local
251 cmsXYZ2Lab(NULL, &Lab, &UntrustedBlackPoint); in cmsDetectBlackPoint()
252 Lab.a = Lab.b = 0; in cmsDetectBlackPoint()
253 if (Lab.L > 50) Lab.L = 50; // Clip to L* <= 50 in cmsDetectBlackPoint()
254 cmsLab2XYZ(NULL, &TrustedBlackPoint, &Lab); in cmsDetectBlackPoint()
[all …]
Dcmssm.c322 cmsGDBPoint* GetPoint(cmsGDB* gbd, const cmsCIELab* Lab, cmsSpherical* sp) in GetPoint() argument
329 _cmsAssert(Lab != NULL); in GetPoint()
333 _cmsVEC3init(&v, Lab ->L - 50.0, Lab ->a, Lab ->b); in GetPoint()
357 cmsBool CMSEXPORT cmsGDBAddPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) in cmsGDBAddPoint() argument
365 ptr = GetPoint(gbd, Lab, &sp); in cmsGDBAddPoint()
389 cmsBool CMSEXPORT cmsGDBCheckPoint(cmsHANDLE hGBD, const cmsCIELab* Lab) in cmsGDBCheckPoint() argument
396 ptr = GetPoint(gbd, Lab, &sp); in cmsGDBCheckPoint()
476 cmsVEC3 Lab; in InterpolateMissingSector() local
498 ToCartesian(&Lab, &sp); in InterpolateMissingSector()
502 LineOf2Points(&ray, &Lab, &Centre); in InterpolateMissingSector()
Dcmspack.c776 cmsCIELab Lab; in UnrollLabDoubleTo16() local
778 Lab.L = Pt[0]; in UnrollLabDoubleTo16()
779 Lab.a = Pt[Stride]; in UnrollLabDoubleTo16()
780 Lab.b = Pt[Stride*2]; in UnrollLabDoubleTo16()
782 cmsFloat2LabEncoded(wIn, &Lab); in UnrollLabDoubleTo16()
801 cmsCIELab Lab; in UnrollLabFloatTo16() local
808 Lab.L = Pt[0]; in UnrollLabFloatTo16()
809 Lab.a = Pt[Stride]; in UnrollLabFloatTo16()
810 Lab.b = Pt[Stride*2]; in UnrollLabFloatTo16()
812 cmsFloat2LabEncoded(wIn, &Lab); in UnrollLabFloatTo16()
[all …]
Dcmslut.c941 cmsCIELab Lab; in EvaluateLab2XYZ() local
946 Lab.L = In[0] * 100.0; in EvaluateLab2XYZ()
947 Lab.a = In[1] * 255.0 - 128.0; in EvaluateLab2XYZ()
948 Lab.b = In[2] * 255.0 - 128.0; in EvaluateLab2XYZ()
950 cmsLab2XYZ(NULL, &XYZ, &Lab); in EvaluateLab2XYZ()
1137 cmsCIELab Lab; in EvaluateXYZ2Lab() local
1147 cmsXYZ2Lab(NULL, &Lab, &XYZ); in EvaluateXYZ2Lab()
1151 Out[0] = (cmsFloat32Number) (Lab.L / 100.0); in EvaluateXYZ2Lab()
1152 Out[1] = (cmsFloat32Number) ((Lab.a + 128.0) / 255.0); in EvaluateXYZ2Lab()
1153 Out[2] = (cmsFloat32Number) ((Lab.b + 128.0) / 255.0); in EvaluateXYZ2Lab()
Dcmsps2.c1021 cmsCIELab Lab; in WriteNamedColorCSA() local
1028 cmsDoTransform(xform, In, &Lab, 1); in WriteNamedColorCSA()
1029 _cmsIOPrintf(m, " (%s) [ %.3f %.3f %.3f ]\n", ColorName, Lab.L, Lab.a, Lab.b); in WriteNamedColorCSA()
/external/pdfium/testing/resources/
Dbug_481363.in40 /Lab 4<
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
Dlcms2.h1076 CMSAPI void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cm…
1077 … CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab);
1078 CMSAPI void CMSEXPORT cmsLab2LCh(cmsCIELCh*LCh, const cmsCIELab* Lab);
1079 CMSAPI void CMSEXPORT cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh);
1082 CMSAPI void CMSEXPORT cmsLabEncoded2Float(cmsCIELab* Lab, const cmsUInt16Number wLab[3…
1083 CMSAPI void CMSEXPORT cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab…
1084 …API void CMSEXPORT cmsFloat2LabEncoded(cmsUInt16Number wLab[3], const cmsCIELab* Lab);
1085 …I void CMSEXPORT cmsFloat2LabEncodedV2(cmsUInt16Number wLab[3], const cmsCIELab* Lab);
1856 CMSAPI cmsBool CMSEXPORT cmsGDBAddPoint(cmsHANDLE hGBD, const cmsCIELab* Lab);
1858 CMSAPI cmsBool CMSEXPORT cmsGDBCheckPoint(cmsHANDLE hGBD, const cmsCIELab* Lab);
[all …]
/external/zlib/src/contrib/iostream3/
DREADME32 DSP Lab
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp516 cmsCIELab Lab; in color_apply_conversion() local
563 Lab.L = minL + (double)(*L) * (maxL - minL) / (pow(2, prec0) - 1); in color_apply_conversion()
565 Lab.a = mina + (double)(*a) * (maxa - mina) / (pow(2, prec1) - 1); in color_apply_conversion()
567 Lab.b = minb + (double)(*b) * (maxb - minb) / (pow(2, prec2) - 1); in color_apply_conversion()
569 cmsDoTransform(transform, &Lab, RGB, 1); in color_apply_conversion()
/external/icu/icu4c/source/data/locales/
Dso.txt154 "Lab",
Dteo.txt162 "Lab",
/external/valgrind/
DAUTHORS87 Development of Valgrind was supported in part by the Tri-Lab Partners
/external/icu/icu4c/source/data/brkitr/
Dcjdict.txt78 # * Copyright (c) 1999 Computer Systems and Communication Lab,
92 # * . Neither the name of the Computer Systems and Communication Lab
/external/opencv/
DNOTICE855 The function for RGB to Lab conversion is based on the MATLAB script