Lines Matching refs:chroma
64 * Return the closest L* for a specific hue and chroma.
81 XcmsFloat hue, chroma, maxChroma;
115 chroma = XCMS_CIELUV_PMETRIC_CHROMA(pColor->spec.CIELuv.u_star,
117 /* Step 1: compute the maximum L* and chroma for this hue. */
128 if (chroma == maxChroma) {
129 /* When the chroma input is equal to the maximum chroma */
130 /* merely return the L* for that chroma. */
134 } else if (chroma > maxChroma) {
135 /* When the chroma input is greater than the maximum chroma */
136 /* merely return the L* and chroma for the given hue. */
140 /* Find the minimum lightness for the given chroma. */
148 if (XcmsCIELuvQueryMinL(&myCCC, degrees(hue), chroma, pColor)
155 /* Find the maximum lightness for the given chroma. */
163 if (XcmsCIELuvQueryMaxL(&myCCC, degrees(hue), chroma, pColor)