Wykres commitów

5193 Commity (2b076de25f624811f29f75baeab2316b7760305c)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 63adf8eb80 genesys: Fix geometry of calibration strip on LiDE 60 2020-02-16 10:46:13 +02:00
Povilas Kanapickas 1e817987aa genesys: Fix geometry of calibration strip on LiDE 50 2020-02-16 10:46:12 +02:00
Povilas Kanapickas dcd5982de1 genesys: Improve LiDE 200 motor tables to fix lock-ups 2020-02-16 10:46:11 +02:00
Povilas Kanapickas 38b921e844 genesys: Improve LiDE 100 motor tables to fix lock-ups 2020-02-16 10:46:10 +02:00
Povilas Kanapickas 55000d82ac genesys: Simplify shading line calculation by defining distance in mm 2020-02-16 10:46:09 +02:00
Povilas Kanapickas 1a55cc99e4 genesys: Don't ignore stagger or color offsets when acquiring calib data 2020-02-16 10:46:08 +02:00
Povilas Kanapickas 3f313376a7 genesys: Remove unnecessary register write during init on gl843 2020-02-16 10:41:30 +02:00
Povilas Kanapickas b70b305d27 genesys: Use fast motor tables on all gl843 models 2020-02-16 10:41:29 +02:00
Povilas Kanapickas 2a3d5150cb genesys: Simplify handling of fe register writes on gl843 2020-02-16 10:41:28 +02:00
Povilas Kanapickas 5b9aad649e genesys: Stop scanner after moving head on gl843 2020-02-16 10:41:27 +02:00
Povilas Kanapickas 498b52fe98 genesys: Use same buffer and gamma write method on all chipsets 2020-02-16 10:41:26 +02:00
Povilas Kanapickas aca291906c genesys: Remove unused debug code 2020-02-16 10:41:25 +02:00
Povilas Kanapickas dcfa45c5cd genesys: Move gamma address reset to scanner interface on gl843 2020-02-16 10:41:24 +02:00
Povilas Kanapickas 9eb13d5a10 genesys: Remove reads from registers that are immediately overwritten 2020-02-16 10:41:23 +02:00
Povilas Kanapickas 7619e95eae genesys: Cleanup progress message setup during calibration 2020-02-16 10:41:22 +02:00
Povilas Kanapickas 5375699260 genesys: Use same method to clear scan and feed counts 2020-02-16 10:41:21 +02:00
Povilas Kanapickas de7375c7bb genesys: Remove legacy buffer handling code 2020-02-16 10:41:20 +02:00
Povilas Kanapickas 000b28dd30 genesys: Only ensure full exposure value is nonzero, not each byte 2020-02-16 10:41:19 +02:00
Povilas Kanapickas ddd72058b6 genesys: Reuse sanei_genesys_fixup_exposure() 2020-02-16 10:41:18 +02:00
Povilas Kanapickas b2d378d413 genesys: Make sure we don't set exposure to zero 2020-02-16 10:41:17 +02:00
Povilas Kanapickas 054a73c02c genesys: Fix calculation of secondary head position on gl843 2020-02-16 10:41:16 +02:00
Povilas Kanapickas b8fbdd346a genesys: Fix incorrect register definition on Canon 8600F 2020-02-16 10:41:15 +02:00
Povilas Kanapickas 51b09eec5c genesys: Don't set powersaving when setting cache expiration time 2020-02-16 10:41:14 +02:00
Povilas Kanapickas 9bb7ed64b6 genesys: Fix initialization of shading data when scanning in gray mode 2020-02-16 10:41:13 +02:00
Povilas Kanapickas 6ab142155c genesys: Correctly shutdown lamp on OpticFilm 7200i 2020-02-16 10:41:12 +02:00
Povilas Kanapickas b78ea29130 genesys: Don't try to turn off XPA lamp when shutting down regular lamp 2020-02-16 10:41:11 +02:00
Povilas Kanapickas 2b584095ad genesys: Remove no longer needed head movement workaround for LiDE 210 2020-02-16 10:41:10 +02:00
Povilas Kanapickas 883114f722 genesys: Use similar scan session for head movements 2020-02-16 10:41:09 +02:00
Povilas Kanapickas b54d12bc4d genesys: Define SetupParams::startx in terms of xres 2020-02-16 10:41:08 +02:00
Povilas Kanapickas 2428efd6af genesys: Fix host-side calibration when scan start position is not zero 2020-02-15 14:12:44 +02:00
Povilas Kanapickas 6e7fc639f5 genesys: Add initial support for transparency on 4400F 2020-02-15 14:12:43 +02:00
Povilas Kanapickas aec9d74845 genesys: Improve 4400F motor tables 2020-02-15 14:12:42 +02:00
Povilas Kanapickas 207f67e303 genesys: Use fast tables on 4400F 2020-02-15 14:12:41 +02:00
Povilas Kanapickas a1e292b8e3 genesys: Reflow sensor tables to take less space 2020-02-15 14:12:40 +02:00
Povilas Kanapickas b2ebbba41a genesys: Move host-side calibration setting to the sensor 2020-02-15 14:12:39 +02:00
Povilas Kanapickas 294db2a616 genesys: Fix host-side calibration when calibration data is shifted 2020-02-14 19:08:30 +02:00
Povilas Kanapickas 7f454b3e0e genesys: Observe DISABLE_SHADING flag during host-side calibration 2020-02-10 06:28:35 +02:00
Rolf Bensch 60dc64f8f8 pixma: backend version 0.27.1 2020-02-13 18:41:18 +01:00
Rolf Bensch c3d58edb08 pixma: Canon MAXIFY MB5100 Series sends ADF scans as JPEG image 2020-02-13 18:27:04 +01:00
thierry1970 f650f470b2 Replacing roundl by round. 2020-02-12 12:12:15 +01:00
thierry1970 87ff6c494a Fix convert size. 2020-02-12 11:51:02 +01:00
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
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 7415a9f5c9 Really remove libxml2 linker/loader flags from dependencies. Re #239 2020-02-06 20:56:21 +09: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 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 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 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 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
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 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
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
Ralph Little 93a0971576 hp5400: Change defaults for -x, -y, -l, -t for full page scan.
Official doc says that the max length is 297 not 300 (which scans a bit of the plastic case at the bottom)
2020-02-01 11:48:28 -08:00