Wykres commitów

134 Commity (4da92aaa507e81e90675ad6a0a45d59c71498e38)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 7dca191b14 genesys: Merge chip-specific motor tables into one 2020-01-31 20:13:11 +02:00
Povilas Kanapickas 0c84e1951a genesys: Fix incorrect X TA offset on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 9c10d59ce8 genesys: Fix 3200 dpi flatbed support on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 75b2bd6445 genesys: Fix incorrect calculation of X offsets on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 8532e63194 genesys: Fix incorrect calculation of X offsets on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 1748e625f0 genesys: Fix recovery from interrupted transparency scans on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 374578abce genesys: Reduce code duplication in gl843 session setup code 2020-01-25 11:28:29 +02:00
Povilas Kanapickas 8d07515bea Merge branch 'genesys-refactor-motor-handling' into 'master'
genesys: Refactor motor handling

See merge request sane-project/backends!308
2020-01-12 19:26:35 +00:00
Povilas Kanapickas e8e56e33d3 genesys: Make XPA motor mode handling more generic 2020-01-12 10:57:10 +02:00
Povilas Kanapickas 05978e1c8b genesys: Move *_set_xpa_lamp_power() to common command set 2020-01-12 10:57:06 +02:00
Povilas Kanapickas cbb3d98e83 genesys: Move *_set_xpa_motor_power() to common command set 2020-01-12 10:57:05 +02:00
Povilas Kanapickas 8b129b32ff genesys: Simplify handling of xpa motor state on gl843 2020-01-12 10:57:03 +02:00
Povilas Kanapickas 8d2081cda8 genesys: Deduplicate calculation of scan line count 2020-01-04 12:09:23 +02:00
Povilas Kanapickas 2397d8879a genesys: Fix collection of scanhead movement information 2019-12-22 17:40:13 +02:00
Povilas Kanapickas 29166d9b3b genesys: Remove rewind() function due to unreliability 2019-12-22 17:40:13 +02:00
Povilas Kanapickas fd29cae64a genesys: Correctly set LINESEL on 4400F 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 38f988dc39 genesys: Use correct SHDAREA setting on 4400F 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 67638f55b2 genesys: Use a more reasonable backtract distance on gl843 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 2a6081affe genesys: Fix scanning table length calculation on gl843 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 83fa276b90 genesys: Fix bug in setting up motor tables 3,4,5 on gl843 2019-12-22 17:06:38 +02:00
Povilas Kanapickas 48fd80d208 genesys: Simplify handling of motor step multiplier 2019-12-14 10:20:15 +02:00
Povilas Kanapickas 1d7adfcfc1 genesys: Fix naming of step multiplier 2019-12-14 10:20:14 +02:00
Povilas Kanapickas dec9962773 genesys: Make the size of slope tables configurable by asic type 2019-12-14 10:20:09 +02:00
Povilas Kanapickas 7c6229f272 genesys: Rename MotorSlopeTable::{scan_steps -> steps_count} 2019-12-14 10:20:06 +02:00
Povilas Kanapickas 524c9de1fa genesys: Fix calibration exposure in testing mode 2019-12-08 11:42:30 +02:00
Povilas Kanapickas 6a5fd2d36c genesys: Support multiple scan methods in scanner_move() 2019-12-01 10:43:11 +02:00
Povilas Kanapickas 27aea235b4 genesys: Rename slow_back_home() to move_back_home() 2019-12-01 10:43:10 +02:00
Povilas Kanapickas 35c8cb84f8 genesys: Extract slow_back_home_ta() to common code 2019-12-01 10:43:09 +02:00
Povilas Kanapickas 5b7c19a7d5 genesys: Reduce duplication of *_stop_action() across the ASICs 2019-12-01 10:08:59 +02:00
Povilas Kanapickas 9e092f9d67 genesys: Extract scanner_is_motor_stopped() to use across the asics 2019-12-01 10:08:58 +02:00
Povilas Kanapickas c2863d6ba1 genesys: Fix inconsistent check of scanner status in *_stop_action() 2019-12-01 10:08:57 +02:00
Povilas Kanapickas a90ab552a9 genesys: Extract scanner_stop_action_no_move() to use across the asics 2019-12-01 10:08:56 +02:00
Povilas Kanapickas 6913513dc2 genesys: Extract regs_set_optical_off() to use across the ASICs 2019-12-01 10:08:55 +02:00
Povilas Kanapickas 052aa01626 genesys: Reduce duplication of *_feed() across different ASICs 2019-12-01 10:08:54 +02:00
Povilas Kanapickas e435036b97 genesys: Use single function to set exposure on all ASICs 2019-12-01 10:08:53 +02:00
Povilas Kanapickas f98bec2afb genesys: Use full scan initialization in slow_back_home_ta() 2019-11-30 19:19:21 +02:00
Povilas Kanapickas 8aee1f0982 genesys: Expose slow_back_home_ta() to the cmd set 2019-11-30 19:19:18 +02:00
Povilas Kanapickas 97ae3fc946 genesys: Reduce duplication of slow_back_home() across different asics 2019-11-30 19:06:52 +02:00
Povilas Kanapickas cba6086ce7 genesys: Expose init_regs_for_scan_session() to the cmd set 2019-11-30 19:06:51 +02:00
Povilas Kanapickas 6626453804 genesys: Reduce duplication of scanner status printing 2019-11-30 19:06:46 +02:00
Povilas Kanapickas df8a411de3 genesys: Extract reliable reading of home sensor to separate function 2019-11-30 19:06:45 +02:00
Povilas Kanapickas 2ca325c638 genesys: Simplify scanner status handling 2019-11-30 19:06:44 +02:00
Povilas Kanapickas 7385e0d305 genesys: Simplify get_gain4_bit() implementation 2019-11-30 19:06:43 +02:00
Povilas Kanapickas 3ada79c35a genesys: Move motor direction register adjustment to low level functions 2019-11-30 19:06:42 +02:00
Povilas Kanapickas 50149e9064 genesys: Use enum class for motor flags 2019-11-30 19:06:41 +02:00
Povilas Kanapickas 837ec33c7f genesys: Make scan flags an enum 2019-11-23 12:38:51 +02:00
Povilas Kanapickas 05e3091d5f genesys: Remove duplication of motor startup 2019-11-23 12:38:50 +02:00
Povilas Kanapickas 9cd373fe6c genesys: Return MotorSlopeTable out of sanei_genesys_slope_table() 2019-11-23 12:38:49 +02:00
Povilas Kanapickas 63b0366b43 genesys: Store motor profile tables in std::vector 2019-11-23 12:38:48 +02:00
Povilas Kanapickas 34bba237b5 genesys: Don't select motor profile twice during setup of same scan 2019-11-23 12:38:45 +02:00
Povilas Kanapickas ce59a69224 genesys: Record motor slope tables in the config test 2019-11-23 12:38:40 +02:00
Povilas Kanapickas 10662d2973 genesys: Remove uses of SETREG and INITREG macros 2019-11-23 15:32:45 +02:00
Povilas Kanapickas 6d9259bd48 genesys: Put chip-specific functionality into namespaces 2019-11-23 15:32:45 +02:00
Povilas Kanapickas f366073b08 genesys: Add initial support for flatbed mode on Canon 4400F 2019-11-23 14:54:10 +02:00
Povilas Kanapickas e2e72535b5 genesys: Record data that is important for shading data upload 2019-10-26 12:42:50 +02:00
Povilas Kanapickas 67588e46ef genesys: Add checkpoints to record internal state 2019-10-26 12:42:49 +02:00
Povilas Kanapickas e2e3ea0947 genesys: Route sleep calls through low level scanner interface 2019-11-10 21:30:29 +02:00
Povilas Kanapickas 4e9b47de56 genesys: Move low level data writing API to scanner interface 2019-11-10 21:30:06 +02:00
Povilas Kanapickas 0fed92b0ff genesys: Remove unneeded wrapper for scanner interface functions 2019-11-10 21:30:06 +02:00
Povilas Kanapickas 0ea8ec115c genesys: Add low level interface for interaction with the scanner 2019-11-10 21:30:04 +02:00
Povilas Kanapickas 309ee441de genesys: Remove trivial bulk_{read,write}_data() wrapper 2019-10-26 11:38:36 +02:00
Povilas Kanapickas 6fe1db1c73 genesys: Use std where needed 2019-11-02 17:13:17 +02:00
Povilas Kanapickas 68f388eb6a genesys: Remove is_compatible_calibration() wrappers 2019-11-10 10:32:10 +02:00
Povilas Kanapickas 8557e0c220 genesys: Don't modify global state in *_is_compatible_calibration() 2019-11-10 10:32:06 +02:00
Povilas Kanapickas f4f58f6c18 genesys: Remove no longer used Genesys_Current_Setup 2019-11-10 10:32:05 +02:00
Povilas Kanapickas 9662a501a9 genesys: Use data from session directly when possible 2019-11-10 10:32:03 +02:00
Povilas Kanapickas a1bc0d33cd genesys: Move line-distance correction data to session 2019-10-27 10:42:01 +02:00
Povilas Kanapickas 0fa25a233b genesys: Merge chip-specific compute_session functions 2019-10-27 10:42:00 +02:00
Povilas Kanapickas 7336ec8969 genesys: Fix 1600 dpi flatbed / 3200 dpi TA support on 8400F 2019-10-27 10:29:54 +02:00
Povilas Kanapickas 0b4a5f941a genesys: Use correct min resolution for feeding 2019-10-17 22:30:27 +03:00
Povilas Kanapickas 1ac04c6266 genesys: Don't enable gamma when not needed 2019-10-17 22:30:15 +03:00
Povilas Kanapickas 3037ba1eaf genesys: Use a searchable name for register enums 2019-10-02 14:28:59 +03:00
Povilas Kanapickas 0ab82e9f86 genesys: Resolve various floating-point conversion warnings 2019-10-13 06:18:51 +03:00
Povilas Kanapickas f4a2957541 genesys: Use unsigned for resolution in various places 2019-10-13 06:18:50 +03:00
Povilas Kanapickas a694002364 genesys: Switch session startx and starty to unsigned
The sources and destinations are integer in most cases for these
variables.
2019-10-13 06:18:48 +03:00
Povilas Kanapickas 68e5f8a912 genesys: Put the backend code into a separate namespace 2019-10-12 22:33:57 +03:00
Povilas Kanapickas e32a45fef8 genesys: Retrieve depth from session in genesys_warmup_lamp() 2019-10-02 12:01:27 +03:00
Povilas Kanapickas eb2f836481 genesys: Remove low-level support for 1-bit depth scans 2019-10-01 18:11:52 +03:00
Povilas Kanapickas 0180c4c5d8 genesys: Remove SCAN_FLAG_DYNAMIC_LINEART 2019-10-01 18:11:51 +03:00
Povilas Kanapickas 8be96ecd60 genesys: Simplify code as dynamic_lineart is always enabled for lineart 2019-10-01 18:11:50 +03:00
Povilas Kanapickas 158cc81e20 genesys: Simplify setup of session depth parameter 2019-10-01 18:11:47 +03:00
Povilas Kanapickas 9581f29f13 Merge branch 'genesys-fix-warnings' into 'master'
genesys: Fix warnings not enabled in regular build

See merge request sane-project/backends!209
2019-10-12 15:43:04 +00:00
Povilas Kanapickas 5ca0acd19a Merge branch 'genesys-plustek-7300-7500i' into 'master'
genesys: Implement support for Plustek OpticFilm 7300 and 7500i scanners

See merge request sane-project/backends!210
2019-10-12 15:41:59 +00:00
Povilas Kanapickas 9f44bab6e0 genesys: Move backend files to a separate directory 2019-10-12 18:17:17 +03:00