Cyp
bc54b0990f
Random minor cleanup.
2024-04-02 19:56:11 +02:00
Ralph Little
41866df6e1
genesys: fix for computation of total file size exceeding unsigned
...
Large scans that exceed 32-bits need cast to allow 64-bit size.
2022-02-27 18:55:26 -08:00
Povilas Kanapickas
59506f866d
genesys: Remove exception for the GPL license
...
Several files already don't have the exception that allows uses of the
code that are additional to the GPL license. I'm no longer comfortable
granting this exception for my subsequent contributions, thus the
exception has been removed.
2021-12-30 19:16:54 +02:00
Povilas Kanapickas
137a2d676f
genesys: Remove unused two-table feeding support from gl124
2021-12-27 22:22:44 +02:00
Povilas Kanapickas
b668e92047
genesys: Use {uint,int}{8,16,32,64} from std namespace
...
This is not strictly necessary as all known C++ compilers also inject
these types to the global namespace. However this is not guaranteed by
the C++ standard and accordingly some code completion tools don't
support this without additional configuration.
2021-12-26 16:09:17 +02:00
Povilas Kanapickas
bf4614b76e
genesys: Store contrast and brightness adjustments in session params
2021-12-26 14:53:14 +02:00
Povilas Kanapickas
bd0f15f585
genesys: Move gl124 0x0c reg definition to sensor tables
2021-12-25 03:06:25 +02:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Peter Marschall
0cd9de9bef
spelling fixes for genesys backend
2020-08-29 09:18:03 +02:00
Povilas Kanapickas
8ec6bc2e5d
genesys: Deduplicate move_to_ta()
2020-05-26 01:32:44 +03:00
Povilas Kanapickas
57a398888d
genesys: Deduplicate init_regs_for_scan()
2020-05-26 01:32:40 +03:00
Povilas Kanapickas
a12083c8c4
genesys: Remove support for generating lineart within the backend
2020-05-24 18:20:17 +03:00
Povilas Kanapickas
a23d61c26b
genesys: Allow pipeline to be created without mutating device
2020-05-24 18:02:03 +03:00
Povilas Kanapickas
d172b9cc4d
genesys: Remove read buffer after image processing
2020-05-24 16:35:59 +03:00
Povilas Kanapickas
d770012132
genesys: Use TIFF files for debugging
2020-05-23 14:03:01 +03:00
Povilas Kanapickas
e62f130523
genesys: Replace ccd_size_divisor with explicit optical resolution
2020-05-18 06:35:20 +03:00
Povilas Kanapickas
b5430cc039
genesys: Rename Genesys_Sensor::{optical_res => full_resolution}
2020-05-18 06:35:19 +03:00
Povilas Kanapickas
16fa00c13b
genesys: Extract scanner_send_slope_table()
2020-05-18 03:53:10 +03:00
Povilas Kanapickas
11c3a67e47
genesys: Remove redundand argument out of *_send_slope_table()
2020-05-18 03:53:09 +03:00
Povilas Kanapickas
9c4f84f91a
genesys: Don't generate excessive amount of steps for the motor tables
2020-05-18 03:53:07 +03:00
Povilas Kanapickas
800cf3beaf
genesys: Use ModelFlag::DISABLE_*_CALIBRATION instead of NO_CALIBRATION
2020-05-17 01:02:28 +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
b1b61b043b
genesys: Pass whole motor struct to create_slope_table()
2020-05-09 10:34:41 +03:00
Povilas Kanapickas
ebfa38a732
genesys: Map motor flags to scan flags
2020-04-17 05:38:47 +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
ad4c8f5453
genesys: Reduce duplication in led_calibration
2020-04-17 05:23:07 +03:00
Povilas Kanapickas
eec083f46a
genesys: Remove startup position hack on 4400F 4800dpi scans
2020-04-13 07:38:08 +03:00
Povilas Kanapickas
3693f4b12d
genesys: Simplify use of pixel_endx on gl124
2020-04-13 07:19:59 +03:00
Povilas Kanapickas
db50c91132
genesys: Remove uses of sanei_genesys_get_address()
2020-04-05 06:19:38 +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
fa594d965d
genesys: Correctly initialize warmup registers in transparency scans
2020-04-09 23:57:06 +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
40b4852eb7
genesys: Remove unused argument out of sanei_genesys_asic_init
2020-04-09 23:53:30 +03:00
Matthew Petroff
93f6bb19a9
genesys: Simplify GL124 shading data segment iteration.
2020-03-24 21:40:10 -04:00
Matthew Petroff
74f2af604b
genesys: Add 4800dpi support for Canon LiDE 210.
...
Based on USB logs from Windows driver.
2020-03-24 21:40:10 -04:00
Povilas Kanapickas
ef583d54f2
genesys: Rename dpiset_override to register_dpiset
2020-03-21 00:11:32 +02:00
Povilas Kanapickas
692178eade
genesys: Simplify dpiset calculation on gl124
2020-03-21 00:11:21 +02:00
Povilas Kanapickas
eb5a643c0a
genesys: Rename register_dpihw_override to register_dpihw
2020-03-21 00:03:45 +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
3c8b103d82
genesys: Simplify shading resolution computation on gl124
2020-03-21 00:03:28 +02:00
Povilas Kanapickas
c0a94b9288
genesys: Simplify dpihw calculation on gl124
2020-03-21 00:03:27 +02:00
Povilas Kanapickas
e54f15bcc8
genesys: Simplify calculation of shading upload parameters on gl124
2020-03-21 00:03:24 +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
233cb4bd5a
genesys: Use single code path for gain code calculation
2020-03-14 23:19:27 +02:00
Povilas Kanapickas
e0bec6723d
genesys: Deduplicate offset calibration
2020-03-14 23:19:26 +02:00