Povilas Kanapickas
8184699bbf
genesys: Allocate GL646 slope tables on stack
2019-06-08 14:04:08 +03:00
Povilas Kanapickas
50f5007b3d
genesys: Reuse SetupParams on GL124 code
2019-06-08 14:04:02 +03:00
Povilas Kanapickas
319a5082ac
genesys: Remove unused command set API
2019-06-08 14:04:01 +03:00
Povilas Kanapickas
d92bfd1e9e
genesys: Remove unused fields out of Genesys_Settings struct
2019-06-08 14:04:00 +03:00
Povilas Kanapickas
efd7723a4f
genesys: Deduplicate dumping of Genesys_Current_Setup to logs
2019-06-08 14:03:59 +03:00
Povilas Kanapickas
7020001ba7
genesys: Remove unused ScanColorMode::COLOR_MULTI_PASS
2019-06-08 14:03:58 +03:00
Povilas Kanapickas
6e657e3eac
genesys: Refactor scan color mode into an enum
2019-06-08 14:03:57 +03:00
Povilas Kanapickas
723426d78b
genesys: Don't use dev->calib_reg directly when possible
2019-06-08 14:03:56 +03:00
Povilas Kanapickas
c09370eab4
genesys: Add support for selecting infrared channel
2019-06-08 14:03:55 +03:00
Povilas Kanapickas
a63c8a5f8c
genesys: Support more than two scan methods
2019-06-08 14:03:54 +03:00
Povilas Kanapickas
f1e583aea8
genesys: Refactor scan method into an enum
2019-06-08 14:03:53 +03:00
Povilas Kanapickas
3f184b795f
genesys: Simplify sensor handling
2019-06-08 14:03:47 +03:00
Povilas Kanapickas
8aa5318f90
genesys: Make frontend register list generic
2019-06-02 11:48:04 +03:00
Povilas Kanapickas
24853e657a
genesys: Refactor frontend table to initialize data explicitly
2019-06-02 11:48:03 +03:00
Povilas Kanapickas
6305433210
genesys: Cache the initial frontend values in the device
2019-06-02 11:48:02 +03:00
Povilas Kanapickas
ba778a7d84
genesys: Add a way to set custom FE registers depending on scan mode
2019-06-02 11:48:01 +03:00
Povilas Kanapickas
91a37b6558
genesys: Add a way to calibrate partial width of the scanner
2019-06-02 11:47:59 +03:00
Povilas Kanapickas
a2f451526c
genesys: Extract GenesysRegisterSettingSet::{fread,fwrite}()
2019-06-02 11:47:58 +03:00
Povilas Kanapickas
8520b810fd
genesys: Add support for mixed half/quarter-ccd mode on the same scanner
2019-06-02 11:47:54 +03:00
Povilas Kanapickas
36872e5751
genesys: Add support for half-ccd and quarter-ccd modes on the same chip
...
Previously we hardcoded half-ccd mode to be actually quarter-ccd mode on
GL843.
2019-06-02 11:47:53 +03:00
Povilas Kanapickas
8a9a4e3f71
genesys: Move GL843 sensor profiles to global sensor database
...
Note that gl843_setup_sensor() did not write certain registers and they
weren't written to the scanner anywhere else, thus they have been
excluded from the new definitions.
2019-06-02 11:47:52 +03:00
Povilas Kanapickas
723aa2b73c
genesys: Don't store current sensor in device as it depends on the scan
2019-06-02 11:47:51 +03:00
Povilas Kanapickas
f8e8243b78
genesys: Don't modify sensor with gamma data
2019-06-02 11:47:50 +03:00
Povilas Kanapickas
dafd2a150b
genesys: Extract gamma creation into a single function
2019-06-02 11:47:49 +03:00
Povilas Kanapickas
ea74f8e6ef
genesys: Pass gamma tables as vectors
2019-06-02 11:47:48 +03:00
Povilas Kanapickas
35e45196b9
genesys: Pass sensor to sanei_genesys_search_reference_point() as param
2019-06-02 11:47:44 +03:00
Povilas Kanapickas
d3f13839af
genesys: Remove no longer needed explicit initialization and copying
2019-06-02 11:47:40 +03:00
Povilas Kanapickas
4269f67c4a
genesys: Always initialize Genesys_Frontend
2019-06-02 11:47:39 +03:00
Povilas Kanapickas
68df437faf
genesys: Always initialize Genesys_Motor
2019-06-02 11:47:38 +03:00
Povilas Kanapickas
52f73ffd8d
genesys: Always initialize Genesys_Gpo
2019-06-02 11:47:37 +03:00
Povilas Kanapickas
d39189e424
genesys: Always initialize Genesys_Settings
2019-06-02 11:47:36 +03:00
Povilas Kanapickas
03ecbf1bb0
genesys: Always initialize Genesys_Current_Setup
2019-06-02 11:47:35 +03:00
Povilas Kanapickas
836a78bef5
genesys: Extract exposure to separate variable in sensor definition
2019-06-02 11:47:31 +03:00
Povilas Kanapickas
e9419d5e33
genesys: Make per-sensor register override list generic
2019-06-02 11:47:30 +03:00
Povilas Kanapickas
90814ac7d3
genesys: Move half CCD property to sensor definition
2019-06-02 11:47:28 +03:00
Povilas Kanapickas
04c5b4afde
genesys: Improve type safety of Genesys_Register_Set
2019-06-02 11:47:26 +03:00
Povilas Kanapickas
c536f3cf70
genesys: Fix calibration size calculation for 8600F
...
The current approach of marking the scanner as
GENESYS_FLAG_FULL_HWDPI_MODE is counter-productive, because only the
register value is always full DPI, the actual resolution is different.
For now, let's just work around this by having a special case for the
scanner.
2019-05-18 14:56:12 +03:00
Povilas Kanapickas
b220512172
genesys: Add a separate shading line count param for TA mode
...
q
2019-05-18 14:56:07 +03:00
Povilas Kanapickas
b7ef75d63f
genesys: Implement transparency support for 8600F
2019-05-18 14:56:06 +03:00
Povilas Kanapickas
33a60dcc7b
genesys: Implement support for 8600F
2019-05-18 14:56:02 +03:00
Povilas Kanapickas
df889c96f5
genesys: Deduplicate pixel count computation during calibration
2019-05-18 14:55:59 +03:00
Povilas Kanapickas
76bf1ad072
genesys: Improve documentations for registers in various places
2019-05-18 14:55:56 +03:00
Povilas Kanapickas
50b27fe836
genesys: Use std::string for Genesys_Device::calib_file
2019-05-25 11:15:42 +03:00
Povilas Kanapickas
38986c2c6f
genesys: Use std::vector for Genesys_Device::img_buffer
2019-05-25 11:15:41 +03:00
Povilas Kanapickas
eb93267fa9
genesys: Use std::vector instead of custom vector implementation
2019-05-25 11:15:40 +03:00
Povilas Kanapickas
9c2fdeeb3d
genesys: Use proper containers for device lists
2019-05-25 11:15:37 +03:00
Povilas Kanapickas
5a90b7bb8f
genesys: Convert Genesys_Buffer to C++ class
2019-05-25 11:15:36 +03:00
Povilas Kanapickas
15b373a5cc
genesys: Use std::vector for calibration cache average data
2019-05-25 11:15:33 +03:00
Povilas Kanapickas
64ca298d02
genesys: Store calibration class using std::list
2019-05-25 11:15:32 +03:00
Povilas Kanapickas
52b1989eda
genesys: Remove no longer used RIEF and RIEF2 macros
2019-05-25 11:15:31 +03:00