Povilas Kanapickas
|
d8f09656b2
|
genesys: Deduplicate strip searching functionality
|
2020-02-22 11:02:57 +02:00 |
Povilas Kanapickas
|
4da92aaa50
|
genesys: Reuse scanner_clear_scan_and_feed_counts()
|
2020-02-22 11:02:54 +02:00 |
Povilas Kanapickas
|
8735e965ee
|
genesys: Reduce duplication in init_regs_for_scan()
|
2020-02-22 11:02:53 +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
|
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
|
55000d82ac
|
genesys: Simplify shading line calculation by defining distance in mm
|
2020-02-16 10:46:09 +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
|
b54d12bc4d
|
genesys: Define SetupParams::startx in terms of xres
|
2020-02-16 10:41:08 +02:00 |
Povilas Kanapickas
|
2428efd6af
|
genesys: Fix host-side calibration when scan start position is not zero
|
2020-02-15 14:12:44 +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
|
9ddc64826c
|
genesys: Remove uses of calib_resolution
|
2020-02-03 01:00:36 +02:00 |
Povilas Kanapickas
|
10fb42cd68
|
genesys: Use calib_session to retrieve pixel counts
|
2020-02-03 01:00:34 +02:00 |
Povilas Kanapickas
|
9b1fe59c2a
|
genesys: Set calib_session on all chipsets
|
2020-02-03 00:41:57 +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
|
cce5e21829
|
genesys: Remove several unnecessary initializations of dev->initial_regs
|
2020-02-02 18:45:32 +02:00 |
Povilas Kanapickas
|
32041bc7fe
|
genesys: Rename calib_reg to initial_regs
|
2020-02-02 18:45:31 +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
|
e59401ed6b
|
genesys: Move model flags to a separate enum
|
2020-02-02 14:08:52 +02:00 |
Povilas Kanapickas
|
91d5235d4b
|
genesys: Make get_motor_profile* reusable for different profile sets
|
2020-01-31 20:13:17 +02:00 |
Povilas Kanapickas
|
247a6b7882
|
genesys: Add support for per-resolution or per-method motor profiles
|
2020-01-31 20:13:16 +02:00 |
Povilas Kanapickas
|
002d2ff2db
|
genesys: Use motor profiles from motor tables
|
2020-01-31 20:13:14 +02:00 |
Povilas Kanapickas
|
7dca191b14
|
genesys: Merge chip-specific motor tables into one
|
2020-01-31 20:13:11 +02:00 |
Povilas Kanapickas
|
67d3c134a9
|
genesys: Reduce duplication of scanner read methods on gl124
|
2020-01-04 12:09:26 +02:00 |
Povilas Kanapickas
|
8d2081cda8
|
genesys: Deduplicate calculation of scan line count
|
2020-01-04 12:09:23 +02:00 |
Povilas Kanapickas
|
444f25b96f
|
genesys: Remove duplicate computations of line length
|
2020-01-04 12:09:20 +02:00 |
Povilas Kanapickas
|
2b00ef3995
|
genesys: Improve calibration speed by making convergence faster
|
2019-12-26 17:13:33 +02:00 |
Povilas Kanapickas
|
cacc68a6d4
|
genesys: Fix initial register values on gl124
|
2019-12-26 17:13:31 +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
|
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
|
7971ee5693
|
genesys: Use sensor profile information directly from profiles
|
2019-12-08 11:42:31 +02:00 |
Povilas Kanapickas
|
524c9de1fa
|
genesys: Fix calibration exposure in testing mode
|
2019-12-08 11:42:30 +02:00 |
Povilas Kanapickas
|
716689161d
|
genesys: Use correct sensor for scanning on gl124
|
2019-12-08 11:42:28 +02:00 |
Povilas Kanapickas
|
a7fd1d6ae1
|
genesys: Simplify sensor profile definition
|
2019-12-08 11:42:26 +02:00 |
Povilas Kanapickas
|
4dfa7d25a3
|
genesys: Use correct sensor for calibration on gl124
|
2019-12-08 11:42:22 +02:00 |
Povilas Kanapickas
|
06742ab7d4
|
genesys: Simplify register definitions on gl124
|
2019-12-08 11:42:19 +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
|
66a95875d4
|
genesys: Remove duplicate operation a register
The same value is set just several lines above.
|
2019-11-30 19:19:20 +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
|
a355df168a
|
genesys: Expose update_home_sensor_gpio() in the cmd set
|
2019-11-30 19:06:49 +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
|
acc5fd318c
|
genesys: Replace unneeded uses of macros with enums
|
2019-11-23 15:32:45 +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
|
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
|
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
|
0fa25a233b
|
genesys: Merge chip-specific compute_session functions
|
2019-10-27 10:42:00 +02: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
|
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
|
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 |