Povilas Kanapickas
a4145e2eda
genesys: Only set requested_pixels when it's not default on gl646
2020-05-16 21:30:21 +03:00
Povilas Kanapickas
dcb90dc042
genesys: Simplify handling of output line count on gl646
2020-05-09 04:10:17 +03:00
Povilas Kanapickas
46d3ea07d4
genesys: Use DISABLE_GAMMA fla to control GMMENB bit on gl646
2020-05-09 04:10:16 +03:00
Povilas Kanapickas
35544b0c36
genesys: Simplify init_regs_for_shading() on gl646
2020-05-09 04:10:15 +03:00
Povilas Kanapickas
3dff3a97b3
genesys: Fix invalid movement in simple_move() on gl646
2020-05-09 04:10:14 +03:00
Povilas Kanapickas
84d4d0b15c
genesys: Use AUTO_GO_HOME flag to control AGOHOME bit on gl646
2020-05-09 04:10:13 +03:00
Povilas Kanapickas
4b5b2b2f0b
genesys: Simplify init_regs_for_warmup() on gl646
2020-05-09 04:10:12 +03:00
Povilas Kanapickas
0bc0f893b2
genesys: Simplify invocation of simple_scan() on gl646
2020-05-09 04:10:11 +03:00
Povilas Kanapickas
644f4b0c94
genesys: Simplify session setup in ad_fe_offset_calibration() on gl646
2020-05-06 01:05:45 +03:00
Povilas Kanapickas
4183f37b46
genesys: Simplify session setup in offset_calibration() on gl646
2020-05-06 01:05:44 +03:00
Povilas Kanapickas
e32ca11346
genesys: simplify session setup in ad_fe_coarse_gain_calibration()
2020-05-06 01:05:43 +03:00
Povilas Kanapickas
1f78a2e64c
genesys: Simplify session setup in coarse_gain_calibration() on gl646
2020-05-06 01:05:42 +03:00
Povilas Kanapickas
e876379f31
genesys: Simplify session in simple_move() on gl646
2020-05-06 01:05:41 +03:00
Povilas Kanapickas
5a2e81b633
genesys: Simplify session setup in led_calibration on gl646
2020-05-06 01:05:40 +03:00
Povilas Kanapickas
09eb07561f
genesys: Split simple_scan() into version that accepts ScanSession
2020-05-06 01:05:39 +03:00
Povilas Kanapickas
4f1dad8ca9
genesys: Simplify session setup on gl646
2020-05-06 01:05:38 +03:00
Povilas Kanapickas
06ad1dd43f
genesys: Inline setup_for_scan() into gl646_repark_head()
2020-05-06 01:29:10 +03:00
Povilas Kanapickas
1b5c31bb01
genesys: Inline setup_for_scan() into init_regs_for_warmup() on gl646
2020-05-06 01:29:09 +03:00
Povilas Kanapickas
d7bf809a6c
genesys: Inline setup_for_scan() into init_regs_for_shading() on gl646
2020-05-06 01:29:08 +03:00
Povilas Kanapickas
7ba20e43a3
genesys: Simplify simple_scan() on gl646
2020-05-06 01:29:07 +03:00
Povilas Kanapickas
f1d6c2c0cd
genesys: Inline setup_for_scan into simple_scan on gl646
2020-05-06 01:29:06 +03:00
Povilas Kanapickas
e5c371b24b
genesys: Merge motor optical_ydpi to base_ydpi
2020-04-22 22:41:45 +03:00
Povilas Kanapickas
b68fd960e3
genesys: Simplify sensor setup on gl646
2020-04-17 06:19:22 +03:00
Povilas Kanapickas
4c95e94f9b
genesys: Move private functionality out of headers
2020-04-17 05:38:46 +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
eec083f46a
genesys: Remove startup position hack on 4400F 4800dpi scans
2020-04-13 07:38:08 +03:00
Povilas Kanapickas
8b37d4b15e
genesys: Remove handling of XCORRECTION on gl646
2020-04-13 07:19:55 +03:00
Povilas Kanapickas
db50c91132
genesys: Remove uses of sanei_genesys_get_address()
2020-04-05 06:19:38 +03:00
Povilas Kanapickas
6420e00a38
genesys: Don't hardcode depth during warmup
2020-04-09 23:57:05 +03:00
Povilas Kanapickas
4586ae4e56
genesys: Increase consistency of lamp warmup handling
2020-04-09 23:57:04 +03:00
Povilas Kanapickas
ef583d54f2
genesys: Rename dpiset_override to register_dpiset
2020-03-21 00:11:32 +02:00
Povilas Kanapickas
5bcb5f3e80
genesys: Simplify shading resolution calculation on gl646
2020-03-21 00:11:31 +02:00
Povilas Kanapickas
c8c9deaf6d
genesys: Simplify dpiset calculation on gl646
2020-03-21 00:11:30 +02:00
Povilas Kanapickas
88989a1616
genesys: Pass resolution setting to sanei_genesys_set_dpihw() directly
2020-03-21 00:03:41 +02:00
Povilas Kanapickas
255da97fcb
genesys: Remove get_closest_resolution()
...
All gl646 scanners have sensors for all supported resolutions
2020-03-14 23:19:25 +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
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
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
328f39e39e
genesys: Remove uses of calib_lines
2020-02-03 01:00:49 +02:00
Povilas Kanapickas
53d51a6537
genesys: Fix wrong line count computation on gl646
...
It actually does not matter, because we overwrite LINCNT below anyway
and don't use any information affected by this variable when computing
how much data to retrieve.
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
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