Lines Matching defs:gamma
1621 /* disable the usage of a custom gamma-table */
2074 return "Download gamma table";
5832 /* prepare for emulating contrast, brightness ... via the gamma-table */
5847 scmd.datatypecode = AVISION_DATATYPECODE_DOWNLOAD_GAMMA_TABLE; /* 0x81 for download gamma table */
5927 /* fill the gamma table - (e.g.) if 11bit (old protocol) table */
5937 DBG (4, "send_gamma: sending %lu bytes gamma table.\n",
5943 DBG (1, "send_gamma: gamma table upload failed: %s\n",
6403 via the gamma table - which works for all devices ... */
7203 /* gray scale gamma vector */
7215 /* red gamma vector */
7227 /* green gamma vector */
7239 /* blue gamma vector */
8367 if (strcmp (word, "disable-gamma-table") == 0) {
8368 DBG (3, "sane_reload_devices: config file line %d: disable-gamma-table\n",
8604 /* We initialize the table to a gamma value of 2.22, since this is what
8612 Some real-world testing showed that a gamma of 1.0 is needed
8617 double gamma = 2.22;
8619 gamma = 1.0;
8620 const double one_over_gamma = 1. / gamma;
9001 /* the gamma table related */
9250 /* check whether gamma-table is disabled by the user? */
9252 DBG (1, "sane_start: gamma-table disabled in config - skipped!\n");
9257 DBG (1, "sane_start: gamma table skipped due to device-list!!\n");
9267 DBG (1, "sane_start: send gamma failed: %s\n",