Lines Matching refs:chroma
59 * XcmsCIELuvQueryMinL - Compute max Lstar for a hue and chroma
67 XcmsFloat chroma,
71 * Return the maximum Lstar for a specified hue_angle and chroma.
114 tmp.spec.CIELuv.u_star = XCMS_CIEUSTAROFHUE(hue, chroma);
115 tmp.spec.CIELuv.v_star = XCMS_CIEVSTAROFHUE(hue, chroma);
119 /* Step 1: Obtain the maximum L_star and chroma for this hue. */
128 if (max_chroma <= chroma) {
130 * If the chroma is greater than the chroma for the
131 * maximum L/chroma point then the L_star is the
132 * the L_star for the maximum L_star/chroma point.
141 * If the chroma is equal to the chroma for the
142 * maximum L_star/chroma point then the L_star is the
143 * the L_star for the maximum L* and chroma point.
145 /* if (max_chroma == chroma) {
154 nChroma = chroma;
180 if (tmp_chroma <= chroma + EPS && tmp_chroma >= chroma - EPS) {
185 nChroma += chroma - tmp_chroma;
190 if (XCMS_FABS(lastChroma - chroma) <
191 XCMS_FABS(tmp_chroma - chroma)) {
206 if (XCMS_FABS(lastChroma - chroma) <
207 XCMS_FABS(tmp_chroma - chroma)) {