Lines Matching refs:gamma
66 double gamma; /* 0.0 means that the curve is not a gamma */
406 curve->gamma = 1.0;
448 dest->gamma = source->gamma;
472 dest->gamma = source->gamma;
579 curve->gamma = fgamma;
588 return curve->gamma;
618 curve->gamma = 0.0;
708 curve->gamma = 0.0;
859 curve->gamma = 0.0;
873 curve->gamma = 0.0;
1003 curve->gamma = 0.0;
1017 if (curve->gamma && curve->wrap_mode)
1020 "curve sets both gamma and wrap_mode\n");
1036 double fgamma = curve->gamma;
1136 if (curve->gamma) /* this means a pure gamma curve */
1244 if (curve->gamma)
1500 /* Get curve gamma */
1501 stmp = stp_mxmlElementGetAttr(curve, "gamma");
1509 "stp_curve_create_from_xmltree: \"gamma\" missing\n");
1512 /* If gamma is set, wrap_mode must be STP_CURVE_WRAP_NONE */
1516 "gamma set and \"wrap\" is not STP_CURVE_WRAP_NONE\n");
1544 else /* Not a gamma curve, so set points */
1629 "curve sets gamma and wrap_mode is not STP_CURVE_WRAP_NONE\n");
1639 stp_mxmlElementSetAttr(curvenode, "gamma", cgamma);
1650 if (gammaval != 0) /* A gamma curve does not require sequence data */