From 351b7328520c16730ceb46e5acae16038c42185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Feb 2021 18:24:19 +0100 Subject: New upstream version 1.0.32 --- backend/artec_eplus48u.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'backend/artec_eplus48u.c') diff --git a/backend/artec_eplus48u.c b/backend/artec_eplus48u.c index c5eb225..4c15673 100644 --- a/backend/artec_eplus48u.c +++ b/backend/artec_eplus48u.c @@ -42,9 +42,7 @@ Updates (C) 2001 by Henning Meier-Geinitz. General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + along with this program. If not, see . As a special exception, the authors of SANE give permission for additional uses of the libraries contained in this release of SANE. @@ -510,7 +508,7 @@ copy_scan_line (Artec48U_Scanner * s) { /*For resolution of 1200 dpi we have to interpolate horizontally, because the optical horizontal resolution is - limited to 600 dpi. We simply use the avarage value of two pixels. */ + limited to 600 dpi. We simply use the average value of two pixels. */ int cnt, i, j; int xs = s->params.pixel_xs; int interpolate = 0; @@ -787,7 +785,7 @@ attach (const char *dev_name, Artec48U_Device ** devp) vendor_string[40] = 0; model_string[40] = 0; - /* assign all the stuff we need fo this device... */ + /* assign all the stuff we need for this device... */ dev->sane.vendor = strdup (vendor_string); XDBG ((3, "attach: setting vendor string: %s\n", vendor_string)); dev->sane.model = strdup (model_string); @@ -874,7 +872,7 @@ decodeVal (char *src, char *opt, int what, void *result, void *def) if (tmp) { - /* on success, compare wiht the given one */ + /* on success, compare with the given one */ if (0 == strcmp (tmp, opt)) { XDBG ((1, "Decoding option >%s<\n", opt)); @@ -952,7 +950,7 @@ decodeVal (char *src, char *opt, int what, void *result, void *def) } /** - * function to retrive the device name of a given string + * function to retrieve the device name of a given string * @param src - string that keeps the option name to check src for * @param dest - pointer to the string, that should receive the detected * devicename @@ -3058,7 +3056,7 @@ calculate_contrast (Artec48U_Scanner * s) Works like the white shading correction, with the difference, that the red-, green- and blue exposure time is set to 0x04 (the value is taken from the windoze driver). -Since we do this over the whole width of the image with the maximal optical resolution, - we can use the shading data for every scan, independend of the size, position or resolution, + we can use the shading data for every scan, independent of the size, position or resolution, because we have the shading values for every sensor/LED. Note: -- cgit v1.2.3