Home
last modified time | relevance | path

Searched refs:LCh (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmspcs.c349 void CMSEXPORT cmsLab2LCh(cmsCIELCh* LCh, const cmsCIELab* Lab) in cmsLab2LCh() argument
351 LCh -> L = Lab -> L; in cmsLab2LCh()
352 LCh -> C = pow(Sqr(Lab ->a) + Sqr(Lab ->b), 0.5); in cmsLab2LCh()
353 LCh -> h = atan2deg(Lab ->b, Lab ->a); in cmsLab2LCh()
358 void CMSEXPORT cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh) in cmsLCh2Lab() argument
360 cmsFloat64Number h = (LCh -> h * M_PI) / 180.0; in cmsLCh2Lab()
362 Lab -> L = LCh -> L; in cmsLCh2Lab()
363 Lab -> a = LCh -> C * cos(h); in cmsLCh2Lab()
364 Lab -> b = LCh -> C * sin(h); in cmsLCh2Lab()
Dcmsgmt.c534 cmsCIELCh LCh; in cmsDesaturateLab() local
548 cmsLab2LCh(&LCh, Lab); in cmsDesaturateLab()
551 h = LCh.h; in cmsDesaturateLab()
/external/pdfium/third_party/lcms/include/
Dlcms2.h1083 CMSAPI void CMSEXPORT cmsLab2LCh(cmsCIELCh*LCh, const cmsCIELab* Lab);
1084 CMSAPI void CMSEXPORT cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh);