Wykres commitów

146 Commity (94efec957eed2b1e53491d7fd1d24f34d6de8b8d)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 99fde7b12e genesys: Slightly tweak X TA offset 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 c5f397e778 genesys: Extract handle_motor_position_after_hove_back_home_ta() 2020-01-12 10:57:11 +02:00
Povilas Kanapickas e8e56e33d3 genesys: Make XPA motor mode handling more generic 2020-01-12 10:57:10 +02:00
Povilas Kanapickas 645820bc4d genesys: Improve set_head_pos_unknown() to set status per head 2020-01-12 10:57:08 +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 53efe5822d genesys: Remove excessive debug logs during data read 2019-12-26 17:13:34 +02:00
Povilas Kanapickas 40a2a0d554 genesys: Remove unnecessary model check in calibration init 2019-12-26 17:13:25 +02:00
Povilas Kanapickas 47431a8776 genesys: Fix exception on LiDE 210 when going back from unknown position 2019-12-26 17:13:24 +02:00
Povilas Kanapickas 9f4cabb55c genesys: Fix random lock ups when waiting for motor to stop on gl646 2019-12-23 01:43:38 +02:00
Povilas Kanapickas 216250361f genesys: Fix uninitialized variable warning 2019-12-22 23:23:16 +02:00
Povilas Kanapickas 6fb588648c genesys: Fix infinite loop when we overestimate distance to home sensor 2019-12-22 17:40:13 +02:00
Povilas Kanapickas 01ca9c9030 genesys: Use fast moving for most of the distance when moving back home 2019-12-22 17:40:13 +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 69067f2f7f genesys: Remove no longer used final_exposure 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 35385625de genesys: Delete unused code 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 194920159d genesys: Remove support for legacy curves 2019-12-14 10:20:13 +02:00
Povilas Kanapickas 3d9113997f genesys: Switch remaining legacy curve uses to physical curves 2019-12-14 10:20:12 +02:00
Povilas Kanapickas c685ac075b genesys: Return MotorSlopeTable out of *_generate_slope_table() 2019-12-14 10:20:08 +02:00
Povilas Kanapickas 8731a6cc5d genesys: Return MotorSlopeTable out of *_create_slope_table3() 2019-12-14 10:20:07 +02:00
Povilas Kanapickas f605e7c229 genesys: Fix testing mode recording of scanner_slow_back_home_ta() 2019-12-14 10:20:02 +02:00
Povilas Kanapickas c1d791f11c genesys: Raise error when TA scan head takes too long to return home 2019-12-14 10:20:01 +02:00
Povilas Kanapickas 49934f0678 genesys: Fix black side calibration on HP 4850c 2019-12-22 16:29:22 +02:00
Povilas Kanapickas 4c0f63052b genesys: Add a way to configure per-sensor stagger config 2019-12-14 09:12:28 +02:00
Povilas Kanapickas 4ef2e39872 genesys: Remove remaining uses of SensorProfile 2019-12-08 11:42:32 +02:00
Povilas Kanapickas 7971ee5693 genesys: Use sensor profile information directly from profiles 2019-12-08 11:42:31 +02:00
Povilas Kanapickas 791433c895 genesys: Duplicate SensorProfile information into Genesys_Sensor struct 2019-12-08 11:42:29 +02:00
Povilas Kanapickas 3d068a9eee genesys: Fix TA support in scanner_move() 2019-12-01 10:43:12 +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 a90ab552a9 genesys: Extract scanner_stop_action_no_move() to use across the asics 2019-12-01 10:08:56 +02:00
Povilas Kanapickas 052aa01626 genesys: Reduce duplication of *_feed() across different ASICs 2019-12-01 10:08:54 +02:00
Povilas Kanapickas 4743a02353 genesys: Remove duplicate operation on a register
init_regs_for_scan_session() already sets the value of the register to
what we expect.
2019-11-30 19:19:19 +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 7385e0d305 genesys: Simplify get_gain4_bit() implementation 2019-11-30 19:06:43 +02:00
Povilas Kanapickas 63b0366b43 genesys: Store motor profile tables in std::vector 2019-11-23 12:38:48 +02:00
Povilas Kanapickas b43a21d25a genesys: Add new motor slope type 2019-11-23 12:38:44 +02:00
Povilas Kanapickas ddcce5295f genesys: Use StepType enum more 2019-11-23 12:38:42 +02:00
Povilas Kanapickas c6784d2f1d genesys: Simplify API of sanei_genesys_create_slope_table3() 2019-11-23 12:38:41 +02:00
Povilas Kanapickas d8e8899a76 genesys: Remove unused code 2019-11-23 12:38:39 +02:00
Povilas Kanapickas acc5fd318c genesys: Replace unneeded uses of macros with enums 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 67588e46ef genesys: Add checkpoints to record internal state 2019-10-26 12:42:49 +02:00
Povilas Kanapickas eadfdb57a4 genesys: Add a way to record backend internals using test scanner iface 2019-10-26 12:42:48 +02:00
Povilas Kanapickas 391d472127 genesys: Rename record_{test => progress}_message 2019-11-10 21:30:29 +02:00
Povilas Kanapickas e2e3ea0947 genesys: Route sleep calls through low level scanner interface 2019-11-10 21:30:29 +02:00
Povilas Kanapickas 521c042889 genesys: Route low-level status debug messages through scanner interface 2019-11-10 21:30:29 +02:00
Povilas Kanapickas 779725ab55 genesys: Extract attach_usb_device() 2019-11-10 21:30:29 +02:00
Povilas Kanapickas 908053751f genesys: Use generic USB device interface througout the backend 2019-11-10 21:30:29 +02:00
Povilas Kanapickas 978ad5e52b genesys: Add interface for USB devices to allow mocking of them 2019-11-10 21:30:25 +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 42a58387b6 genesys: Extract conversion of ScanColorMode to separate functions 2019-11-10 16:41:59 +02:00
Povilas Kanapickas 3ad5a92414 genesys: Move conversion of ScanMethod to option strings to enums.cpp 2019-11-10 16:41:59 +02:00
Povilas Kanapickas f5410b7738 genesys: Add an easy way to override SANE API linkage 2019-11-02 17:13:14 +02:00
Povilas Kanapickas 7213738359 genesys: Make sure correct session data is used for saving calibration 2019-11-10 10:32:11 +02:00
Povilas Kanapickas 68f388eb6a genesys: Remove is_compatible_calibration() wrappers 2019-11-10 10:32:10 +02:00
Povilas Kanapickas 84e4ababa5 genesys: Correctly serialize GenesysFrontendLayout 2019-11-10 10:32:07 +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 a15d960228 Merge branch 'genesys-logging-improvements' into 'master'
genesys: Miscellaneous logging improvements

See merge request sane-project/backends!237
2019-11-10 12:12:41 +00:00
Povilas Kanapickas 87b5a78e37 genesys: Add more logging 2019-10-27 11:48:35 +02:00
Povilas Kanapickas 6d7365ba89 genesys: Return errors as exceptions 2019-10-27 11:48:32 +02:00
Povilas Kanapickas a1bc0d33cd genesys: Move line-distance correction data to session 2019-10-27 10:42:01 +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 3632d4ec37 genesys: Fix out of bounds write during initialization of shading data 2019-11-09 22:51:40 +02:00
Povilas Kanapickas ddb8685755 genesys: Fix null name of the "extras group" option leading to crashes 2019-11-09 22:51:34 +02:00
Zdenek Dohnal 82e971a786 Fix #156 - [Fedora] Abort due out-of-bound access 2019-10-25 13:06:15 +02:00
Povilas Kanapickas abec99006c genesys: Add missing <cmath> includes 2019-10-17 22:30:26 +03:00
Povilas Kanapickas 87969174bd genesys: Fix shading target for Canon LiDE 110, 120, 210, 220 2019-10-17 22:30:23 +03:00
Povilas Kanapickas 93e980d0c1 genesys: Use median instead of mean when computing shading calib data 2019-10-17 22:07:01 +03:00
Povilas Kanapickas a5fe12a37f genesys: Allow supported resolutions to vary depending on scan method 2019-10-13 18:30:27 +03:00
Povilas Kanapickas 24230aea7d genesys: Simplify option setup 2019-10-13 18:30:26 +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 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 17740df924 genesys: Remove support for binary logging 2019-10-02 12:01:26 +03:00
Povilas Kanapickas a89ffe8f2c Merge branch 'genesys-remove-1bit-support' into 'master'
genesys: Remove support for scanning 1 bit output

See merge request sane-project/backends!212
2019-10-12 16:09:29 +00:00
Povilas Kanapickas eb2f836481 genesys: Remove low-level support for 1-bit depth scans 2019-10-01 18:11:52 +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 3263b986ce genesys: Remove support of --disable-dynamic-lineart option 2019-10-01 18:11:49 +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 b5e4d86eb2 genesys: Use separate translation unit for conversion functions 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 9f44bab6e0 genesys: Move backend files to a separate directory 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 09336e0286 genesys: Remove code that has no effect 2019-10-01 15:41:27 +03:00
Povilas Kanapickas 1423db6618 genesys: Include missing includes 2019-10-01 15:41:23 +03:00