Wykres commitów

61 Commity (2c38397142ca041e36a56e03c33a38dc15b8d85c)

Autor SHA1 Wiadomość Data
Stéphane Voltz 2c38397142 fix shading hp2300 shading calibration at dpi <= 300 2009-08-05 07:51:11 +02:00
Stéphane Voltz fc11d2ebea don't use color filter for gl646 cis scanners since we're using true gray 2009-08-04 07:44:43 +02:00
Stéphane Voltz 8f5069219f removed obsoleted comment 2009-07-10 07:30:56 +02:00
Stéphane Voltz 7b982e87db fix for MD5345 shading calibration at half ccd resolution 2009-07-10 07:22:06 +02:00
Stéphane Voltz 12594427d9 add a 10 minutes expiration time for GL646 CCD scanners' calibration cache 2009-07-10 07:22:06 +02:00
Stéphane Voltz af0477bfce DBG proc level trace for sanei_genesys_init_fe 2009-07-10 07:22:06 +02:00
Stéphane Voltz 0d82a5fba2 hp2300 shading calibration fix
- change 300 dpi mode to be in 'half ccd' mode
- fix sensor pixel number
- allow for negative offset in shading data building
- rewrite compute_coefficients to handle negative offset and specialised
  it for pixel deletion case
- fix calibration handling of flatbed scanners
2009-07-10 07:22:06 +02:00
Stéphane Voltz 247b585de7 first working version of sheetfed scanners shading calibration
- added a function to build planar shading data
- improved sheetfed_calibration function
2009-07-10 07:22:05 +02:00
Stéphane Voltz d522b2c2f7 shading calibration data size handling cleanup 2009-07-10 07:22:05 +02:00
Stéphane Voltz 60ab4d8569 add shading coefficient computing function for GL646/planar mode 2009-07-10 07:22:05 +02:00
Stéphane Voltz 48df712552 a note about the work left to get XP200 shading work 2009-07-10 07:22:05 +02:00
Stéphane Voltz 2d0710ed07 don't use addr for GL841 cis scanners when sending coefficient data 2009-07-10 07:22:05 +02:00
Stéphane Voltz 3135e94c90 work toward shading calibration
- black/white strip searching reliable
- call to dar and white shading calibration
2009-07-10 07:22:05 +02:00
Stéphane Voltz 7c44981be0 first step in adding sheetfed scanners calibration
- added search_strip function to command set
- coded search_strip for gl646
- initial calibration process for sheetfed scanners upto strip finding
- create a scanner calibration function that switches between
  	flatbed or sheetfed calibration
- added a sheetfed calibration function
- removed gamma table setting from calibration process
- call gamma setting during sane_start but before scanner calibration
2009-07-10 07:22:05 +02:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Stéphane Voltz 8d67bccbdc - HP2300 shading calibration fixes 2009-04-27 13:53:33 +00:00
Stéphane Voltz f7b28fccd2 - y scan position fixes for MD6471
- shading calibration tuning for MD6471
2009-04-25 06:12:16 +00:00
Pierre Willenbrock 0f82af6930 Fix reading/writing calib_channels to/from cache file, bad calib_pixels calculation.
This fixes bugs introduced by my previous commit.
2009-04-17 14:02:13 +00:00
Pierre Willenbrock ad1f7de9e0 Always do shading calibration in color mode on gl841.
This removes the need to calibrate for both greyscale and color mode.
2009-04-17 13:03:35 +00:00
Stéphane Voltz 4f526dbb24 - y scan position fixes for gl646 scanners
- added a 'clear calibration cache button'
2009-04-16 18:39:23 +00:00
Stéphane Voltz d32f758ce3 - calibration cache activation for gl646 scanners 2009-04-15 19:24:10 +00:00
Stéphane Voltz a7a759b896 - shading calibration rework for gl646 based scanners 2009-04-14 05:15:29 +00:00
Pierre Willenbrock ce2fdfbfbe Add calibration cache
The calibration data is stored in the directory $HOME/.sane
2009-03-25 12:57:24 +00:00
Pierre Willenbrock 9d7fb593a1 Calculate shading coefficients using maximum input resolution available
This still needs to honor half_ccd settings
2009-03-21 14:30:30 +00:00
Pierre Willenbrock f261d52e11 Remove park_head
It is redirected to slow_back_home in all cases
2009-03-21 14:28:57 +00:00
Pierre Willenbrock 8994e0cb07 Fix calculation of pixel number used in calibration 2009-03-21 14:27:06 +00:00
Pierre Willenbrock d2fb13c37d Enable Motor again for combined dark/bright calibration 2009-03-21 14:25:39 +00:00
Stéphane Voltz 185486e432 - cleanups for gl646 scanners
- change in document detection for gl646 sheetfed scanners
	- lexmark desc file update
2009-03-12 05:29:53 +00:00
Stéphane Voltz b635ba26b1 - head positionning fixes
- 1200 dpi scan fix for HP2300
2009-03-09 05:52:31 +00:00
Stéphane Voltz ea76aef8a2 - rewrite of gl646 internals to enable easy addition of new models
- rewrite of calibration process to make it more robust and accurate
	- untested full support for hp3670
	- untested support for 50, 100 and 300 uncalibrated scans for hp2400
	- use of id for device parts descriptions instead of using fixed
	  place in tables
 	- SCAN_MODE_* defines to clean up code
2009-02-27 12:37:16 +00:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Pierre Willenbrock 3251c06fb4 Move sanei_genesys_{start,stop}_motor into chip specific sources 2009-02-23 14:16:56 +00:00
Stéphane Voltz 81953325e8 - add support for uncalibrated scan for Visioneer Strobe XP200
- button support for MD5345, HP2300 and XP200
2009-01-19 05:46:43 +00:00
Pierre Willenbrock ba164358db Add support for buttons on Canon LiDE 35/40/50. 2009-01-16 15:31:10 +00:00
Stéphane Voltz 2fda04000a - restored warming-up broken by a previous commit 2008-12-31 07:11:20 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Stéphane Voltz 9f60fdf955 - move to configuration framework
- fix GPO value confusion
	- don't reset ASIC anymore
	- some HP2400/G2410 tidbits
2008-08-29 05:13:15 +00:00
Stéphane Voltz c97e99a430 - changed top of scan area detection for MD6228/MD6471 models 2008-05-23 08:55:22 +00:00
Stéphane Voltz 79fbd0c2f1 - added OPT_CUSTOM_GAMMA and OPT_GAMMA_VECTOR* options for GL646
- fixed allocation bugs detected by valgrind
	- fixed bugs detected by 'tstbackend -r 1 -l 1'
	- allow 'genesys' as default value for backend opening
	- made OPT_COLOR_FILTER effectively work for GL646 scanners
	- split sane_control_options() to make it more readable
2008-04-05 09:21:56 +00:00
Pierre Willenbrock f183b6fe00 * backend/genesys.c, backend/genesys_gl646.c,
backend/genesys_gl841.c, backend/genesys_low.h: Add LED exposure
control to gl841_set_lamp_power
2008-02-21 15:49:18 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00
Pierre Willenbrock 8d2069c0dd * backend/genesys.c, backend/genesys_devices.c, backend/genesys_low.h,
backend/genesys_gl646.c, backend/genesys_gl841.c: add infrastructure for
  multiple motor power modes
2007-11-22 14:05:13 +00:00
Pierre Willenbrock bb2263e81b * backend/genesys.c, backend/genesys_gl646.c,
backend/genesys_gl841.c, backend/genesys_low.h: change
  bulk_write_register to take number of registers instead of
  byte size of register set
2007-11-11 21:50:00 +00:00
Pierre Willenbrock 6d4a3ac828 * backend/genesys.c: Removed some more hardcoded sizeof(Genesys_Register_Set) 2007-10-25 13:41:21 +00:00
Pierre Willenbrock e403a87c10 * backend/genesys_gl841.c: One more instance of
sizeof(Genesys_Register_Set) vs 2
* backend/genesys.c: Add check for small register set in
  sanei_genesys_get_address
2007-10-25 12:44:33 +00:00
Stéphane Voltz c0ee8a2143 - mail address update
- minor man update
2007-08-27 04:58:53 +00:00
Stéphane Voltz 825ff7335e * genesys/gl646: HP2400 warmup fix by Luke <iceyfor@gmail.com> 2007-08-26 09:49:18 +00:00
Pierre Willenbrock dba2f29195 * backend/genesys_devices.c: fixed gamma settings(1.0 now)
* backend/genesys.c backend/genesys_gl841.c: improved calibration for dark
  shades
2006-12-02 21:57:08 +00:00
Stéphane Voltz 7ec4d9b567 - improved sanei_genesys_search_reference_point to fix origin detection
for HP2300 and a left margin detection bug with MD6345
	- some HP2400 support tidbits
2006-08-09 13:22:36 +00:00
Stéphane Voltz 850ad80287 - fixed HP2300 detection of scanarea
- fixed one more issue related to bug #303681
2006-08-06 07:02:22 +00:00