Wykres commitów

284 Commity (39545b1b90dd9c9e12c20f02cf4ead3afac20de9)

Autor SHA1 Wiadomość Data
Stéphane Voltz e827077bf3 binary logging change
- removed old raw data logging
- added new binary data logging (gl847 only for now)
2011-06-28 22:13:41 +02:00
Stéphane Voltz 15e256f8b0 lineart fix 2011-06-15 07:14:08 +02:00
Stéphane Voltz c31eb26d1e LiDE 200 almost OK
- 1200 dpi scans hang after calibration
- 4800 dpi shding data is incorrect
- move to scan area needs tuning
2011-06-07 21:26:20 +02:00
Stéphane Voltz ae6349b2ba shading calibration start to work again at <= 600 dpi 2011-06-07 21:26:20 +02:00
Stéphane Voltz a7652acdcc working 4800 dpi scans 2011-06-07 21:26:20 +02:00
Stéphane Voltz d7551176ce 4800 dpi WIP
- 8 segments scan handling for 8 and 16 bits
- scan buffer size computing fix
- enable 4800 dpi for LiDE 200
- tune minimal slope size to step factor
2011-06-07 21:26:19 +02:00
Stéphane Voltz 49b9fa7c4b fast move to scan area at 1200 dpi 2011-06-07 21:26:19 +02:00
Stéphane Voltz 7f30df8b6f 1200 DPI working again 2011-06-07 21:26:18 +02:00
Stéphane Voltz 1265e26d61 gl847 rewrite progress
- sensor setup function updated
2011-06-07 21:26:17 +02:00
Stéphane Voltz 2a6872c385 rework gl847 to set up exposure and coordinates like multi-segmented
gl124
2011-06-07 21:26:17 +02:00
Stéphane Voltz c67786154f Add software page de-rotate and white page skip 2011-06-07 06:38:04 +02:00
Stéphane Voltz b1da70e585 minor changes for genesys backend
- improve calibration file handling
- big endian fixes rewrite
2011-03-18 07:04:35 +01:00
Stéphane Voltz 66716a5666 disbale software crop/deskew and despeckle at 16 bit depth 2011-02-04 06:17:27 +01:00
Stéphane Voltz e375cef3b0 genesys asynchronous parking hadling fixes 2011-02-02 10:47:21 +01:00
Stéphane Voltz 99ede36f75 more asynchronous parking issues fixed 2011-02-02 09:30:13 +01:00
Stéphane Voltz 58d5d64e00 fix unused variables 2011-01-31 21:47:32 +01:00
Stéphane Voltz 66549b2b7d minor cleanups and changelog entry 2011-01-31 21:47:32 +01:00
Stéphane Voltz 5ea5757579 don't return EOF if some data was available 2011-01-31 21:46:22 +01:00
Stéphane Voltz d0ea6b8647 fix asynchronous parking issues 2011-01-31 21:46:22 +01:00
Stéphane Voltz 1f82a765d4 add a wait for head to park function for genesys based scanners 2011-01-12 20:51:32 +01:00
Stéphane Voltz 4da932ad57 2400 dpi for LiDE 110/210 2011-01-11 06:26:41 +01:00
Stéphane Voltz 6e77181966 genesys fixes
- wait for head ot park before leaving in sane_close()
- fix lineart bug when yres is hegher than xres and dynamic lineart is
  enabled
2011-01-09 17:18:42 +01:00
Stéphane Voltz 3e5ecd012a genesys fixes
- fix shading calibration for non gl847/gl124 scanners
- enable 16 bit gamma for gl847
- add MUST_WAIT flags to gl847 scanners so solve parking isues
2011-01-07 06:08:15 +01:00
Stéphane Voltz 8fb58d5118 fix lineart issue at 1200 dpi and clean up block read for gl124 2011-01-04 21:37:41 +01:00
Stéphane Voltz de2af06d35 make lineart work when number of segments is higher than 1 2011-01-03 21:35:44 +01:00
Stéphane Voltz dd2a64e9a4 lide 110/210 scanarea fine tuning 2010-12-29 07:17:14 +01:00
Stéphane Voltz a30e72a68c descriptions and man page updates for OpticBokk 3600 2010-12-27 07:08:44 +01:00
Stéphane Voltz b8bf7c3840 copyright updates 2010-12-27 07:01:01 +01:00
Stéphane Voltz 86c8214e93 add support for Plustek Opticbook 3600 by Chris Berry & Michael Rickmann 2010-12-27 07:01:01 +01:00
Stéphane Voltz 02ce13c350 up build number 2010-12-27 06:50:51 +01:00
Stéphane Voltz f8e1b82561 add a message to print the kind of libusb used 2010-12-24 08:28:16 +01:00
Stéphane Voltz 37a69dad2d gl847 fixes
- improved send shading data calls
- fixed shading area line number for gl847 scanners
2010-12-24 08:28:16 +01:00
Stéphane Voltz 98c5d9454f LiDE 210 tuning
- dynamic lineart not enabled by default
2010-12-16 22:10:37 +01:00
Stéphane Voltz ad27fe1e05 cleanups and restriction on lineart modes 2010-12-14 21:55:01 +01:00
Stéphane Voltz 7e996472a6 changelog entry for GL124
- add an entry for genesys backend update
- up genesys build number
2010-12-14 18:29:55 +01:00
Stéphane Voltz 3d89a6f880 add new gl124 asic
create a place holder for low level commands

move low level functions to genesys_low.c

GL124 progresses

enable genesys_low debug and add DAC for LiDE 110

gl124 WIP
- gl847 cleanups
- genesys_low refactor
- gl124 starting version

GL124 WIP
- read scancnt/fedcnt,valid words coded
- memory layout coded

LiDE110 WIP

GL 124 WIP
- definition and use of get/set double/triple
- define register names

all mods done, ready to test

set fe OK

GL124 WIP : ready to test scans

GL124 WIP

GL124 WIP
- fixed analog fe issue: don't put afe regs in global set

GL124 : first light at 300 dpi

GL124 WIP
- 300 and 600 uncalibrated mostly ok (x coordinate rounding)
- 150 and 75 OK x-wise, y to be solved

solved rounding errors for gl124

re-add 400, 200 and 100 dpi modes

GL124 : tous x dpi OK

before adding line cropping

GL124 : line cropping almost finished

GL124 WIP : working line deletion

compute step rework

GL124 WIP : high speed table for dpi <= 300

move to scan area working

line skipping fix

new slope table for 600 dpi base

geometry and movement tuned

GL124 WIP : shading calibration almost working

working 600 dpi shading

GL124 : working shading calibration for all modes but 1200 dpi

working 1200 dpi shading

beta 1 of GL124 support

last tuning

update genesys.desc for LiDE 110

motor slope and start area tuning

shading coefficient computing clean up

add support for GL124 based CanoScan LiDE 110

feed almost OK up to 300 dpi

feeding is fixed

all issues fixed
2010-12-14 18:23:23 +01:00
Stéphane Voltz c6f1fa9ca4 don't log scanned data in genesys backend unless told by debug level 2010-11-17 21:01:28 +01:00
Stéphane Voltz 5aa3d2090d haed parking on sane_exit isn't useful anymore 2010-10-31 23:01:43 +01:00
Stéphane Voltz 413f0df3a1 clear-calibration option read fix 2010-10-31 23:01:43 +01:00
Stéphane Voltz 95e9a75df4 slow back home rework
- use available resolution for motor
- don't park on sane_close
2010-10-31 23:01:43 +01:00
Stéphane Voltz d67dac228b G4050 first light 2010-09-17 21:15:38 +02:00
Stéphane Voltz eba438b9a3 don't wait head to be parked at end of scan to improve scan speed
- issue slow_back_home without wait flag at end of scan
- ensure head is parked at scan start and at close
- issue slow_back_home before doing digital processing
2010-09-17 06:47:21 +02:00
Stéphane Voltz efd59b1535 valgrind memory leaks/overwrite fixes 2010-09-15 21:10:31 +02:00
Stéphane Voltz e2b656bc4c changelog and credits for sw crop and deskiew 2010-09-12 21:51:32 +02:00
Stéphane Voltz 7ff262109e working deskew and crop 2010-09-12 21:24:45 +02:00
Stéphane Voltz e084a04fcf working software cropping 2010-09-09 06:20:44 +02:00
Stéphane Voltz ba5b0f897a add image buffering when digital enhancements are selected 2010-09-07 08:55:36 +02:00
Stéphane Voltz abd0f36868 add options and flag for software enhancements 2010-09-06 21:02:32 +02:00
Stéphane Voltz 58968c0ee1 add 1200 dpi support for KV-SS080
- fix case where motor resolution is higher than sensor resolution
2010-09-04 07:27:16 +02:00
Stéphane Voltz 69b9462d20 KV-SS080 tuning
- fixed shading calibration
- use 2 table move for faster scans
- button support
2010-09-01 22:20:16 +02:00
Stéphane Voltz e72d6c1007 working version for KV-SS080
- offset and gain calibration are tuned
2010-08-31 21:39:21 +02:00
Stéphane Voltz 2dd8d2d765 wip 10 : uncalibrated scans are ok 2010-08-28 08:09:35 +02:00
Stéphane Voltz 4d9852b3fe gl843 wip : uncalibrated scan about to work
- lperiod=sensor pixels
- park needs fixing
/bin/bash: q : commande introuvable
2010-08-08 08:59:55 +02:00
Stéphane Voltz c2db12d9e5 gl843 wip, motor is running 2010-08-02 06:36:27 +02:00
Stéphane Voltz 084efdb37c about to reach first light state
- fe is set
- slope tables are written (but not table 2)
- compile warnings are fixed
2010-08-02 06:36:26 +02:00
Stéphane Voltz 69aec86537 tuned register definition for gl843 2010-08-02 06:36:26 +02:00
Stéphane Voltz 5810169cde first gl843 steps
- clone gl847
- add KV-SS080 entry with provisional values
2010-08-02 06:36:26 +02:00
Julien BLACHE f20bacec71 genesys: kill unused variables 2010-06-23 18:21:35 +02:00
Stéphane Voltz e84e265f14 geometry fine tuning 2010-06-21 07:10:05 +02:00
Stéphane Voltz 9f6fd50dfc gl847 scan quality improvement
- improve scan quality by doubling x resolution internally at low dpi
- tune y offset of scan area
2010-06-20 22:04:51 +02:00
Stéphane Voltz 198eda5cdc Canon LiDE 100/200 support improvments
- add 100, 200 and 400 DPI resolutions
- disable true since it isn't working yet
- man page update
2010-06-18 06:42:44 +02:00
Stéphane Voltz 197b8e602b up build number 2010-06-15 21:09:13 +02:00
Stéphane Voltz ee0c0e8c44 fix calibration file name free 2010-06-10 21:48:38 +02:00
Stéphane Voltz 81ae37a603 LiDE 100 support polishing
- tune motor tables
2010-06-06 21:40:36 +02:00
Stéphane Voltz b2a0344885 last minute fix for hang after feeding to scan position 2010-06-03 22:16:43 +02:00
Stéphane Voltz 3ad7a8cf09 increase genesys build number 2010-06-03 20:58:21 +02:00
Stéphane Voltz 70bd6e6470 fix shading coefficients corruption 2010-06-03 06:56:12 +02:00
Stéphane Voltz 42497554ba make shading calibration work
- shading calibration is working
- scan mode set to deletion
- led calibration tune up
2010-05-31 06:47:57 +02:00
Stéphane Voltz 86bf317607 fix disable lineart description 2010-05-30 07:54:34 +02:00
Stéphane Voltz e4ae5224ed sync point before making shading calibration work 2010-05-30 07:43:59 +02:00
Stéphane Voltz 22fd7ed54c gl847 nearing completion
- used_res given is not hte right one 80 dpi instead of 75
- slope table can't be created so scan hangs if no calibration first
- first scanned byte are black
2010-05-29 07:58:27 +02:00
Stéphane Voltz bc944cbc3a close to final version for gl847
- feed to scan area
- revert data reading for shading calibration
- tuned geometry
2010-05-28 06:48:16 +02:00
Stéphane Voltz aec8271689 shadarea improvements 2010-05-26 21:07:13 +02:00
Stéphane Voltz 6bcc1fb121 handling of x start position is working 2010-05-26 06:23:58 +02:00
Stéphane Voltz d6c2184999 working SHDAREA
- offset in data reading remians to be fixed
- data is read line by line
2010-05-25 22:01:55 +02:00
Stéphane Voltz a78b0edee7 odd/even handling step2
- shading coefficients are too short and truncate picture
- need to compute startx
- SHDAREA should be doable
2010-05-22 14:24:37 +02:00
Stéphane Voltz 304d84d5e1 even/odd pixels handling frist step 2010-05-22 10:22:48 +02:00
Stéphane Voltz adc2060579 gl847 shading calibration refactor 2010-05-20 06:17:51 +02:00
Stéphane Voltz b02acbd283 working calibration (led and shading) 2010-05-19 06:01:43 +02:00
Stéphane Voltz 89de65c6cd work ing full width uncalibrated scans for GL847 2010-05-16 07:37:00 +02:00
Stéphane Voltz 96b29ca201 working full width 1200 dpi scan 2010-05-10 06:16:51 +02:00
Stéphane Voltz e726900b56 park after scan working ! 2010-05-09 09:06:04 +02:00
Stéphane Voltz fdd4fefde6 slow_back_home working
- bulk data read fails on read remainder
2010-04-29 22:01:34 +02:00
Stéphane Voltz 530ebc8d3e about to scan: slow back home to tackle 2010-04-28 07:28:10 +02:00
Stéphane Voltz 3dba8c1d66 WIP setup optical regs ~OK 2010-04-25 21:32:44 +02:00
Stéphane Voltz f91ceaddf4 working transparency support for gl646 based scanners
- add move to transparency adapter function to command set
- no warmup when using transparency adapter
- increase maximum warmup time to match HP3670 requirements
- tune HP3670's transparency adapter geometry
- handle calibration area geometry in gain calibration
- add simple move head function for gl646 based scanners
2010-03-15 06:24:23 +01:00
Stéphane Voltz 7e95fd8365 fixed ta size handling and gl646 calibration 2010-03-09 22:22:43 +01:00
Stéphane Voltz 84ef34005f enforce source geometry based on device description on source change
- dynamically allocate SANE_Range for geometry
- recompute ranges when source change using flatbed or xpa description
2010-03-02 06:38:19 +01:00
Stéphane Voltz bc652842a5 enable warming up and calibration caching for HP3670 2010-03-01 21:42:38 +01:00
Stéphane Voltz 56107960af tune shading offset at 1200 dpi for HP3670 2010-02-26 13:59:42 +01:00
Stéphane Voltz cd310cdcc8 make shading calibration work for HP3670
- enable calibration flag
- tune offset for shading data
- compute resolution to use for shading using cksel
2010-02-26 13:34:08 +01:00
Stéphane Voltz 12c408ba5a fix COLOR_FILTER issues by adding 'None' value at end of list
- restore correct gamma table size for gl841 scanners
- add 'None' value at the and of the possible filter list so we don't
  break existing code
2010-02-23 08:09:42 +01:00
Stéphane Voltz b8a7f1ec2f button support for HP3670
- button support for hp3670
- fix visibility of gl646_public_set_fe
- scanning area fix
2010-02-16 06:44:36 +01:00
Stéphane Voltz a0fd2c5012 HP3670 working uncalibrated at all resolutions 2010-02-12 13:49:26 +01:00
Stéphane Voltz 43512a7a0a hp3670/hp2400 like scanners progress
- managed to get AFE working for HP2400/HP3670
- cleaned up gpio usage
- add custom gamma for GL841 models
- turned default lineart to 'dynamyc'
2010-02-08 06:19:17 +01:00
Stéphane Voltz 166c6219ff HP3670 WIP 2010-02-03 06:23:40 +01:00
Stéphane Voltz 421b1fe240 about to get HP3670 fe working 2010-02-03 06:23:39 +01:00
Stéphane Voltz 586153f5ae make sure TL_X and TL_Y are always lesser than BR_X and BR_Y 2010-01-27 05:45:59 +01:00
Stéphane Voltz 6cb3d76966 minor options cleanup
- enable dynamic lineart only when lineart enabled
- no desc for buttons option group
2010-01-26 21:31:24 +01:00
Stéphane Voltz f42cb07d8d enable dynamic rasterization for lineart scans
- use emulated lineart mode to apply binarize function pulled from
the epjitsu backend (by m. allan noah).
2010-01-26 21:31:23 +01:00
Stéphane Voltz db46aac928 add an option to use software lineart for GL841 based scanners 2010-01-19 21:39:29 +01:00
Stéphane Voltz 260c917e6d fix shading calibration for CCD GL646 scanners
- for CCD scanners, shading calibration is always done in color mode
2010-01-17 14:49:57 +01:00
Stéphane Voltz ab33e9a4d1 make threshold option active 2010-01-14 06:51:02 +01:00
Stéphane Voltz 9cf351b43b true gray improvements
- fixed true gray resetting
- make GL646 parts use the option filter for true gray
2010-01-13 06:55:42 +01:00
Stéphane Voltz 7724df7c8b modified color filter option to enable true gray for cis GL841 scanners 2010-01-13 06:55:42 +01:00
Stéphane Voltz e6dd25adb7 fix image size when document shorter than expected for gl841 scanners
- add a function to read count of lined scanned
- use real scanned count line to compute the number of line to read to
  flush the current scan
2009-12-09 20:54:42 +01:00
Stéphane Voltz 4e7c47fa33 handle unattended document height for sheetfed scanners
- make sheefed scanners report a -1 line number to allow for variable
  document height
2009-12-05 08:33:27 +01:00
Stéphane Voltz ef4c5102ca add support for Ambir/Syscan DS685 2009-12-05 07:26:25 +01:00
Stéphane Voltz d4079557e4 sheetfed calibration tuning
- use sensor max resolution to do led/offset/gain calibration
- use different thresholds when detecting white/black pixels in search
  strip function
- tune device flags for DP485, DP487 and XP100
2009-11-16 06:37:15 +01:00
Stéphane Voltz c348e5af7e calibrate and clear calibration set reload params 2009-11-06 21:24:43 +01:00
Stéphane Voltz 3c8b10d16b remove some special cases for shading calibration computing - remove DSMOBILE600 special case for calling compute_planar_coefficient - remove special case to compute words_per_color 2009-11-06 21:24:43 +01:00
Stéphane Voltz 6668b38d2c fix shading coefficient computing at dpi higher than sensor's one 2009-11-06 21:24:43 +01:00
Stéphane Voltz e0e9d639fd add soft sensor to signal that the scanner needs calibration 2009-11-06 21:24:42 +01:00
Stéphane Voltz 6c8052f54d duplicate shading data on all channels for gray scans 2009-11-06 21:24:42 +01:00
Pierre Willenbrock 5f3625ad7a Add Calibration for Visioneer Roadwarrior and DocketPort 665 2009-11-06 21:24:41 +01:00
Pierre Willenbrock 17c0aa77ad Add offset/gain/led calibration for sheetfed scanners 2009-11-06 21:24:40 +01:00
Pierre Willenbrock cc77c4fa88 Fix usage of words_per_color.
I really don't know what i was thinking.
2009-11-06 21:24:40 +01:00
Pierre Willenbrock 6dddc67eb9 Add save_power calls where they belong 2009-11-06 21:24:40 +01:00
Stéphane Voltz 2ffe52857b enable shading calibration for XP300
- add the needed flags to XP300
- tune shading line number
- setup shading calibration computing parameters
2009-11-06 21:24:39 +01:00
Stéphane Voltz 142498bca3 make DS600 use planar coefficient computing function
- improve compute_planar_coefficient to handle an averaging factor
- make DS600 call it with proper parameters
2009-11-06 21:24:38 +01:00
Stéphane Voltz eab45d5245 DS600 allways send coefficients for all color channels 2009-11-06 21:24:38 +01:00
Stéphane Voltz b57f0fd362 sheetfed scanners don't (can't) calibrate at each sane_start() 2009-11-06 21:24:38 +01:00
Julien BLACHE 561a2c8fe2 Fix missing check in genesys for raw debug data
Patch by Tollef Fog Heen <tfheen@err.no>
2009-09-26 11:39:29 +02:00
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