Olaf Meeuwissen
36f068a0ce
Merge branch 'escl-page-crop' into 'master'
...
Escl page crop
Closes #230
See merge request sane-project/backends!316
2020-02-11 07:38:28 +00:00
thierry1970
4466d51924
Fixed variable name.
2020-02-11 08:22:43 +01:00
Olaf Meeuwissen
23cd9f5d61
Apply suggestion to backend/escl/escl_jpeg.c
2020-02-11 01:45:11 +00:00
Olaf Meeuwissen
dd4fb84de8
Apply suggestion to backend/escl/escl.c
2020-02-11 01:45:08 +00:00
Ordissimo
a771be0c6a
Apply suggestion to backend/escl/escl_png.c
2020-02-10 08:45:38 +00:00
Ordissimo
bae9f0a3d3
Apply suggestion to backend/escl/escl.h
2020-02-10 08:45:21 +00:00
Povilas Kanapickas
3508f3208f
Merge branch 'fix_genesys_bigendian' into 'master'
...
genesys: fix bigendian build
Closes #238
See merge request sane-project/backends!329
2020-02-10 07:42:52 +00:00
Povilas Kanapickas
7f454b3e0e
genesys: Observe DISABLE_SHADING flag during host-side calibration
2020-02-10 06:28:35 +02:00
Thierry HUCHARD
c3adeed4c4
Fix style.
2020-02-09 09:36:16 +01:00
Thierry HUCHARD
6a9a0beee8
Clarification and factoring of the code
2020-02-09 09:30:43 +01:00
Thierry HUCHARD
af6f6d4655
Clarification of variable names.
2020-02-08 22:36:49 +01:00
Thierry HUCHARD
7ea6af0624
Replacing unit conversion functions with macros.
2020-02-08 22:16:16 +01:00
m. allan noah
336cbdfd4c
fujitsu backend v136
...
- add support for fi-800R
- add support for card scanning slot (Return Path)
- fix bug with reading hardware sensors on first invocation
2020-02-07 21:06:50 -05:00
Olaf Meeuwissen
03ca64a885
Merge branch '239-1-0-29-common_libs-in-libsane-la-dependencies-causes-potential-make-error' into 'master'
...
Really remove libxml2 linker/loader flags from dependencies. Re #239
Closes #239
See merge request sane-project/backends!331
2020-02-06 12:14:13 +00:00
Olaf Meeuwissen
7415a9f5c9
Really remove libxml2 linker/loader flags from dependencies. Re #239
2020-02-06 20:56:21 +09:00
Olaf Meeuwissen
f7c01360cb
Merge branch '239-1-0-29-common_libs-in-libsane-la-dependencies-causes-potential-make-error' into 'master'
...
Remove libxml2 linker/loader flags from dependencies. Re #239
Closes #239
See merge request sane-project/backends!330
2020-02-05 12:48:20 +00:00
Olaf Meeuwissen
17d760a5f8
Remove libxml2 linker/loader flags from dependencies. Re #239
2020-02-05 21:30:11 +09:00
Luiz Angelo Daros de Luca
e1934720c6
genesys: fix bigendian build
...
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2020-02-02 21:19:27 -03:00
Povilas Kanapickas
20be9af3d7
Merge branch 'genesys-cleanup-calibration-regs' into 'master'
...
genesys: Cleanup data used for calibration
See merge request sane-project/backends!328
2020-02-02 23:16:29 +00:00
Povilas Kanapickas
dc082d9066
genesys: Add a note about calibration size calculation
2020-02-03 01:00:49 +02:00
Povilas Kanapickas
9a142d6acc
genesys: Remove uses of calib_total_bytes_to_read
2020-02-03 01:00:49 +02:00
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