Wykres commitów

4841 Commity (97dea949598220dba43fd1dcadf0f8930f81260f)

Autor SHA1 Wiadomość Data
Zdenek Dohnal 82e971a786 Fix #156 - [Fedora] Abort due out-of-bound access 2019-10-25 13:06:15 +02:00
Rolf Bensch 99ae5490a6 pixma: backend version 0.24.1 2019-10-24 15:10:23 +02:00
Rolf Bensch 7b388d14da pixma_mp150: fix scan height calculation
this fixes: pixma_mp150: remove (ccd) color shifting (fc300be)
2019-10-24 15:09:57 +02:00
Rolf Bensch 63ce515376 pixma_mp800: remove double PIXMA_CAP_CCD settings 2019-10-22 20:09:00 +02:00
Rolf Bensch 2f2bce2ae9 pixma: backend version 0.24.0 2019-10-22 19:41:49 +02:00
Rolf Bensch ab0314399a pixma_mp810: rename => pixma_mp800
1st ccd scanner in pixma_mp810 is MP800
2019-10-22 19:33:54 +02:00
Rolf Bensch fc300be715 pixma_mp150: remove (ccd) color shifting 2019-10-22 19:23:18 +02:00
Rolf Bensch 1b8fe029a2 pixma_mp150: remove unused code
unused scanner functions: ccd, tpu
2019-10-22 19:13:43 +02:00
Rolf Bensch 83a0a1c55f pixma_mp150: move ccd scanners => pixma_mp810 2019-10-22 18:03:33 +02:00
Rolf Bensch 657f1d8e26 pixma_mp810: all scanners have ccd 2019-10-22 17:46:19 +02:00
Rolf Bensch 97cd2e10bb pixma_mp750: all scanners have ccd 2019-10-22 17:46:01 +02:00
Louis Lagendijk 2b1ce918ae pixma_bjnp.c: Fixed compile warnings on My Fedora build 2019-10-18 19:45:37 +02:00
Povilas Kanapickas 0b4a5f941a genesys: Use correct min resolution for feeding 2019-10-17 22:30:27 +03:00
Povilas Kanapickas abec99006c genesys: Add missing <cmath> includes 2019-10-17 22:30:26 +03:00
Povilas Kanapickas 2d0a1a3470 genesys: Enable 1200 Y resolution on HP ScanJet 2300 2019-10-17 22:30:25 +03:00
Povilas Kanapickas 2a8be5e191 genesys: Use motor base dpi for shading calibration on gl847 2019-10-17 22:30:24 +03:00
Povilas Kanapickas 87969174bd genesys: Fix shading target for Canon LiDE 110, 120, 210, 220 2019-10-17 22:30:23 +03:00
Povilas Kanapickas 36f0685d0a genesys: Improve robustness of calibration on gl847 2019-10-17 22:30:22 +03:00
Povilas Kanapickas 67d6a194e5 genesys: Fix geometry for Canon LiDE 110 2019-10-17 22:30:21 +03:00
Povilas Kanapickas 0096d56cb6 genesys: Fix X resolution list for Canon LiDE 100 and 120 2019-10-17 22:30:20 +03:00
Povilas Kanapickas dab38144a0 genesys: Fix geometry of HP G4050 2019-10-17 22:30:19 +03:00
Povilas Kanapickas 661fa1d590 genesys: Add missing resolutions for Canon 5600F 2019-10-17 22:30:18 +03:00
Povilas Kanapickas 2c7f7fcac2 genesys: Fix sensor gamma of LiDE 100, 110, 120, 200, 210, 220 scanners 2019-10-17 22:30:17 +03:00
Povilas Kanapickas b391b35fd9 genesys: Fix uninitialized variable warning in SaneException c-tor 2019-10-17 22:30:16 +03:00
Povilas Kanapickas 1ac04c6266 genesys: Don't enable gamma when not needed 2019-10-17 22:30:15 +03:00
Povilas Kanapickas 93e980d0c1 genesys: Use median instead of mean when computing shading calib data 2019-10-17 22:07:01 +03:00
Povilas Kanapickas f9d36d1a1b genesys: Add utility to compute percentille of columns in image 2019-10-17 22:07:00 +03:00
Zdenek Dohnal bc2f40b274 Samsung C460 does not have the JPEG mode 2019-10-15 12:49:48 +02:00
Povilas Kanapickas 885eb82801 genesys: Update resolutions specific to scan method in model list 2019-10-13 18:30:28 +03:00
Povilas Kanapickas a5fe12a37f genesys: Allow supported resolutions to vary depending on scan method 2019-10-13 18:30:27 +03:00
Povilas Kanapickas 24230aea7d genesys: Simplify option setup 2019-10-13 18:30:26 +03:00
Povilas Kanapickas b716c1a457 genesys: Remove duplicate definitions of SCAN_FLAG_* 2019-10-13 18:30:25 +03:00
Povilas Kanapickas 3037ba1eaf genesys: Use a searchable name for register enums 2019-10-02 14:28:59 +03:00
Povilas Kanapickas 0ab82e9f86 genesys: Resolve various floating-point conversion warnings 2019-10-13 06:18:51 +03:00
Povilas Kanapickas f4a2957541 genesys: Use unsigned for resolution in various places 2019-10-13 06:18:50 +03:00
Povilas Kanapickas 59e356ac13 genesys: Don't use variants of M_PI that aren't guaranteed to be present 2019-10-13 06:18:49 +03:00
Povilas Kanapickas a694002364 genesys: Switch session startx and starty to unsigned
The sources and destinations are integer in most cases for these
variables.
2019-10-13 06:18:48 +03:00
Povilas Kanapickas 0840c6e9d9 genesys: Fix float conversion warnings in the tables 2019-10-13 06:18:47 +03:00
Povilas Kanapickas 68e5f8a912 genesys: Put the backend code into a separate namespace 2019-10-12 22:33:57 +03:00
Povilas Kanapickas e32a45fef8 genesys: Retrieve depth from session in genesys_warmup_lamp() 2019-10-02 12:01:27 +03:00
Povilas Kanapickas 17740df924 genesys: Remove support for binary logging 2019-10-02 12:01:26 +03:00
Rolf Bensch 41ce1eb204 pixma: backend version 0.23.5 2019-10-12 18:49:10 +02:00
Povilas Kanapickas a89ffe8f2c Merge branch 'genesys-remove-1bit-support' into 'master'
genesys: Remove support for scanning 1 bit output

See merge request sane-project/backends!212
2019-10-12 16:09:29 +00:00
Rolf Bensch d5c0240f43 Merge remote-tracking branch 'origin/master' 2019-10-12 18:07:03 +02:00
Rolf Bensch ba9bc24fd2 pixma: replace snprintf() by strftime()
strftime() uses format specifiers with fixed lengths.
2019-10-12 17:59:13 +02:00
Povilas Kanapickas eb2f836481 genesys: Remove low-level support for 1-bit depth scans 2019-10-01 18:11:52 +03:00
Povilas Kanapickas 0180c4c5d8 genesys: Remove SCAN_FLAG_DYNAMIC_LINEART 2019-10-01 18:11:51 +03:00
Povilas Kanapickas 8be96ecd60 genesys: Simplify code as dynamic_lineart is always enabled for lineart 2019-10-01 18:11:50 +03:00
Povilas Kanapickas 3263b986ce genesys: Remove support of --disable-dynamic-lineart option 2019-10-01 18:11:49 +03:00
Povilas Kanapickas bff9f2fdc4 genesys: Fix crash during sane_exit() on high debug level 2019-10-01 18:11:48 +03:00
Povilas Kanapickas 158cc81e20 genesys: Simplify setup of session depth parameter 2019-10-01 18:11:47 +03:00
Povilas Kanapickas 9581f29f13 Merge branch 'genesys-fix-warnings' into 'master'
genesys: Fix warnings not enabled in regular build

See merge request sane-project/backends!209
2019-10-12 15:43:04 +00:00
Povilas Kanapickas 5ca0acd19a Merge branch 'genesys-plustek-7300-7500i' into 'master'
genesys: Implement support for Plustek OpticFilm 7300 and 7500i scanners

See merge request sane-project/backends!210
2019-10-12 15:41:59 +00:00
Povilas Kanapickas f8623e8f53 genesys: Add support for Plustek OpticFilm 7500i 2019-10-12 18:23:56 +03:00
Povilas Kanapickas 20da3df501 genesys: Add support for Plustek Opticfilm 7300 2019-10-12 18:23:55 +03:00
Povilas Kanapickas b5e4d86eb2 genesys: Use separate translation unit for conversion functions 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 9f44bab6e0 genesys: Move backend files to a separate directory 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 09336e0286 genesys: Remove code that has no effect 2019-10-01 15:41:27 +03:00
Povilas Kanapickas cccd1e949a genesys: Fix unused exception warning 2019-10-01 15:41:26 +03:00
Povilas Kanapickas 60b6465115 genesys: Emit single vtable of ImagePipelineNodeCallableSource 2019-10-01 15:41:25 +03:00
Povilas Kanapickas c8f2a815c0 genesys: Don't use std types from global namespace 2019-10-01 15:41:24 +03:00
Povilas Kanapickas 1423db6618 genesys: Include missing includes 2019-10-01 15:41:23 +03:00
Povilas Kanapickas 42cace02c5 genesys: Simplify version logging 2019-10-01 12:09:51 +03:00
Povilas Kanapickas 4c90bfcaee genesys: Remove uses of old-style casts where possible 2019-10-01 12:09:50 +03:00
Povilas Kanapickas 8537ba21b7 genesys: Don't emit symbols of internal objects 2019-10-01 12:09:49 +03:00
Povilas Kanapickas 9c7199c09e genesys: Don't use std identifiers from global scope 2019-10-01 12:09:48 +03:00
Povilas Kanapickas bb84d6d9e4 genesys: Remove unused code 2019-10-01 12:09:47 +03:00
Povilas Kanapickas e20e73f434 genesys: Don't use C-style casts where possible 2019-10-01 12:09:46 +03:00
Povilas Kanapickas 497c9aeba2 genesys: Wrap SANE_Fixed into class which automatically converts values 2019-10-01 10:52:44 +03:00
Povilas Kanapickas b176366dcf genesys: Increase wait for home timeout to 200 seconds 2019-10-01 10:52:43 +03:00
Povilas Kanapickas 8a1bc90521 genesys: Simplify sanei_genesys_wait_for_home() 2019-10-01 10:52:42 +03:00
Povilas Kanapickas 61e1f1bf08 genesys: Simplify usage of sanei_genesys_get_status() 2019-10-01 08:18:47 +03:00
Povilas Kanapickas 26e418537f genesys: Reduce duplication of waiting for non-empty buffer state 2019-10-01 08:18:46 +03:00
Povilas Kanapickas bf9d69d20d genesys: Replace uses of SANE_Bool with bool 2019-10-01 08:18:45 +03:00
Povilas Kanapickas 6da4e69d95 genesys: Mark overridden functions consistently 2019-10-01 08:18:44 +03:00
Povilas Kanapickas 44ac90d309 genesys: Fix misuses of comma operator 2019-10-01 08:18:43 +03:00
Povilas Kanapickas 7ac53bce10 genesys: Replace uses of nullptr 2019-10-01 08:18:42 +03:00
Povilas Kanapickas 0781f3fd39 genesys: Make sure calib_reg are available before writing into them 2019-10-12 02:59:11 +03:00
Olaf Meeuwissen 0e4a2d107a Merge branch 'hh' into 'master'
uClibc-ng fixes

See merge request sane-project/backends!198
2019-10-06 02:47:36 +00:00
Povilas Kanapickas ec8dadc0a0 genesys: Use consistent names for enums of Canon scanners 2019-10-05 10:47:13 +03:00
Povilas Kanapickas 6a1055143f genesys: Use consistent names for enums of Plustek scanners 2019-10-05 10:47:13 +03:00
Rosen Penev fc699d2bf5
treewide: Replace bzero with memset
bzero was removed in POSIX 2008. It is optionally unavailable with
uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:50 -07:00
Rosen Penev 5c0f0eb128
pieusb_buffer: Define L_tmpnam if not available
uClibc-ng does not make it available for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:50 -07:00
Rosen Penev c320a72e32
treewide: Replace mktemp by mkstemp
mktemp has been removed in POSIX 2008. uClibc-ng optionally does not make
it available.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:49 -07:00
Rolf Bensch 899d6968fa pixma: backend version 0.23.3 2019-10-01 22:58:54 +02:00
Rolf Bensch af09cf3ac8 pixma: add document feeder support for i-SENSYS MF260 Series 2019-10-01 22:57:18 +02:00
Povilas Kanapickas a42a177a7a genesys: Bump calibration version 2019-09-30 13:52:05 +03:00
Povilas Kanapickas 98b4742aab genesys: Use strong enum for motor step type 2019-09-30 13:52:04 +03:00
Povilas Kanapickas 719a0cf55c genesys: Use strong enum for motor id 2019-09-30 13:52:03 +03:00
Povilas Kanapickas 45aec26104 genesys: Use strong enum for gpio type 2019-09-30 13:52:02 +03:00
Povilas Kanapickas d4ca0177a1 genesys: Use strong enum for ADC id 2019-09-30 13:52:01 +03:00
Povilas Kanapickas df14234297 genesys: Use strong enum for sensor id 2019-09-30 13:52:00 +03:00
Povilas Kanapickas 66937f6468 genesys: Remove invalid comment 2019-09-30 13:51:59 +03:00
Povilas Kanapickas 6971301590 genesys: Rename Genesys_Sensor::{CCD -> ccd}_start_xoffset 2019-09-30 13:51:58 +03:00
Povilas Kanapickas 591309a29e genesys: Use strongly typed enum for model id 2019-09-30 13:51:57 +03:00
Povilas Kanapickas 290d19a097 Merge branch 'genesys-model-flag-inverted-output' into 'master'
genesys: Introduce a model flag for inverted 16-bit output

See merge request sane-project/backends!202
2019-10-05 06:27:44 +00:00
Povilas Kanapickas 7fb6582157 genesys: Introduce a model flag for inverted 16-bit output 2019-10-05 09:09:13 +03:00
Povilas Kanapickas 32dea76956 genesys: Use virtual functions for command set actions 2019-10-05 09:03:18 +03:00
Povilas Kanapickas 1face9299d genesys: Fix uninitialized option group names 2019-10-05 02:25:34 +03:00
Povilas Kanapickas 643ac8eab2 genesys: Fix memory leaks in global data 2019-10-05 02:25:34 +03:00
Rolf Bensch 65d9497ff3 pixma: fix network scanner model for Canon i-SENSYS MF640 Series 2019-10-04 21:29:13 +02:00
Rolf Bensch d78dc1a30b Merge remote-tracking branch 'origin/master' 2019-10-04 11:22:09 +02:00
Rolf Bensch 4239428c87 pixma: backend version 0.23.4 2019-10-04 11:21:43 +02:00
Rolf Bensch 14851d780d pixma: CanoScan LiDE 300 supports max. 2400 dpi 2019-10-04 11:21:14 +02:00
Povilas Kanapickas ef29ed60c2 genesys: Implement support for Plustek Opticfilm 7200i 2019-09-30 00:58:57 +03:00
Povilas Kanapickas 0146888d79 genesys: Implement infrared scanning support on OpticFilm 7200i 2019-09-19 01:28:17 +03:00
Povilas Kanapickas 1bab4037f5 genesys: Remove unused command set name property 2019-09-18 23:31:47 +03:00
Povilas Kanapickas 60534b89ae genesys: Store the calibration session into device struct 2019-09-18 23:31:46 +03:00
Povilas Kanapickas 17fe9d8393 genesys: Print debug image of raw data coming from the scanner 2019-09-18 23:31:45 +03:00
Povilas Kanapickas 4c9f9f0847 Merge branch 'genesys-host-side-calibration' into 'master'
genesys: Implement support for host-side calibration

See merge request sane-project/backends!195
2019-09-29 18:44:12 +00:00
Povilas Kanapickas 7df7acbafd Merge branch 'genesys-gl843-image-calibration' into 'master'
genesys: Use image pipeline for calibration on gl843

See merge request sane-project/backends!194
2019-09-29 18:31:46 +00:00
Povilas Kanapickas cf5f30dec3 Merge branch 'genesys-fix-depth-option' into 'master'
genesys: Fix handling of the `--depth` option

See merge request sane-project/backends!193
2019-09-29 18:23:12 +00:00
Povilas Kanapickas b3445a1803 Merge branch 'genesys-move-register-lists-to-separate-files' into 'master'
genesys: Move register address lists to separate files

See merge request sane-project/backends!192
2019-09-29 18:09:59 +00:00
Povilas Kanapickas a30daa96d1 Merge branch 'genesys-misc-cleanup' into 'master'
genesys: Miscellaneous cleanup

See merge request sane-project/backends!191
2019-09-29 18:00:13 +00:00
Povilas Kanapickas 323f37753a genesys: Implement support for host-side calibration 2019-09-18 03:54:52 +03:00
Povilas Kanapickas 5e2a0f5724 genesys: Use Image in gl843_search_strip() 2019-09-17 17:21:06 +03:00
Povilas Kanapickas 08a4d8455f genesys: Use Image in gl843_coarse_gain_calibration() 2019-09-17 17:21:05 +03:00
Povilas Kanapickas 0746035980 genesys: Use Image in gl843_offset_calibration() 2019-09-17 17:21:04 +03:00
Povilas Kanapickas ac54f7f9bd genesys: Use Image in gl843_led_calibration() 2019-09-17 17:21:03 +03:00
Povilas Kanapickas 4a62165014 genesys: Use Image in gl843_search_start_position 2019-09-17 17:21:02 +03:00
Povilas Kanapickas 93395bd24e genesys: Add wrapper to retrieve raw channel value from image 2019-09-17 17:21:01 +03:00
Povilas Kanapickas 4f74dceaba genesys: Add wrapper that reads Image from the scanner 2019-09-17 17:21:00 +03:00
Povilas Kanapickas a5006703a3 genesys: Implement wrapper that writes Image to pnm file 2019-09-17 17:20:59 +03:00
Povilas Kanapickas 093439153e genesys: Add a way to retrieve full output of pipeline as an image 2019-09-17 17:20:58 +03:00
Povilas Kanapickas 3c99d405e0 genesys: Fix the default value of the depth option 2019-09-16 12:44:01 +03:00
Povilas Kanapickas a93d80651f genesys: Don't disable depth option even if one value is possible 2019-09-16 12:44:00 +03:00
Povilas Kanapickas b09aa6584d genesys: Add include guards to headers where missing 2019-09-16 11:36:02 +03:00
Povilas Kanapickas dc1350781f genesys: Move register address lists to separate files 2019-09-16 11:36:01 +03:00
Povilas Kanapickas 32c49e5ec1 Merge branch 'genesys-image-full-ownership' into 'master'
genesys: Add class that handles full ownership of image data

See merge request sane-project/backends!188
2019-09-29 17:25:50 +00:00
Povilas Kanapickas e53058e8b0 genesys: Add class that handles data ownership for full image 2019-09-29 20:03:48 +03:00
Povilas Kanapickas 6ced865d53 genesys: Move pixel-related functionality to separate file 2019-09-29 20:03:48 +03:00
Povilas Kanapickas 28b216513e Merge branch 'genesys-misc-cleanup' into 'master'
genesys: Miscellaneous cleanup

See merge request sane-project/backends!185
2019-09-28 18:22:42 +00:00
Povilas Kanapickas 11c80b129e genesys: Extract wait_until_has_valid_words() 2019-09-16 09:50:12 +03:00
Povilas Kanapickas b58192493e genesys: Properly use 16-bit data when calibrating 2019-09-16 09:50:11 +03:00
Povilas Kanapickas 599443bf72 genesys: Remove uses of dev->read_bytes_left_after_deseg 2019-09-16 09:34:15 +03:00
Povilas Kanapickas 5e60cc3636 genesys: Simplify calculations when on early document end 2019-09-16 09:34:14 +03:00
Povilas Kanapickas 20ad0c8c2e genesys: Add output_line_bytes_requested to the session struct 2019-09-16 09:34:13 +03:00
Povilas Kanapickas 88adea9cd6 genesys: Add the number of total bytes to the session struct 2019-09-16 09:34:12 +03:00
Povilas Kanapickas c3e7411aca genesys: Allow limiting the amount of data read from pipeline sources 2019-09-16 09:34:11 +03:00
Povilas Kanapickas 663e3a99ed genesys: Add a way to report persistent eof() status from pipeline 2019-09-16 09:34:10 +03:00
Povilas Kanapickas 2e10f4ac17 genesys: Report failures to produce full lines in pipeline 2019-09-16 09:34:09 +03:00
Povilas Kanapickas f2b1b4449e genesys: Add a way to use an image as a source for a pipeline 2019-09-16 09:34:08 +03:00
Povilas Kanapickas ab62a1448c genesys: Use session for pixel coordinates during calibration 2019-09-15 15:40:31 +03:00
Povilas Kanapickas b9346f0f79 genesys: Add a way to multiply the pixel counts sent to the scanner 2019-09-15 15:14:18 +03:00
Povilas Kanapickas 00b8441dfa genesys: Add a way to override logical HW dpi 2019-09-15 15:14:17 +03:00
Povilas Kanapickas 34c7a4cb29 genesys: Rename {dpihw => register_dpihw}_override 2019-09-15 15:14:16 +03:00
Povilas Kanapickas 050b0c1d8a genesys: Invert meaning of GENESYS_FLAG_LAZY_INIT 2019-09-15 14:46:48 +03:00
Povilas Kanapickas c7bb34c998 genesys: Simplify calibration calculations on GL843 2019-09-15 14:46:47 +03:00
Povilas Kanapickas 079fa25b0d genesys: Allow full value range of the frontend registers to be set 2019-09-15 14:46:46 +03:00
Povilas Kanapickas 2bb31ed5d8 genesys: Remove duplicate logs of information included into session 2019-09-15 14:46:45 +03:00
Olaf Meeuwissen 345be52f9e nec: Fix [-Werror=implicit-fallthrough] warning
The fallthrough would log a message that is probably misleading.
2019-09-28 20:33:26 +09:00
Povilas Kanapickas 29580b08b5 Merge branch 'genesys-deduplicate-shading-calibration' into 'master'
genesys: Deduplicate shading calibration

See merge request sane-project/backends!184
2019-09-28 05:49:11 +00:00
Povilas Kanapickas bf3e170dba Merge branch 'genesys-use-image-pipeline' into 'master'
genesys: Use new image operations pipeline for image data reading and conversion

See merge request sane-project/backends!183
2019-09-28 05:48:28 +00:00
Povilas Kanapickas f3d0a7c17c Merge branch 'genesys-fix-pow-ambiguity' into 'master'
genesys: Fix ambiguity of std::pow() on old compilers

See merge request sane-project/backends!182
2019-09-28 05:34:34 +00:00
Povilas Kanapickas bee1179e0e genesys: Print debug images of intermediate pipeline output 2019-09-28 07:33:28 +03:00
Povilas Kanapickas 41addb9730 genesys: Fix debug identifiers 2019-09-28 07:33:28 +03:00
Povilas Kanapickas 9cd1de5c52 genesys: Add a way to debug image pipelines 2019-09-28 07:33:28 +03:00
Povilas Kanapickas cd712f9f99 genesys: Use new image pipeline for row scaling 2019-09-28 07:33:28 +03:00
Povilas Kanapickas bf7e890fa4 genesys: Use new image pipeline for CCD line shifts and unstagger 2019-09-28 07:33:28 +03:00
Povilas Kanapickas 0b1bfa3f12 genesys: Swap 16-bit pixel endian on big endian machines 2019-09-28 07:33:27 +03:00
Povilas Kanapickas cae3015b66 genesys: Use new image pipeline for format and CIS reordering 2019-09-28 07:33:27 +03:00
Povilas Kanapickas 8cf5735278 genesys: Fix ambiguity of std::pow() on old compilers 2019-09-28 07:31:22 +03:00
Olaf Meeuwissen 9eefac82ca Merge branch '103-add-old-changelogs-to-source-tarball' into 'master'
Resolve "Source tarball does not include older ChangeLogs"

Closes #103

See merge request sane-project/backends!127
2019-09-28 03:09:07 +00:00
Povilas Kanapickas a500f577c0 Merge branch 'genesys-calibration-variable-names' into 'master'
genesys: Improve clarity of calibration offset variable names

See merge request sane-project/backends!180
2019-09-27 22:43:07 +00:00
Povilas Kanapickas c9e95999f3 Merge branch 'genesys-generic-register-set' into 'master'
genesys: Make GenesysRegisterSettingSet generic

See merge request sane-project/backends!179
2019-09-27 22:38:55 +00:00
Povilas Kanapickas db36dd8103 genesys: Move pixel coordinate calculation to a single place 2019-09-15 10:36:58 +03:00
Povilas Kanapickas be4c3c1f69 genesys: Reduce duplication of shading calculations 2019-09-14 13:49:23 +03:00
Povilas Kanapickas 580b9db562 genesys: Don't duplicate actions when DARK_CALIBRATION flag is off 2019-09-14 13:49:22 +03:00
Povilas Kanapickas 8790940cc3 genesys: Remove code that has no effects 2019-09-14 13:49:21 +03:00
Povilas Kanapickas 154ab4578b genesys: Extract calculation of dummy dark shading 2019-09-14 13:49:20 +03:00
Povilas Kanapickas 6f29caef0d genesys: Extract post-shading repark out of white calibration function 2019-09-14 13:49:19 +03:00
Povilas Kanapickas 802a62ee2c genesys: Fix incorrect calculation of output_line_bytes_raw on gl646 2019-09-13 16:40:42 +03:00
Povilas Kanapickas 40b2d8928f genesys: Fix definition of output_line_bytes_raw on gl841 CIS scanners 2019-09-13 16:40:41 +03:00
Povilas Kanapickas 434b03d498 genesys: Fix definition of output_line_bytes_raw on gl124 2019-09-13 16:40:40 +03:00
Povilas Kanapickas efbfcb0a7f genesys: Improve clarity of calibration offset variable names 2019-09-13 16:03:21 +03:00
Povilas Kanapickas dc52dc84f0 Merge branch 'genesys-misc-cleanup' into 'master'
genesys: Miscellaneous cleanup

See merge request sane-project/backends!177
2019-09-27 21:56:17 +00:00
Povilas Kanapickas 7a8da5c40b Merge branch 'genesys-analog-devices-adc-calibration' into 'master'
genesys: Implement gain calibration for Analog-Devices ADC

See merge request sane-project/backends!176
2019-09-27 21:32:02 +00:00
Povilas Kanapickas 0440123bdc Merge branch 'genesys-gl843-segmented-sensors' into 'master'
genesys: Add support for segmented sensors on gl843

See merge request sane-project/backends!175
2019-09-27 21:21:09 +00:00
Povilas Kanapickas 4cd9dbb73d Merge branch 'genesys-image-library' into 'master'
genesys: Implement a streaming image library

See merge request sane-project/backends!174
2019-09-27 21:06:44 +00:00
Povilas Kanapickas c59f9a037b Merge branch 'genesys-default-scan-method' into 'master'
genesys: Add a way to specify default scan method

See merge request sane-project/backends!173
2019-09-27 20:55:51 +00:00
Povilas Kanapickas 17dc1aee81 Merge branch 'genesys-desegmentation-refactor' into 'master'
genesys: Simplify desegmentation state (part 6)

See merge request sane-project/backends!172
2019-09-27 20:44:47 +00:00
Povilas Kanapickas e0974ab74a stv: Fix macro constant redefinition 2019-09-27 23:23:19 +03:00
Povilas Kanapickas 661aa3bcdb genesys: Make GenesysRegisterSettingSet generic 2019-09-13 15:56:44 +03:00
Povilas Kanapickas d4e4bf35c1 genesys: Fix a bug in segmented sensors when scanning 16-bit data 2019-09-13 15:37:33 +03:00
Povilas Kanapickas af17797d3c genesys: Use new image pipeline for handling segmented sensors 2019-09-13 15:37:32 +03:00
Povilas Kanapickas 7f852e0417 genesys: Fix depth calculation for segmented sensors in lineart mode 2019-09-13 15:37:31 +03:00
Povilas Kanapickas e89c6a0aab genesys: Remove accidental uses of C++14 APIs 2019-09-13 15:37:30 +03:00
Povilas Kanapickas 9a844e1ede genesys: Compute what image processing will be needed in session 2019-09-13 11:36:56 +03:00
Povilas Kanapickas a5efb96978 genesys: Replace uses of Genesys_Color_Order with ColorOrder 2019-09-13 11:36:55 +03:00
Povilas Kanapickas 05ed63fa34 genesys: Move setup of read buffer to a single function 2019-09-13 11:36:54 +03:00
Povilas Kanapickas 28d15784e4 genesys: Remove unused code 2019-09-13 11:36:53 +03:00
Povilas Kanapickas 8ed2cd991b genesys: Initialize frontend state from the outset 2019-09-13 11:36:52 +03:00
Povilas Kanapickas d73915ba19 genesys: Implement gain calibration for Analog-Devices ADC 2019-09-13 11:01:48 +03:00
Povilas Kanapickas e45e668326 genesys: Extract gain computation into a separate function 2019-09-13 11:01:47 +03:00
Povilas Kanapickas 94c1cf1d5a genesys: Add clamp() utility function 2019-09-13 11:01:46 +03:00
Povilas Kanapickas ad1067ad03 genesys: Add support for segmented sensors on gl843 2019-09-13 10:52:35 +03:00
Povilas Kanapickas 1c7ef4b55e genesys: Implement image data source that mimics current reading from USB 2019-09-13 10:38:05 +03:00
Povilas Kanapickas 7d7a395277 genesys: Implement library for image manipulation 2019-09-13 10:38:04 +03:00
Povilas Kanapickas 2f3d9e9d76 genesys: Don't crash when default scan method is not supported 2019-09-12 23:48:16 +03:00
Povilas Kanapickas 4c18ef27a2 genesys: Raise exception when device structs are not found 2019-09-12 23:48:15 +03:00