Povilas Kanapickas
1df6952788
doc: Update description for CanoScan 8600F
2019-05-31 00:08:06 +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
0a0a140423
genesys: Correctly adjust pixels per line during calibration
2019-05-18 14:56:11 +03:00
Povilas Kanapickas
190361b724
genesys: Work around first line having artifacts during calibration
2019-05-18 14:56:10 +03:00
Povilas Kanapickas
3a4f67feef
genesys: Fix lockups on GL843 during calibration
2019-05-18 14:56:09 +03:00
Povilas Kanapickas
ed582c5858
genesys: Fix gain calibration on GL843
2019-05-18 14:56:08 +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
126e98524a
genesys: Remove special ADF handling for G4050
2019-05-18 14:56:05 +03:00
Povilas Kanapickas
091fdbe6d6
genesys: Use correct offsets for transparency scan
2019-05-18 14:56:04 +03:00
Povilas Kanapickas
d0c4f87ac7
genesys: Don't set exposure to zero on 8600F
2019-05-18 14:56:03 +03:00
Povilas Kanapickas
33a60dcc7b
genesys: Implement support for 8600F
2019-05-18 14:56:02 +03:00
Povilas Kanapickas
41e2029e4b
genesys: Initialize 0x7e register on GL843
2019-05-18 14:56:01 +03:00
Povilas Kanapickas
966ef33710
genesys: Fix pixel calculation during calibration on gl843
2019-05-18 14:56:00 +03:00
Povilas Kanapickas
df889c96f5
genesys: Deduplicate pixel count computation during calibration
2019-05-18 14:55:59 +03:00
Povilas Kanapickas
695addaafd
genesys: Fix pixel count when scanning in half-ccd mode on GL843
2019-05-18 14:55:58 +03:00
Povilas Kanapickas
d2b4a1b838
genesys: Extract gl843_compute_physical_params()
2019-05-18 14:55:57 +03:00
Povilas Kanapickas
76bf1ad072
genesys: Improve documentations for registers in various places
2019-05-18 14:55:56 +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
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
Povilas Kanapickas
5a90b7bb8f
genesys: Convert Genesys_Buffer to C++ class
2019-05-25 11:15:36 +03:00
Povilas Kanapickas
247658f23e
genesys: Return std::vector from GL646 simple_scan()
2019-05-25 11:15:35 +03:00
Povilas Kanapickas
e48b6c4e2d
genesys: Store global Genesys_Scanner instances in std::list
2019-05-25 11:15:34 +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
Povilas Kanapickas
3d44c89f1e
genesys: Use std::vector for Genesys_Device::{dark,white}_average_data
2019-05-25 11:15:30 +03:00
Povilas Kanapickas
2dc4e5d1fc
genesys: Use std::vector for Genesys_Sensor::gamma_table
2019-05-25 11:15:29 +03:00
Povilas Kanapickas
555be1c3eb
genesys: Use Genesys_Device as C++ class
2019-05-25 11:15:28 +03:00
Povilas Kanapickas
cb189cfe2d
genesys: Rewrite sensor table to use std::vector
2019-05-25 11:15:27 +03:00
Povilas Kanapickas
e5eff5d76f
genesys: Add facility for auto releasing static data on backend exit
2019-05-25 11:15:26 +03:00
Povilas Kanapickas
9cea33b53c
genesys: Use std::vector instead of malloc for local allocations
2019-05-25 11:15:25 +03:00
Povilas Kanapickas
896385a082
genesys: Ensure that functions passed to C API don't throw
2019-05-25 10:03:15 +03:00
Povilas Kanapickas
23f3ebf612
genesys: Wrap exported functions to always catch exceptions
2019-05-25 10:03:14 +03:00
Povilas Kanapickas
5d7fc4e0ed
Merge branch 'genesys-fix-warning' into 'master'
...
genesys: Fix warning
See merge request sane-project/backends!71
2019-05-24 18:25:58 +00:00
Povilas Kanapickas
58ee13d057
genesys: Fix warning
2019-05-24 21:13:37 +03:00
Olaf Meeuwissen
216e8b28a0
Turn C++ compiler warning into error on the right job. Re #85
...
Fixes 8d67531c70
where the flags were
set for a job that runs in an environment *without* a C++ compiler.
2019-05-22 21:48:32 +09:00
Olaf Meeuwissen
199a685d0b
Restore availability of config.status for archive stage. Re #85
2019-05-22 21:35:08 +09:00
Olaf Meeuwissen
8d67531c70
Turn C++ compiler warnings into errors. See #85
2019-05-22 21:31:13 +09:00
Olaf Meeuwissen
57ee89a676
Drop caching of untracked files. Re #85
2019-05-22 21:19:54 +09:00
Olaf Meeuwissen
be9736020f
autofoo: Sync generated files
...
The AX_CXX_COMPILE_STDCXX* macros that were embedded in aclocal.m4
have been replaced with the versions found in the autoconf-archive
package from Debian 9.
2019-05-21 22:14:46 +09:00
Olaf Meeuwissen
e2d89c1ab3
Expand AM_CXXFLAGS in our Makefiles. Fixes #84
2019-05-21 22:14:46 +09:00