Lines Matching defs:shading
2350 unsigned int **buffer_pointers, SANE_Bool shading)
2363 if (shading != SANE_TRUE)
2941 s->opt[OPT_CALIBRATE_SHADING].name = "calibration-shading";
2943 SANE_I18N ("Only perform shading-correction");
2945 SANE_I18N ("If enabled, only the shading correction is "
3042 -White shading correction
3045 shading buffer. The normal exposure values are used.
3046 -Black shading correction
3047 Works like the white shading correction, with the difference, that the red-, green-
3050 we can use the shading data for every scan, independent of the size, position or resolution,
3051 because we have the shading values for every sensor/LED.
3099 /* we abuse the shading buffer for the offset calculation */
3179 /* we abuse the shading buffer for the exposure calculation */
3299 *get the black shading values *
3326 *get the white shading values *
3588 /*try to load black shading file */
3594 XDBG ((1, "Try to read black shading file: \"%s\"\n", filename));
3605 XDBG ((1, "Could not load black shading file\n"));
3610 /*try to load white shading file */
3616 XDBG ((1, "Try to read white shading file: \"%s\"\n", filename));
3625 XDBG ((1, "Could not load white shading file\n"));
3706 /*try to save black shading file */
3712 XDBG ((1, "Try to save black shading file: \"%s\"\n", filename));
3724 XDBG ((1, "Wrote %li bytes to black shading buffer \n", (u_long) cnt));
3728 XDBG ((1, "Could not write black shading buffer\n"));
3733 /*try to save white shading file */
3739 XDBG ((1, "Try to save white shading file: \"%s\"\n", filename));
3750 XDBG ((1, "Could not write white shading buffer\n"));