Lines Matching defs:gamma
1088 if (!strcmp(argv[i], "-gamma") || !strcmp(argv[i], "-rgamma") ||
1090 double gamma;
1093 if (sscanf(argv[++i], "%lf", &gamma) == 1) {
1094 if (gamma < GAMMA_MIN || gamma > GAMMA_MAX) {
1095 ErrorF("gamma out of range, only %.2f <= gamma_value <= %.1f"
1099 if (!strcmp(argv[i - 1], "-gamma"))
1100 xf86Gamma.red = xf86Gamma.green = xf86Gamma.blue = gamma;
1102 xf86Gamma.red = gamma;
1104 xf86Gamma.green = gamma;
1106 xf86Gamma.blue = gamma;
1227 ("-gamma f set gamma value (0.1 < f < 10.0) Default: 1.0\n");
1228 ErrorF("-rgamma f set gamma value for red phase\n");
1229 ErrorF("-ggamma f set gamma value for green phase\n");
1230 ErrorF("-bgamma f set gamma value for blue phase\n");