Home | History | Annotate | Download | only in src

Lines Matching refs:Lab

30 // Auxiliary: 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;
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 double
366 // Does create the forward step. Lab double to device
509 cmsBool CMSEXPORT cmsDesaturateLab(cmsCIELab* Lab,
516 if (Lab -> L < 0) {
518 Lab-> L = Lab->a = Lab-> b = 0.0;
526 if (Lab->L > 100)
527 Lab -> L = 100;
531 if (Lab -> a < amin || Lab->a > amax||
532 Lab -> b < bmin || Lab->b > bmax) {
541 if (Lab -> a == 0.0) { // Is hue exactly 90?
544 Lab -> b = Lab->b < 0 ? bmin : bmax;
548 cmsLab2LCh(&LCh, Lab);
550 slope = Lab -> b / Lab -> a;
559 Lab -> a = amax;
560 Lab -> b = amax * slope;
566 Lab -> b = bmax;
567 Lab -> a = bmax / slope;
572 Lab -> a = amin;
573 Lab -> b = amin * slope;
579 Lab -> b = bmin;
580 Lab -> a = bmin / slope;