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
9ddc64826c
genesys: Remove uses of calib_resolution
2020-02-03 01:00:36 +02:00
Povilas Kanapickas
10fb42cd68
genesys: Use calib_session to retrieve pixel counts
2020-02-03 01:00:34 +02:00
Povilas Kanapickas
87b2713628
genesys: Implement serialization of ScanSession
2020-02-03 00:41:59 +02:00
Povilas Kanapickas
fe02dc36d8
genesys: Implement comparison of ScanSession
2020-02-03 00:41:58 +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
Povilas Kanapickas
325aba25f1
genesys: Use float to store tl_x and tl_y scan settings
2020-02-03 00:41:55 +02:00
Povilas Kanapickas
0a49fa10ee
genesys: Extract register initialization out of init_regs_for_shading()
2020-02-03 00:41:54 +02:00
Povilas Kanapickas
c1791e6c83
genesys: Pass the register set to modify to init_regs_for_scan()
2020-02-03 00:41:53 +02:00
Povilas Kanapickas
5fb5da4f78
genesys: Remove duplicate way to check for transparency support
2020-02-03 00:41:52 +02:00
Povilas Kanapickas
4cfc150bdc
genesys: Add a way to check whether a model supports scan method
2020-02-03 00:41:51 +02:00
Povilas Kanapickas
afa1c54408
Merge branch 'genesys-cleanup-calibration-regs' into 'master'
...
genesys: Cleanup register data that is used during calibration
See merge request sane-project/backends!327
2020-02-02 17:01:26 +00:00
Povilas Kanapickas
cce5e21829
genesys: Remove several unnecessary initializations of dev->initial_regs
2020-02-02 18:45:32 +02:00
Povilas Kanapickas
32041bc7fe
genesys: Rename calib_reg to initial_regs
2020-02-02 18:45:31 +02:00
Povilas Kanapickas
16e8ca3511
genesys: Don't modify calib_reg when calibrating
2020-02-02 18:45:30 +02:00
Povilas Kanapickas
86fe2f5f6d
genesys: Move modification of calib_reg out of shading reg init on gl646
2020-02-02 18:45:29 +02:00
Povilas Kanapickas
87473910cf
genesys: Use regular registers when computing what coefficient to send
2020-02-02 18:45:28 +02:00
Povilas Kanapickas
8e4c332ea6
genesys: Pass registers from callers to shading calibration
2020-02-02 18:45:27 +02:00
Povilas Kanapickas
2a3ae40d8d
genesys: Pass registers from callers to dark-white shading calibration
2020-02-02 18:45:26 +02:00
Povilas Kanapickas
25f097b445
genesys: Pass registers from callers in coarse calibration
2020-02-02 18:45:25 +02:00
Povilas Kanapickas
d80db65c58
genesys: Move writing to registers to coarse calibration functions
2020-02-02 18:45:24 +02:00
Povilas Kanapickas
b1b57026dd
genesys: Move writing to registers to calibration functions
2020-02-02 18:45:23 +02:00
Povilas Kanapickas
dff52ad713
genesys: Don't write registers in init_regs_for_warmup()
2020-02-02 18:45:22 +02:00
Povilas Kanapickas
55e3200158
genesys: Don't write registers in init_regs_for_coarse_calibration()
2020-02-02 18:45:21 +02:00
Povilas Kanapickas
bdc671b58b
genesys: Don't perform register writes in init_regs_for_shading()
2020-02-02 18:45:20 +02:00
Povilas Kanapickas
34c15b47d9
Merge branch 'genesys-use-float-for-fixed' into 'master'
...
genesys: Use float precision for data that was previously saved in fixed format
See merge request sane-project/backends!326
2020-02-02 13:38:19 +00:00
Povilas Kanapickas
9fc3b38a9b
genesys: Use fixed float utilities instead of SANE_{FIX,UNFIX}
2020-02-02 15:23:21 +02:00
Povilas Kanapickas
7ee775e983
genesys: Remove the FixedFloat class
2020-02-02 15:23:20 +02:00
Povilas Kanapickas
62c6959df4
genesys: Add utilities for fixed floats
2020-02-02 15:23:19 +02:00
Povilas Kanapickas
03d50b5e64
Merge branch 'genesys-model-flag-enum' into 'master'
...
genesys: Move model flags to separate enum
See merge request sane-project/backends!325
2020-02-02 12:25:16 +00:00
Olaf Meeuwissen
f913ed58b6
escl: Remove :new marker from backend's description file
2020-02-02 21:11:31 +09:00
Povilas Kanapickas
e59401ed6b
genesys: Move model flags to a separate enum
2020-02-02 14:08:52 +02:00
Povilas Kanapickas
de10ace2e6
genesys: Remove invalid usage of GENESYS_HAS_NO_BUTTONS
2020-02-02 14:08:51 +02:00
Povilas Kanapickas
1c3d1e25ec
genesys: Remove unused model flags
2020-02-02 14:08:50 +02:00
Olaf Meeuwissen
5e5cdad7dd
Merge branch 'release/1.0.29'
2020-02-02 21:06:46 +09:00
Povilas Kanapickas
9e9bbb5a80
Merge branch 'genesys-improve-debug' into 'master'
...
genesys: Improve debug output slightly
See merge request sane-project/backends!324
2020-02-02 11:29:04 +00:00
Povilas Kanapickas
3d0a626944
Merge branch 'genesys-fix-active-area-calib' into 'master'
...
genesys: Fix issues in active area calibration
See merge request sane-project/backends!323
2020-02-02 11:25:16 +00:00
Olaf Meeuwissen
e52a5bf719
NEWS: Update with changes committed to the release/1.0.29 branch
2020-02-02 20:19:37 +09:00
Povilas Kanapickas
fee5b7e04f
genesys: Condense SetupParams debug dump output
2020-02-02 13:11:49 +02:00
Povilas Kanapickas
9d7f7abdcd
genesys: Remove extraneous debugging information
2020-02-02 13:11:48 +02:00
Povilas Kanapickas
9d1788cf5d
genesys: Fix loss of precision in during active area offset calibration
2020-02-02 13:08:50 +02:00
Povilas Kanapickas
91d9d8b2dc
genesys: Fix incorrect resolution being used in active area calibration
2020-02-02 13:08:49 +02:00
Povilas Kanapickas
6bbdb7afc8
genesys: Extract function to enable active area shading
2020-02-02 13:08:48 +02:00
Olaf Meeuwissen
f35aab0de7
po/*.po: Update Project-Id-Version of several translations
...
This only affects those languages for which translatable messages have
been updated since the last release (1.0.28).
2020-02-02 20:07:39 +09:00
Povilas Kanapickas
12e113ab52
Merge branch 'genesys-motor-fixes' into 'master'
...
genesys: Motor table fixes
See merge request sane-project/backends!322
2020-02-01 21:43:09 +00:00
Povilas Kanapickas
6e2e885ec5
genesys: Use same step type in motor tables on 8600F
2020-02-01 23:28:24 +02:00
Povilas Kanapickas
06cee81dbe
genesys: Fix incorrect selection of step type for fast table on gl843
2020-02-01 23:28:23 +02:00