Wykres commitów

5181 Commity (escl-error-read-jpeg)

Autor SHA1 Wiadomość Data
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
Povilas Kanapickas ac5e086eb7 genesys: Improve motor tables on 8400F 2020-02-01 16:58:35 +02:00
Povilas Kanapickas d19e48d5ab genesys: Improve motor tables on OpticFilm 7500i 2020-02-01 14:23:04 +02:00
Povilas Kanapickas f3f0143500 genesys: Improve motor tables on OpticFilm 7300 2020-02-01 14:23:03 +02:00
Povilas Kanapickas 8b3b85c160 genesys: Improve motor tables on OpticFilm 7200i 2020-02-01 14:23:02 +02:00
Povilas Kanapickas 0b75ffdf36 genesys: Improve motor tables on 8400F 2020-02-01 14:23:01 +02:00
Povilas Kanapickas 6d15a0da5a genesys: Improve motor tables on 8600F 2020-02-01 14:23:00 +02:00
Povilas Kanapickas 6f9a3cfa2c Merge branch 'genesys-improve-motor-support' into 'master'
genesys: Improve motor support

See merge request sane-project/backends!318
2020-01-31 22:58:52 +00:00
Povilas Kanapickas a5d63baf3d genesys: Implement support for fast movement curves in the motor table 2020-01-31 20:13:18 +02:00
Povilas Kanapickas 91d5235d4b genesys: Make get_motor_profile* reusable for different profile sets 2020-01-31 20:13:17 +02:00
Povilas Kanapickas 247a6b7882 genesys: Add support for per-resolution or per-method motor profiles 2020-01-31 20:13:16 +02:00
Povilas Kanapickas 479718a6b5 genesys: Add motor vref to motor profiles 2020-01-31 20:13:15 +02:00
Povilas Kanapickas 002d2ff2db genesys: Use motor profiles from motor tables 2020-01-31 20:13:14 +02:00
Povilas Kanapickas e5e8ea3d3f genesys: Add motor profile information to motors table 2020-01-31 20:13:13 +02:00
Povilas Kanapickas 879587f303 genesys: Rename Genesys_Motor::{get_slope -> get_slope_with_step_type} 2020-01-31 20:13:12 +02:00
Povilas Kanapickas 7dca191b14 genesys: Merge chip-specific motor tables into one 2020-01-31 20:13:11 +02:00
Povilas Kanapickas 2d0fc3ce55 genesys: Don't rely on motor profile fallbacks 2020-01-31 20:13:10 +02:00
Thierry HUCHARD 0ca9390279 Fix style. 2020-01-31 18:32:32 +01:00
Thierry HUCHARD 5298b0e018 Setting up the cut-out of the received image. 2020-01-31 18:28:04 +01:00
Thierry HUCHARD d42521dfd4 Geometry correction and use of the milimeter as a unit of measurement. 2020-01-31 17:42:52 +01:00
Thierry HUCHARD 8c15724b43 Added milimeter-to-pixel and pixel-to-milimeter conversion function. 2020-01-31 17:19:42 +01:00
Thierry HUCHARD 58df3795ee Fix geometry. 2020-01-27 20:47:56 +01:00
Thierry HUCHARD 76726491d9 Billing for cleaning. 2020-01-26 10:16:06 +01:00
Thierry HUCHARD bb5b109560 Fix memory leak. 2020-01-26 08:28:19 +01:00
Thierry HUCHARD bb9c4ead76 Merge remote-tracking branch 'origin/master' into escl-simple-scan 2020-01-25 17:32:10 +01:00
Povilas Kanapickas 99fde7b12e genesys: Slightly tweak X TA offset on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 0c84e1951a genesys: Fix incorrect X TA offset on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 9c10d59ce8 genesys: Fix 3200 dpi flatbed support on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas b9a4054775 genesys: Fix sensor tables on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 15bbc3d0b3 genesys: Rewrap sensor settings for 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 0abb83ead4 genesys: Fix incorrect number of sensor pixels on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 75b2bd6445 genesys: Fix incorrect calculation of X offsets on 8400F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 8532e63194 genesys: Fix incorrect calculation of X offsets on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 1748e625f0 genesys: Fix recovery from interrupted transparency scans on 8600F 2020-01-25 15:11:45 +02:00
Povilas Kanapickas 0a7813177b genesys: Reduce code duplication in gl841 session setup code 2020-01-25 11:28:30 +02:00
Povilas Kanapickas 374578abce genesys: Reduce code duplication in gl843 session setup code 2020-01-25 11:28:29 +02:00
thierry1970 70ae518fc6 Fix break build. 2020-01-23 13:02:38 +01:00
thierry1970 a0845a8322 Verify allocation and add debug. 2020-01-23 12:20:48 +01:00
thierry1970 51b9883603 Displays SSL if the device uses https. 2020-01-23 08:53:19 +01:00
Gerhard Jäger 5747ffa9fb Issue#113: Fix applied (thanks David Binderman). 2020-01-13 09:38:30 +01:00
Povilas Kanapickas 8d07515bea Merge branch 'genesys-refactor-motor-handling' into 'master'
genesys: Refactor motor handling

See merge request sane-project/backends!308
2020-01-12 19:26:35 +00:00
Povilas Kanapickas c5f397e778 genesys: Extract handle_motor_position_after_hove_back_home_ta() 2020-01-12 10:57:11 +02:00
Povilas Kanapickas e8e56e33d3 genesys: Make XPA motor mode handling more generic 2020-01-12 10:57:10 +02:00
Povilas Kanapickas 23f3f80e38 genesys: Remove duplicate head position reset 2020-01-12 10:57:09 +02:00
Povilas Kanapickas 645820bc4d genesys: Improve set_head_pos_unknown() to set status per head 2020-01-12 10:57:08 +02:00
Povilas Kanapickas a676810f5d genesys: Implement function to apply settings with backup 2020-01-12 10:57:07 +02:00
Povilas Kanapickas 05978e1c8b genesys: Move *_set_xpa_lamp_power() to common command set 2020-01-12 10:57:06 +02:00
Povilas Kanapickas cbb3d98e83 genesys: Move *_set_xpa_motor_power() to common command set 2020-01-12 10:57:05 +02:00
Povilas Kanapickas 3753716e04 genesys: Add a class to move common command set functions to 2020-01-12 10:57:04 +02:00
Povilas Kanapickas 8b129b32ff genesys: Simplify handling of xpa motor state on gl843 2020-01-12 10:57:03 +02:00
Olaf Meeuwissen 055cd9f282 dll: Sort dll.conf.in for ease of maintenance
Only the `net` backend is treated special to match the file comment.
2020-01-12 17:11:40 +09:00
Olaf Meeuwissen 4f77e6dcfa dll: Add kvs40xx and pieusb backends to dll.conf.in 2020-01-12 17:10:38 +09:00
Olaf Meeuwissen 8ae5ba0522 escl: Use standardized, translated option group titles 2020-01-12 14:46:14 +09:00
Olaf Meeuwissen 42b2562470 Merge branch 'escl-debug' into 'master'
Log message improvements.

See merge request sane-project/backends!302
2020-01-12 03:37:34 +00:00
Olaf Meeuwissen d9188a7699 Merge branch '153-is-pthread_t-check-for-non-integers-still-neccesary' into 'master'
Resolve "Is pthread_t check for non-integers still necessary?"

Closes #153

See merge request sane-project/backends!289
2020-01-12 03:16:45 +00:00
Povilas Kanapickas 0830b83915 Merge branch '188-hp-scanjet-3670-fails-to-scan-at-75dpi' into 'master'
Resolve "HP ScanJet 3670 fails to scan at 75dpi"

Closes #188

See merge request sane-project/backends!298
2020-01-11 15:50:06 +00:00
Thierry HUCHARD d40a8ff90d Delete unused file. 2020-01-11 09:15:51 +01:00
Thierry HUCHARD d8f983bbd9 Log message improvements. 2020-01-11 08:56:46 +01:00
Olaf Meeuwissen e5e601379c dll: Enable loading of escl backend 2020-01-09 21:09:06 +09:00
Olaf Meeuwissen 28264dcfd8 Merge branch 'escl-Securing-libcurl' into 'master'
Escl securing libcurl

See merge request sane-project/backends!297
2020-01-08 11:29:40 +00:00
Olaf Meeuwissen 8b611a252d Merge branch 'escl-Memory-and-file-handle-leak' into 'master'
Escl memory and file handle leak

See merge request sane-project/backends!296
2020-01-08 11:28:08 +00:00
Ralph Little c4a88e6bf4 genesys: renamed HP ScanJet 3670C to 3670. Model has no C suffix 2020-01-07 22:52:14 -08:00
Ralph Little 88ea0d48e7 genesys: added 50dpi to HP ScanJet 3670 backend
Windows driver supports 50dpi as the lowest mode.
2020-01-07 22:36:09 -08:00
Louis Lagendijk bd2d5f5e7d pixma_bjnp: Report that scanner model is not supported as suggested in issue #69
pixma: Improved logging for search for scanner model
  Moved lookup_scanner from pixma_io_sanei.c to pixma_bjnp.c

pixma_io_sanei.c: fix whitespace
2020-01-07 16:07:46 +00:00
Ordissimo 74131ede6c Add header curl. 2020-01-07 14:14:19 +00:00
thierry1970 94daddc6bd cURL global init/cleanup issues. 2020-01-07 15:01:47 +01:00
thierry1970 66ec4dda26 Buffer overflow. 2020-01-07 14:07:29 +01:00
thierry1970 7e192f8ba7 Memory and file handle leak. 2020-01-07 14:06:11 +01:00
Rolf Bensch dad063068d pixma: backend version 0.27.0 2020-01-05 12:49:20 +01:00
Rolf Bensch b7e0d9afae pixma: fix comment 2020-01-05 12:26:24 +01:00
Rolf Bensch 7b228be5e7 pixma: move source files to subfolder 2020-01-05 12:26:24 +01:00
Rolf Bensch ba2f14fde1 pixma: backend version 0.26.1 2020-01-04 12:39:59 +01:00
Rolf Bensch d910d52dab pixma: restrict ADFDUP scans to 300dpi for i-SENSYS MF741C/743C 2020-01-04 11:56:21 +01:00
Rolf Bensch cf506daab3 pixma: new scanner Canon i-SENSYS MF741/743 2020-01-04 11:56:21 +01:00
Povilas Kanapickas 45952fdd69 genesys: Reduce duplication of scanner read methods on gl847 2020-01-04 12:09:29 +02:00
Povilas Kanapickas 8bd8174cc9 genesys: Reduce duplication of scanner read methods on gl846 2020-01-04 12:09:28 +02:00
Povilas Kanapickas d74c4b6b68 genesys: Reduce duplication of scanner read methods on gl841 2020-01-04 12:09:27 +02:00
Povilas Kanapickas 67d3c134a9 genesys: Reduce duplication of scanner read methods on gl124 2020-01-04 12:09:26 +02:00
Povilas Kanapickas c39cb0d4b9 genesys: Fix definition of session's output_segment_pixel_group_count 2020-01-04 12:09:25 +02:00
Povilas Kanapickas 2269e05fac genesys: Fix pipeline setup in read_unshuffled_image_from_scanner() 2020-01-04 12:09:24 +02:00
Povilas Kanapickas 8d2081cda8 genesys: Deduplicate calculation of scan line count 2020-01-04 12:09:23 +02:00
Povilas Kanapickas b5b50758f5 genesys: Remove out of date note 2020-01-04 12:09:22 +02:00
Povilas Kanapickas eb45a1b709 genesys: Handle segmented sensors in read_unshuffled_image_from_scanner 2020-01-04 12:09:21 +02:00
Povilas Kanapickas 444f25b96f genesys: Remove duplicate computations of line length 2020-01-04 12:09:20 +02:00
Jakub Benda b30784a730 xerox_mfp: Fix Samsung CLX-3175FW color scan "Not a JPEG file"
Exclude "Samsung CLX-3170 Series" from JPEG mode. Closes #200.

Reference: https://gitlab.com/sane-project/backends/issues/200
2020-01-03 19:50:36 +03:00
Olaf Meeuwissen 8d022c29b2 Merge branch 'escl-png' into 'master'
Added PNG and TIFF decoder.

See merge request sane-project/backends!283
2020-01-02 10:57:08 +00:00
thierry1970 5927ecfa2a Using strcmp instead of strncmp, strncmp is not justified. 2020-01-02 09:39:16 +01:00
Olaf Meeuwissen 3a1d6dbb96 .gitignore: .dirstamp files and *-s.cpp files
[skip CI]
2019-12-31 12:49:40 +09:00
Olaf Meeuwissen c821f277f3 build: Rename *THREAD_LIBS parameters
This aims to clarify the purpose of each parameter: SANEI_THREAD_LIBS
for any code that uses sanei/sanei_thread.c and a plain PTHREAD_LIBS
for code that uses the pthread library directly.
2019-12-31 12:33:13 +09:00
Olaf Meeuwissen 9050ae3b6a mustek_usb2: Remove unneeded linking arguments 2019-12-31 12:14:46 +09:00
Olaf Meeuwissen 378a85fe09 Don't disable backends using pthreads directly. Fixes #153
The use of pthreads was disabled in case of a non-integral pthread_t
type in 756d286f36 as the sanei_thread
implementation assumes an integral type.  This also disabled building
of the kvs40xx and mustek_usb2 backends which use pthreads directly.

This re-enables the build of these backends.
2019-12-31 11:55:31 +09:00
Olaf Meeuwissen 75310001f1 Merge branch 'fix-kvs40xx-cast-function-type-warning' into 'master'
kvs40xx: Fix [-Wcast-function-type] compiler warning.  Re #120

See merge request sane-project/backends!229
2019-12-30 06:19:39 +00:00
Klaus Kämpf 4c8e4dd934 pieusb: fix compiler warnings
fixes #196
2019-12-30 11:56:24 +09:00
Thierry HUCHARD 160b63a9c2 Using strcmp instead of strncmp, strncmp is not justified. 2019-12-29 10:52:11 +01:00
Thierry HUCHARD 925bf77419 Removing the png and tiff test from the header. 2019-12-29 10:50:43 +01:00
Rolf Bensch 6f34396ab4 pixma: backend version 0.26.0 2019-12-28 13:58:11 +01:00
Rolf Bensch a7c78f41d6 pixma: reorder scanner defines 2019-12-28 13:54:34 +01:00
Ordissimo 18670166a6 pixma: Add model 2019: G6000, G6080, TS5300, TS5380, TS6300, TS6380, TS7330, TS8300, TS8380, TS8330, XK60, TS6330, TS3300 and E3300 2019-12-28 12:53:52 +00:00
Rolf Bensch b1ad53fff5 Merge branch 'perillamint/backends-add-canon-pixma-g2010-support'
pixma: Add support for Canon PIXMA G2010 Series

see merge request sane-project/backends!223
2019-12-28 13:34:47 +01:00
Rolf Bensch aa76967917 pixma: fix device define for Canon PIXMA G2010 Series 2019-12-28 13:26:11 +01:00
thierry1970 d527110a52 Merge commit '5275b3bb' into escl-png 2019-12-27 15:23:02 +01:00
thierry1970 f956fd00ba Merge commit '45c67025' into escl-png 2019-12-27 15:22:38 +01:00
thierry1970 5275b3bbd6 Solves the problem of HP device discovery. 2019-12-27 15:07:10 +01:00
thierry1970 45c6702552 Formatting of the code to not exceed 80 characters. 2019-12-27 15:04:57 +01:00
Ralph Little adf9bb837f Resolve "hpsj5s backend generates compiler warnings in Debian 10" 2019-12-27 11:22:05 +00:00
Povilas Kanapickas 7a76f21ccd Merge branch 'genesys-lide-fixes' into 'master'
genesys: Various fixes affecting LiDE 100,110,120,200,210,220

See merge request sane-project/backends!284
2019-12-26 15:31:53 +00:00
Povilas Kanapickas 53efe5822d genesys: Remove excessive debug logs during data read 2019-12-26 17:13:34 +02:00
Povilas Kanapickas 2b00ef3995 genesys: Improve calibration speed by making convergence faster 2019-12-26 17:13:33 +02:00
Povilas Kanapickas fd13c10b5c genesys: Fix invalid memory access in ImagePipelineNodeDesegment 2019-12-26 17:13:32 +02:00
Povilas Kanapickas cacc68a6d4 genesys: Fix initial register values on gl124 2019-12-26 17:13:31 +02:00
Povilas Kanapickas 66ac8c6203 genesys: Fix sensor table for LiDE 120 2019-12-26 17:13:30 +02:00