Searched refs:LCh (Results 1 – 3 of 3) sorted by relevance
349 void CMSEXPORT cmsLab2LCh(cmsCIELCh* LCh, const cmsCIELab* Lab) in cmsLab2LCh() argument351 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() argument360 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()
534 cmsCIELCh LCh; in cmsDesaturateLab() local548 cmsLab2LCh(&LCh, Lab); in cmsDesaturateLab()551 h = LCh.h; in cmsDesaturateLab()
1091 CMSAPI void CMSEXPORT cmsLab2LCh(cmsCIELCh*LCh, const cmsCIELab* Lab);1092 CMSAPI void CMSEXPORT cmsLCh2Lab(cmsCIELab* Lab, const cmsCIELCh* LCh);