kopia lustrzana https://gitlab.com/sane-project/backends
Removed unused gain and offset options.
rodzic
94ed2a1ccb
commit
a3a8808bf9
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-31 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||||
|
|
||||||
|
* backend/gt68xx.c backend/gt68xx_high.h doc/descriptions/gt68xx.desc
|
||||||
|
doc/gt68xx/gt68xx.CHANGES: Removed unused gain and offset options.
|
||||||
|
|
||||||
2004-10-31 Gerhard Jaeger <gerhard@gjaeger.de>
|
2004-10-31 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||||
|
|
||||||
* backend/plustek.c: Additional debug output.
|
* backend/plustek.c: Additional debug output.
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
#include "../include/sane/config.h"
|
#include "../include/sane/config.h"
|
||||||
|
|
||||||
#define BUILD 65
|
#define BUILD 66
|
||||||
#define MAX_DEBUG
|
#define MAX_DEBUG
|
||||||
#define WARMUP_TIME 60
|
#define WARMUP_TIME 60
|
||||||
#define CALIBRATION_HEIGHT 2.5
|
#define CALIBRATION_HEIGHT 2.5
|
||||||
|
@ -678,32 +678,6 @@ init_options (GT68xx_Scanner * s)
|
||||||
s->val[OPT_THRESHOLD].w = 128;
|
s->val[OPT_THRESHOLD].w = 128;
|
||||||
DISABLE (OPT_THRESHOLD);
|
DISABLE (OPT_THRESHOLD);
|
||||||
|
|
||||||
/* gain correction */
|
|
||||||
s->opt[OPT_GAIN].name = "gain";
|
|
||||||
s->opt[OPT_GAIN].title =
|
|
||||||
SANE_I18N ("Gain correction");
|
|
||||||
s->opt[OPT_GAIN].desc =
|
|
||||||
SANE_I18N ("This value is added to the internal gain value. "
|
|
||||||
"Use for extremely light or dark images.");
|
|
||||||
s->opt[OPT_GAIN].type = SANE_TYPE_INT;
|
|
||||||
s->opt[OPT_GAIN].unit = SANE_UNIT_NONE;
|
|
||||||
s->opt[OPT_GAIN].constraint_type = SANE_CONSTRAINT_RANGE;
|
|
||||||
s->opt[OPT_GAIN].constraint.range = &offset_range;
|
|
||||||
s->val[OPT_GAIN].w = 0;
|
|
||||||
|
|
||||||
/* offset correction */
|
|
||||||
s->opt[OPT_OFFSET].name = "offset";
|
|
||||||
s->opt[OPT_OFFSET].title =
|
|
||||||
SANE_I18N ("Offset correction");
|
|
||||||
s->opt[OPT_OFFSET].desc =
|
|
||||||
SANE_I18N ("This value is added to the internal offset value. "
|
|
||||||
"Use for extremely light or dark images.");
|
|
||||||
s->opt[OPT_OFFSET].type = SANE_TYPE_INT;
|
|
||||||
s->opt[OPT_OFFSET].unit = SANE_UNIT_NONE;
|
|
||||||
s->opt[OPT_OFFSET].constraint_type = SANE_CONSTRAINT_RANGE;
|
|
||||||
s->opt[OPT_OFFSET].constraint.range = &offset_range;
|
|
||||||
s->val[OPT_OFFSET].w = 0;
|
|
||||||
|
|
||||||
/* "Geometry" group: */
|
/* "Geometry" group: */
|
||||||
s->opt[OPT_GEOMETRY_GROUP].title = SANE_I18N ("Geometry");
|
s->opt[OPT_GEOMETRY_GROUP].title = SANE_I18N ("Geometry");
|
||||||
s->opt[OPT_GEOMETRY_GROUP].desc = "";
|
s->opt[OPT_GEOMETRY_GROUP].desc = "";
|
||||||
|
@ -1502,8 +1476,6 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
|
||||||
case OPT_FULL_SCAN:
|
case OPT_FULL_SCAN:
|
||||||
case OPT_COARSE_CAL:
|
case OPT_COARSE_CAL:
|
||||||
case OPT_COARSE_CAL_ONCE:
|
case OPT_COARSE_CAL_ONCE:
|
||||||
case OPT_OFFSET:
|
|
||||||
case OPT_GAIN:
|
|
||||||
case OPT_QUALITY_CAL:
|
case OPT_QUALITY_CAL:
|
||||||
case OPT_FAST_PREVIEW:
|
case OPT_FAST_PREVIEW:
|
||||||
case OPT_BACKTRACK:
|
case OPT_BACKTRACK:
|
||||||
|
@ -1566,8 +1538,6 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
|
||||||
case OPT_AUTO_WARMUP:
|
case OPT_AUTO_WARMUP:
|
||||||
case OPT_COARSE_CAL_ONCE:
|
case OPT_COARSE_CAL_ONCE:
|
||||||
case OPT_BACKTRACK_LINES:
|
case OPT_BACKTRACK_LINES:
|
||||||
case OPT_OFFSET:
|
|
||||||
case OPT_GAIN:
|
|
||||||
case OPT_QUALITY_CAL:
|
case OPT_QUALITY_CAL:
|
||||||
case OPT_GAMMA_VALUE:
|
case OPT_GAMMA_VALUE:
|
||||||
case OPT_THRESHOLD:
|
case OPT_THRESHOLD:
|
||||||
|
|
|
@ -207,8 +207,6 @@ enum GT68xx_Option
|
||||||
OPT_ENHANCEMENT_GROUP,
|
OPT_ENHANCEMENT_GROUP,
|
||||||
OPT_GAMMA_VALUE,
|
OPT_GAMMA_VALUE,
|
||||||
OPT_THRESHOLD,
|
OPT_THRESHOLD,
|
||||||
OPT_GAIN,
|
|
||||||
OPT_OFFSET,
|
|
||||||
|
|
||||||
OPT_GEOMETRY_GROUP,
|
OPT_GEOMETRY_GROUP,
|
||||||
OPT_TL_X, /* top-left x */
|
OPT_TL_X, /* top-left x */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
:backend "gt68xx"
|
:backend "gt68xx"
|
||||||
:version "1.0-65"
|
:version "1.0-66"
|
||||||
:manpage "sane-gt68xx"
|
:manpage "sane-gt68xx"
|
||||||
:url "http://www.meier-geinitz.de/sane/gt68xx-backend/"
|
:url "http://www.meier-geinitz.de/sane/gt68xx-backend/"
|
||||||
:comment "Only the USB scanners mentioned below are supported. For other Mustek BearPaws, look at the Plustek and the MA-1509 backend."
|
:comment "Only the USB scanners mentioned below are supported. For other Mustek BearPaws, look at the Plustek and the MA-1509 backend."
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
gt68xx.CHANGES -*-text-*-
|
gt68xx.CHANGES -*-text-*-
|
||||||
|
|
||||||
|
V 1.0.66 (2004-10-31)
|
||||||
|
|
||||||
|
* Removed unused gain and offset options.
|
||||||
|
|
||||||
V 1.0.65 (2004-10-11)
|
V 1.0.65 (2004-10-11)
|
||||||
|
|
||||||
* Used new lamp option from saneopts.h.
|
* Used new lamp option from saneopts.h.
|
||||||
|
|
Ładowanie…
Reference in New Issue