Olaf Meeuwissen
8539f350fd
sanei_wire: Fix sanei_w_void function signature
...
This function needs to have the same number of arguments as any other
functions passed to sanei_w_array() via its w_element argument, i.e.
sanei_w_char and sanei_w_word, in the w_option_value() implementation
in sanei/sanei_net.c.
Fixes [-Werror=cast-function-type] compiler warning.
2019-09-24 21:22:13 +09:00
Povilas Kanapickas
cad4085565
Merge branch 'genesys-session-buffer-sizes' into 'master'
...
genesys: Use common code path for computing session buffer sizes
See merge request sane-project/backends!161
2019-09-22 20:47:19 +00:00
Povilas Kanapickas
ce2d9840a7
Merge branch 'genesys-desegmentation-refactor' into 'master'
...
genesys: Simplify desegmentation state (part 1)
See merge request sane-project/backends!160
2019-09-22 18:29:02 +00:00
Povilas Kanapickas
f44c0bb680
Merge branch 'genesys-session-line-sizes' into 'master'
...
genesys: Use common code path to compute session line sizes
See merge request sane-project/backends!159
2019-09-22 17:39:15 +00:00
Povilas Kanapickas
37734c880d
Merge branch 'genesys-session-output-line-count' into 'master'
...
genesys: Use common code path to compute session output_line_count
See merge request sane-project/backends!158
2019-09-22 17:17:29 +00:00
Povilas Kanapickas
0cf4c1d555
Merge branch 'genesys-misc-cleanup' into 'master'
...
genesys: Miscellaneous cleanup in gl646 motor code
See merge request sane-project/backends!157
2019-09-22 16:58:14 +00:00
Povilas Kanapickas
6f51393bd7
Merge branch 'genesys-session-max-color-shift-lines' into 'master'
...
genesys: Use common code path to compute session max_color_shift_lines
See merge request sane-project/backends!155
2019-09-21 15:59:41 +00:00
Povilas Kanapickas
d0365bd7e4
Merge branch 'sanei-fix--usb-testing-mode-in-release' into 'master'
...
sanei_usb: Fix uninitialized device struct in USB testing code
See merge request sane-project/backends!156
2019-09-21 15:56:34 +00:00
Povilas Kanapickas
c69e22eb76
sanei_usb: Fix uninitialized device struct in USB testing code
2019-09-21 18:42:56 +03:00
Povilas Kanapickas
9afaf9a2cf
Merge branch 'genesys-fix-total-bytes-to-read' into 'master'
...
genesys: Fix computation of total_bytes_to_read
See merge request sane-project/backends!154
2019-09-20 14:37:24 +00:00
Povilas Kanapickas
da9307c7a6
Merge branch 'genesys-session-output-pixels' into 'master'
...
genesys: Use common code path to compute session output_pixels
See merge request sane-project/backends!153
2019-09-19 22:51:01 +00:00
Povilas Kanapickas
bd35742b78
Merge branch 'genesys-handle-non-uniform-scans-at-high-level' into 'master'
...
genesys: handle non-uniform scans at high level
See merge request sane-project/backends!152
2019-09-19 22:32:54 +00:00
Povilas Kanapickas
c1b8cb5c31
Merge branch 'genesys-session-num-staggered-lines' into 'master'
...
genesys: Use common code path to compute session num_staggered_lines
See merge request sane-project/backends!151
2019-09-19 22:17:43 +00: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
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
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
Povilas Kanapickas
db36dd8103
genesys: Move pixel coordinate calculation to a single place
2019-09-15 10:36:58 +03:00