Wykres commitów

248 Commity (9d721e4610e1b51bba8c0524f769473e33c85f38)

Autor SHA1 Wiadomość Data
Povilas Kanapickas b5430cc039 genesys: Rename Genesys_Sensor::{optical_res => full_resolution} 2020-05-18 06:35:19 +03:00
Povilas Kanapickas 69202b2b56 genesys: Add separate sensor definition for LiDE 60 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 5820e1e0bd genesys: Restore full motor table writes on gl841 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 7932c68d03 genesys: Simplify slope table size calculations 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 288dd82a6f genesys: Pass motor profile directly to exposure calculation utils 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 88b49704b2 genesys: Use create_slope_table() directly on gl841 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 16fa00c13b genesys: Extract scanner_send_slope_table() 2020-05-18 03:53:10 +03:00
Povilas Kanapickas 800cf3beaf genesys: Use ModelFlag::DISABLE_*_CALIBRATION instead of NO_CALIBRATION 2020-05-17 01:02:28 +03:00
Povilas Kanapickas 04b91dc4c9 genesys: Implement a way to selectively disable calibration steps 2020-05-17 01:02:27 +03:00
Povilas Kanapickas 71eeeb0ca6 genesys: Remove dead code 2020-05-17 01:02:26 +03:00
Povilas Kanapickas d6570c86ff genesys: Remove debug messages that are no longer useful 2020-05-16 23:43:47 +03:00
Povilas Kanapickas 6092e2d682 genesys: Enable image data logging as a separate environment variable 2020-05-16 23:05:20 +03:00
Povilas Kanapickas 9f46845f95 genesys: Print debug message if configuration file can't be accessed 2020-05-16 22:36:28 +03:00
Povilas Kanapickas fe3677b68f genesys; Rename create_slope_table{=>_speed}() 2020-05-09 10:34:40 +03:00
Povilas Kanapickas aee51c9dec genesys: Fix crash in led_calibration() when image is completely black 2020-05-16 20:57:19 +03:00
Povilas Kanapickas ab1d86d74a genesys: Rename {INVERTED->SWAP}_16_BIT_DATA model flag 2020-05-09 13:29:52 +03:00
Povilas Kanapickas 08b41c052e genesys: Add support for Plustek OpticFilm 7200 2020-04-23 21:36:23 +03:00
Povilas Kanapickas af28c2d56c genesys: Reuse scanner_move_back_home() on gl841 2020-04-20 00:35:56 +03:00
Povilas Kanapickas f965c2ef25 genesys: Reuse scanner_stop_action() on gl841 2020-04-20 00:35:53 +03:00
Povilas Kanapickas 98ee100237 genesys: Fix scanner_is_motor_stopped() on gl841 2020-04-20 00:35:52 +03:00
Povilas Kanapickas a3ad02c8bf genesys: Remove sensor setting duplication on gl646 2020-04-17 06:19:21 +03:00
Povilas Kanapickas afa96a227d genesys: Reduce duplication of sensor setup functionality 2020-04-17 05:38:45 +03:00
Povilas Kanapickas edda9bff25 genesys: Simplify creation of command set 2020-04-17 05:38:43 +03:00
Povilas Kanapickas ad4c8f5453 genesys: Reduce duplication in led_calibration 2020-04-17 05:23:07 +03:00
Povilas Kanapickas 6fc6fb7ea2 genesys: Load calibration data in sane_start() not in sane_init() 2020-04-15 00:16:01 +03:00
Povilas Kanapickas a595875d87 genesys: Bump calibration version 2020-04-15 00:15:21 +03:00
Povilas Kanapickas eec083f46a genesys: Remove startup position hack on 4400F 4800dpi scans 2020-04-13 07:38:08 +03:00
Povilas Kanapickas b788f2de8f genesys: Remove startup position hack on 8600F 4800dpi scans 2020-04-13 07:38:04 +03:00
Povilas Kanapickas 35e48da4a8 genesys: Fix invalid home position reporting on LiDE 700F 2020-04-13 07:19:28 +03:00
Povilas Kanapickas 7fbc7dda54 genesys: Readd missed comment 2020-04-11 15:50:30 +03:00
Povilas Kanapickas 5ffd4039de genesys: Fix crash when exact usb device is not specified 2020-04-11 15:20:30 +03:00
Povilas Kanapickas 55972a3efa genesys: Fix crash during testing mode 2020-04-11 15:20:29 +03:00
Povilas Kanapickas 11cace00a8 Merge branch 'genesys-warmup' into 'master'
genesys: Fix and enable lamp warmup before first scan

See merge request sane-project/backends!396
2020-04-09 21:13:27 +00:00
Povilas Kanapickas f22dd4d7b2 genesys: Move lamp to transparency adapter if needed during lamp warmup 2020-04-09 23:57:12 +03:00
Povilas Kanapickas 21d9079eb7 genesys: Invert meaning of ModelFlag::SKIP_WARMUP 2020-04-09 23:57:11 +03:00
Povilas Kanapickas 8b65356047 genesys: Fix calculation of averages during lamp warmup 2020-04-09 23:57:10 +03:00
Povilas Kanapickas c2480ac064 genesys: Simplify calculation of warmup success criteria 2020-04-09 23:57:09 +03:00
Povilas Kanapickas 40cb193cc3 genesys: Fix debug messages during lamp warmup on 16-bit scans 2020-04-09 23:57:08 +03:00
Povilas Kanapickas 0ab6e78657 genesys: Compare all subsequent scans during lamp warmup 2020-04-09 23:57:07 +03:00
Povilas Kanapickas 4586ae4e56 genesys: Increase consistency of lamp warmup handling 2020-04-09 23:57:04 +03:00
Povilas Kanapickas 0d1542cbe6 genesys: Fix bcdDevice filtering 2020-04-09 23:50:48 +03:00
Povilas Kanapickas bb318cf8f3 genesys: Simplify USB id retrieval 2020-04-09 23:50:47 +03:00
Povilas Kanapickas 13dffa0915 genesys: Defer evaluation of bcdDevice until open() 2020-04-09 23:50:46 +03:00
Povilas Kanapickas 0d5f5b54ed genesys: Enable bcdDevice filtering 2020-04-01 20:57:01 +03:00
Povilas Kanapickas 9698bfece7 genesys: Add support for matching devices by bcdDevice 2020-03-28 23:15:48 +02:00
Povilas Kanapickas 0bdce7928f genesys: Turn Genesys_USB_Device_Entry into a class 2020-03-28 23:15:47 +02:00
Povilas Kanapickas 982d7d18aa genesys: Fix log message when device is not supported 2020-03-27 21:29:29 +02:00
Povilas Kanapickas 6cb39e0a29 genesys: Add support for Plustek Opticfilm 8200i 2020-03-27 21:29:28 +02:00
Povilas Kanapickas adaac29d90 genesys: Add support for Plustek Opticfilm 7400 2020-03-27 21:29:27 +02:00
Povilas Kanapickas cce3cdeaab genesys: Update all sensors with calibrated exposure on gl841 2020-03-21 00:11:23 +02:00
Povilas Kanapickas 38cf079e99 genesys: Simplify dpihw register setup on gl841 2020-03-21 00:11:22 +02:00
Povilas Kanapickas 815d36c9c3 genesys: Simplify shading resolution computation 2020-03-21 00:03:43 +02:00
Povilas Kanapickas 94efec957e genesys: No longer specify per-sensor hwdpi divisor 2020-03-20 23:29:10 +02:00
Povilas Kanapickas 3da269b7de genesys: Use common code path for memory layouts 2020-03-14 23:19:38 +02:00
Povilas Kanapickas cd43109966 genesys: Deduplicate gain calibration 2020-03-14 23:19:28 +02:00
Povilas Kanapickas e0bec6723d genesys: Deduplicate offset calibration 2020-03-14 23:19:26 +02:00
Povilas Kanapickas d8f09656b2 genesys: Deduplicate strip searching functionality 2020-02-22 11:02:57 +02:00
Povilas Kanapickas 0d0c9f76b4 Merge branch 'genesys-remove-search-start' into 'master'
genesys: Remove start search functionality

See merge request sane-project/backends!342
2020-02-22 14:18:04 +00:00
Povilas Kanapickas 9d7aa61544 genesys: Define the width of the sensor in mm instead of pixels 2020-02-22 10:48:26 +02:00
Povilas Kanapickas 6653ec0ae6 genesys: Remove support for shading calibration without moving 2020-02-22 10:28:18 +02:00
Povilas Kanapickas 2cf05553c0 genesys: Remove no longer used code related to start position search 2020-02-22 10:28:17 +02:00
Povilas Kanapickas 4c395182be genesys: Remove no longer used coarse calibration ced path 2020-02-17 00:49:14 +02:00
Povilas Kanapickas 9e3bf1e1e2 genesys: Remove OFFSET_CALIBRATION as it's used on all scanners 2020-02-17 00:49:13 +02:00
Povilas Kanapickas 88d9c08645 genesys: Use scanner_move() on gl841 2020-02-16 10:46:18 +02:00
Povilas Kanapickas 1a55cc99e4 genesys: Don't ignore stagger or color offsets when acquiring calib data 2020-02-16 10:46:08 +02:00
Povilas Kanapickas 5b9aad649e genesys: Stop scanner after moving head on gl843 2020-02-16 10:41:27 +02:00
Povilas Kanapickas 7619e95eae genesys: Cleanup progress message setup during calibration 2020-02-16 10:41:22 +02:00
Povilas Kanapickas 5375699260 genesys: Use same method to clear scan and feed counts 2020-02-16 10:41:21 +02:00
Povilas Kanapickas b2d378d413 genesys: Make sure we don't set exposure to zero 2020-02-16 10:41:17 +02:00
Povilas Kanapickas 51b09eec5c genesys: Don't set powersaving when setting cache expiration time 2020-02-16 10:41:14 +02:00
Povilas Kanapickas 9bb7ed64b6 genesys: Fix initialization of shading data when scanning in gray mode 2020-02-16 10:41:13 +02:00
Povilas Kanapickas 2b584095ad genesys: Remove no longer needed head movement workaround for LiDE 210 2020-02-16 10:41:10 +02:00
Povilas Kanapickas 883114f722 genesys: Use similar scan session for head movements 2020-02-16 10:41:09 +02:00
Povilas Kanapickas b54d12bc4d genesys: Define SetupParams::startx in terms of xres 2020-02-16 10:41:08 +02:00
Povilas Kanapickas 6e7fc639f5 genesys: Add initial support for transparency on 4400F 2020-02-15 14:12:43 +02:00
Povilas Kanapickas b2ebbba41a genesys: Move host-side calibration setting to the sensor 2020-02-15 14:12:39 +02:00
Povilas Kanapickas dc082d9066 genesys: Add a note about calibration size calculation 2020-02-03 01:00:49 +02:00
Povilas Kanapickas 9a142d6acc genesys: Remove uses of calib_total_bytes_to_read 2020-02-03 01:00:49 +02:00
Povilas Kanapickas 328f39e39e genesys: Remove uses of calib_lines 2020-02-03 01:00:49 +02:00
Povilas Kanapickas 26eec0ba57 genesys: Remove uses of calib_channels 2020-02-03 01:00:47 +02:00
Povilas Kanapickas 10fb42cd68 genesys: Use calib_session to retrieve pixel counts 2020-02-03 01:00:34 +02:00
Povilas Kanapickas 3b27241e07 genesys: Remove no longer needed conversions to single precision float 2020-02-03 00:41:56 +02:00
Povilas Kanapickas 0a49fa10ee genesys: Extract register initialization out of init_regs_for_shading() 2020-02-03 00:41:54 +02:00
Povilas Kanapickas c1791e6c83 genesys: Pass the register set to modify to init_regs_for_scan() 2020-02-03 00:41:53 +02:00
Povilas Kanapickas 32041bc7fe genesys: Rename calib_reg to initial_regs 2020-02-02 18:45:31 +02:00
Povilas Kanapickas 16e8ca3511 genesys: Don't modify calib_reg when calibrating 2020-02-02 18:45:30 +02:00
Povilas Kanapickas 86fe2f5f6d genesys: Move modification of calib_reg out of shading reg init on gl646 2020-02-02 18:45:29 +02:00
Povilas Kanapickas 87473910cf genesys: Use regular registers when computing what coefficient to send 2020-02-02 18:45:28 +02:00
Povilas Kanapickas 8e4c332ea6 genesys: Pass registers from callers to shading calibration 2020-02-02 18:45:27 +02:00
Povilas Kanapickas 2a3ae40d8d genesys: Pass registers from callers to dark-white shading calibration 2020-02-02 18:45:26 +02:00
Povilas Kanapickas 25f097b445 genesys: Pass registers from callers in coarse calibration 2020-02-02 18:45:25 +02:00
Povilas Kanapickas d80db65c58 genesys: Move writing to registers to coarse calibration functions 2020-02-02 18:45:24 +02:00
Povilas Kanapickas b1b57026dd genesys: Move writing to registers to calibration functions 2020-02-02 18:45:23 +02:00
Povilas Kanapickas dff52ad713 genesys: Don't write registers in init_regs_for_warmup() 2020-02-02 18:45:22 +02:00
Povilas Kanapickas 55e3200158 genesys: Don't write registers in init_regs_for_coarse_calibration() 2020-02-02 18:45:21 +02:00
Povilas Kanapickas bdc671b58b genesys: Don't perform register writes in init_regs_for_shading() 2020-02-02 18:45:20 +02:00
Povilas Kanapickas 9fc3b38a9b genesys: Use fixed float utilities instead of SANE_{FIX,UNFIX} 2020-02-02 15:23:21 +02:00
Povilas Kanapickas 7ee775e983 genesys: Remove the FixedFloat class 2020-02-02 15:23:20 +02:00
Povilas Kanapickas e59401ed6b genesys: Move model flags to a separate enum 2020-02-02 14:08:52 +02:00
Povilas Kanapickas 9d7f7abdcd genesys: Remove extraneous debugging information 2020-02-02 13:11:48 +02:00