- fixed color calibration for 1220P, whit is really white, no more

greenish tint
	- mail address update
merge-requests/1/head
Stéphane Voltz 2006-09-18 04:59:52 +00:00
rodzic 276cf032ee
commit 63fa40d277
4 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2006-09-18 Stephane Voltz <stef.dev@free.fr>
* backend/umax_pp.c backend/umax_pp_mid.c backend/umax_pp.c_low:
color calibration fix. Mail address update.
2006-09-14 Henning Meier-Geinitz <henning@meier-geinitz.de> 2006-09-14 Henning Meier-Geinitz <henning@meier-geinitz.de>
* doc/descriptions/unsupported.desc * doc/descriptions/unsupported.desc

Wyświetl plik

@ -1,5 +1,5 @@
/* sane - Scanner Access Now Easy. /* sane - Scanner Access Now Easy.
Copyright (C) 2001 Stéphane Voltz <svoltz@wanadoo.fr> Copyright (C) 2001-2006 Stéphane Voltz <stef.dev@free.fr>
This file is part of the SANE package. This file is part of the SANE package.
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
@ -106,8 +106,8 @@
* see Changelog * see Changelog
*/ */
#define UMAX_PP_BUILD 604 #define UMAX_PP_BUILD 610
#define UMAX_PP_STATE "dev" #define UMAX_PP_STATE "stable"
static int num_devices = 0; static int num_devices = 0;
static Umax_PP_Descriptor *devlist = NULL; static Umax_PP_Descriptor *devlist = NULL;

Wyświetl plik

@ -1,5 +1,5 @@
/** /**
Copyright (C) 2001 Stéphane Voltz <svoltz@wanadoo.fr> Copyright (C) 2001-2006 Stéphane Voltz <stef.dev@free.fr>
This file is part of the SANE package. This file is part of the SANE package.
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
@ -9942,7 +9942,7 @@ evalGain (int sum, int count)
pct = gn; pct = gn;
avg = exp((-pct)/area)*coeff+cnst; avg = exp((-pct)/area)*coeff+cnst;
gn = gn * avg; gn = gn * avg;
/* bound checking : there are sightings of >127 values being negative */ /* bound checking : there are sightings of >127 values being negative */
if (gn < 0) if (gn < 0)
gn = 0; gn = 0;
@ -12777,7 +12777,7 @@ coarseGainCalibration1220p (int color, int dcRed, int dcGreen,
for (i = xstart; i < xend; i++) for (i = xstart; i < xend; i++)
sum += buffer[i]; sum += buffer[i];
sum = sum / (xend - xstart); sum = sum / (xend - xstart);
while ((opsc04[6] < 0x07) && (sum < 120)) while ((opsc04[6] < 0x07) && (sum < 110))
{ {
CMDSYNC (0x00); CMDSYNC (0x00);
opsc04[6]++; opsc04[6]++;

Wyświetl plik

@ -1,5 +1,5 @@
/* sane - Scanner Access Now Easy. /* sane - Scanner Access Now Easy.
Copyright (C) 2001 Stéphane Voltz <svoltz@wanadoo.fr> Copyright (C) 2001-2006 Stéphane Voltz <stef.dev@free.fr>
This file is part of the SANE package. This file is part of the SANE package.
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or