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
dd2884ede7
genesys: Don't read registers to get data available from model flags
2019-06-02 11:47:47 +03:00
Povilas Kanapickas
5adaea3e2f
genesys: Pass sensor to genesys_coarse_calibration() as param
2019-06-02 11:47:46 +03:00
Povilas Kanapickas
60289d58e2
genesys: Pass sensor to genesys_average_white() as param
2019-06-02 11:47:45 +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
43c86ecd81
genesys: Only ever name Genesys_Sensor as "sensor" to reduce confusion
2019-06-02 11:47:43 +03:00
Povilas Kanapickas
7738412517
genesys: Remove vim indent settings
2019-06-02 11:47:42 +03:00
Povilas Kanapickas
6fdabd8174
genesys: Remove unused sensor config
2019-06-02 11:47:41 +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
a287f4945c
genesys: Extract computation of session setup to callers
2019-06-02 11:47:34 +03:00
Povilas Kanapickas
d688429ccd
genesys: Fix use of wrong dpi when computing output pixel count
2019-06-02 11:47:33 +03:00
Povilas Kanapickas
1a9e05b291
genesys: Extract params to gl843_init_scan_regs to a struct
2019-06-02 11:47:32 +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
7f22e35e2c
genesys: Use internal sleep wrapper for remaining sleep calls
2019-06-02 11:47:29 +03:00
Povilas Kanapickas
90814ac7d3
genesys: Move half CCD property to sensor definition
2019-06-02 11:47:28 +03:00
Povilas Kanapickas
7359412548
genesys: Remove dead code
2019-06-02 11:47:27 +03:00
Povilas Kanapickas
04c5b4afde
genesys: Improve type safety of Genesys_Register_Set
2019-06-02 11:47:26 +03:00
Rolf Bensch
1f847e4128
INSTALL.linux: add missing development package
2019-06-01 18:23:41 +02:00
Povilas Kanapickas
3b2ecec808
style-check: Ignore patch files
2019-06-01 14:41:32 +03:00
Povilas Kanapickas
61bff8b601
autotools: Restore patch to libtool to change libsane soname
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
72320897d8
autotools: Move byteorder.m4 to prevent mixing with generated files
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
9e6a83860b
autotools: Add autogen.sh to run autotools in appropriate way
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
1c3e1aa184
autotools: Remove files generated by autotools from version control
2019-06-01 14:38:36 +03:00
Povilas Kanapickas
6b47592520
Merge branch 'genesys-fix-read-set-reg-from-set' into 'master'
...
genesys: Fix sanei_genesys_{read,set}_reg_from_set()
See merge request sane-project/backends!80
2019-06-01 02:40:24 +00:00
Povilas Kanapickas
916d4e0db9
genesys: Fix sanei_genesys_{read,set}_reg_from_set()
...
There can be registers in the register set with zero address. In
particular, the 0x0b register's address is set to zero on most
sub-backends to prevent writes to it. This leads to the functions in
question not do anything in most scenarios.
2019-06-01 05:24:58 +03:00
Povilas Kanapickas
26b3d8aaa0
Merge branch 'genesys-canoscan-8600f' into 'master'
...
genesys: Add basic support for CanoScan 8600F
See merge request sane-project/backends!79
2019-05-30 21:17:10 +00:00
Povilas Kanapickas
1df6952788
doc: Update description for CanoScan 8600F
2019-05-31 00:08:06 +03:00
Povilas Kanapickas
ceec219cec
Merge branch 'genesys-fix-gl843-calib-pixel-count' into 'master'
...
genesys: Fix read pixel count calculation during calibration on GL843
See merge request sane-project/backends!78
2019-05-30 20:51:27 +00:00
Povilas Kanapickas
aeefb37072
genesys: Fix read pixel count calc during calibration on GL843
2019-05-30 23:42:33 +03:00
Povilas Kanapickas
dc42318d90
Merge branch 'genesys-use-containers' into 'master'
...
genesys: Use C++ containers to remove chances of memory leaks
See merge request sane-project/backends!76
2019-05-29 21:28:43 +00:00
Povilas Kanapickas
9f461060aa
Merge branch 'genesys-catch-exceptions' into 'master'
...
genesys: Catch C++ exceptions when returning to C code
See merge request sane-project/backends!75
2019-05-28 01:21:44 +00:00
Povilas Kanapickas
0b5ab0b5e4
sanei_usb: Fall through to the end of sanei_usb_get_descriptor()
2019-05-27 18:56:01 +03:00
Povilas Kanapickas
422e083175
sanei_usb: Fall through the end in sanei_usb_control_msg()
2019-05-27 18:56:01 +03:00
Povilas Kanapickas
d865705ef1
sanei_usb: Don't change input size variable in USBCALLS bulk code paths
2019-05-27 18:56:01 +03:00
Povilas Kanapickas
18f9e5598c
dll: Don't unnecessarily use alloca
2019-05-27 18:56:01 +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
69485e9f11
genesys: Remove unused new device list
2019-05-25 11:15:39 +03:00
Povilas Kanapickas
3096dcee0e
genesys: Use s_devices.size() for num_devices
2019-05-25 11:15:38 +03:00
Povilas Kanapickas
9c2fdeeb3d
genesys: Use proper containers for device lists
2019-05-25 11:15:37 +03:00