summaryrefslogtreecommitdiff
path: root/backend/kodakaio.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:33:06 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:33:06 +0200
commit24feb9f37f302c006ba51502da817325200e74d0 (patch)
treed4451782449e5fcbae9cbe3778c51a8c6cb3c36d /backend/kodakaio.h
parent76b69ebb381d40458339c9940135740797cbd2d4 (diff)
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
Merge tag 'upstream/1.0.25'
Upstream version 1.0.25
Diffstat (limited to 'backend/kodakaio.h')
-rw-r--r--backend/kodakaio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/kodakaio.h b/backend/kodakaio.h
index f2265f5..6804e3b 100644
--- a/backend/kodakaio.h
+++ b/backend/kodakaio.h
@@ -97,8 +97,10 @@ enum {
OPT_NUM_OPTS = 0,
OPT_MODE_GROUP,
OPT_MODE,
+ OPT_THRESHOLD,
OPT_BIT_DEPTH,
OPT_RESOLUTION,
+ OPT_TRIALOPT, /* for debuggging */
OPT_PREVIEW,
OPT_SOURCE,
OPT_ADF_MODE,
@@ -163,6 +165,7 @@ struct KodakAio_Scanner
SANE_Int left, top; /* in optres units? */
SANE_Int width, height; /* in optres units? */
+ /* SANE_Int threshold; 0..255 for lineart*/
/* image block data */
SANE_Int data_len;
@@ -192,7 +195,7 @@ struct mode_param
};
enum {
- MODE_GRAY, MODE_COLOR
+ MODE_COLOR, MODE_GRAY, MODE_LINEART
};
#endif