summaryrefslogtreecommitdiff
path: root/backend/kodakaio.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:32:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-10-08 12:32:49 +0200
commitcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (patch)
tree56cb8849a5df91b19b72fd4f48c79c343cd9bc5e /backend/kodakaio.h
parentba8d09abe681600aad991f4a75e904615b7ed29f (diff)
Imported Upstream version 1.0.25upstream/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