m. allan noah
e6a249e042
revert mustek_usb2 backend upgrade
...
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30
through db7f038f1
,
plus the parts of 497d59180
which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Jan Hauffa
30e3907156
Allow for model-specific parameters in mustek_usb2_high.c.
2015-11-08 16:54:48 -05:00
Jan Hauffa
5d556cd5e6
Introduce structure for specifying model-specific parameters on the ASIC level.
2015-11-08 16:54:48 -05:00
Jan Hauffa
7fda9bbf93
Introduce support for multiple scanners.
...
Keep all state local and ensure that all resources are freed by sane_exit. Ensure that each function returns only those error codes that are valid according to the SANE standard.
2015-11-08 16:54:47 -05:00
Jan Hauffa
63793907e2
Minor fixes to image processing.
2015-11-08 16:54:47 -05:00
Jan Hauffa
bc203e8aa1
Sanitize option handling and add support for scanner buttons.
2015-11-08 16:54:47 -05:00
Jan Hauffa
3f5592ef8e
Move global state variables of mustek_usb2_high.c into scanner structure.
2015-11-08 16:54:47 -05:00
Jan Hauffa
c1dc16d709
Extensive changes to reduce the amount of global variables in mustek_usb2_high.c.
...
Might have made MustScanner_SetupScan less readable, though.
2015-11-08 16:54:46 -05:00
Jan Hauffa
86f399bd21
Code in mustek_usb2.c should not use global state of mustek_usb2_high.c.
2015-11-08 16:54:45 -05:00
Jan Hauffa
4962b35abd
Use prefix 'p' instead of 'lp', fix other style issues.
2015-11-08 16:54:45 -05:00
Jan Hauffa
9226162537
Normalize naming of constants, structures, and enums.
2015-11-08 16:54:45 -05:00
Jan Hauffa
41ac627e5f
Get rid of unnecessary forward declarations.
2015-11-08 16:54:45 -05:00
Jan Hauffa
da64a1fc1e
First hack to build mustek_usb2* source files separately.
2015-11-08 16:54:45 -05:00
Jan Hauffa
ccce2d4a9a
Further cleanup of mustek_usb2.c.
2015-11-08 16:54:44 -05:00
Jan Hauffa
d9c1df0bb8
Remove vestigial support for custom gamma tables.
2015-11-08 16:54:44 -05:00
Jan Hauffa
693da258ce
Move some definitions from mustek_usb2_asic.h to more appropriate headers.
2015-11-08 16:54:43 -05:00
Jan Hauffa
2be2be76ae
Unified style of struct and enum definitions.
2015-11-08 16:54:41 -05:00
Jan Hauffa
bc9252c094
Remove bogus automatic warmup and power saving functions.
2015-11-08 16:54:40 -05:00
Jan Hauffa
694a69dcab
Remove unused definitions from mustek_usb2.h.
2015-11-08 16:54:40 -05:00
Alessandro Zummo
b39c12dd7b
Define MM_PER_INCH once for all
2009-06-18 15:54:49 +02:00
Henning Geinitz
6714d97cee
Removed typedefs for DWORD, WORD and so on. Used int, unsigned short,
...
... directly in the code.
2005-10-16 16:37:13 +00:00
Henning Geinitz
8561c6a6bd
Added mustek_usb backend which supports the Mustek BearPaw 2448 TA Pro. Changes
...
of the code before inclusion to CVS can be found in
doc/mustek_usb2/mustek_usb2.CHANGES.
2005-10-03 13:27:03 +00:00