Lines Matching defs:gamma
67 * - the gamma value for the image.
72 * possible, that is, if the display, colormap, palette and gamma
80 double gamma; /* Gamma exponent value for images. */
86 * For a particular (display, colormap, palette, gamma) combination,
151 double gamma; /* Display gamma value to correct for. */
193 double gamma; /* Gamma value for these instances. */
311 {TK_CONFIG_DOUBLE, "-gamma", (char *) NULL, (char *) NULL,
312 DEF_PHOTO_GAMMA, Tk_Offset(PhotoMaster, gamma), 0},
331 * Hash table used to hash from (display, colormap, palette, gamma)
1301 oldGamma = masterPtr->gamma;
1395 * Enforce a reasonable value for gamma.
1398 if (masterPtr->gamma <= 0) {
1399 masterPtr->gamma = 1.0;
1402 if ((masterPtr->gamma != oldGamma)
1464 * a valid palette for our windows. Use the gamma value specified
1474 instancePtr->gamma = masterPtr->gamma;
1478 * have no longer applies (e.g. because our palette or gamma
1486 || (instancePtr->gamma != colorTablePtr->id.gamma)) {
2388 * display, colormap, palette and gamma values, so that the
2421 id.gamma = instancePtr->gamma;
2561 igam = 1.0 / colorPtr->id.gamma;
2761 if (colorPtr->id.gamma != 1.0 ) {
2762 fr = pow(fr, colorPtr->id.gamma);
2787 if (colorPtr->id.gamma != 1.0) {
2788 fr = pow(fr, colorPtr->id.gamma);
2789 fg = pow(fg, colorPtr->id.gamma);
2790 fb = pow(fb, colorPtr->id.gamma);
2892 || (colorPtr->id.gamma != id->gamma))) {
2922 || (colorPtr->id.gamma != id->gamma))) {