Povilas Kanapickas
7d7a395277
genesys: Implement library for image manipulation
2019-09-13 10:38:04 +03: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
60ce6b5c01
Merge branch 'stv-werror-fix-constant-redefinition' into 'master'
...
stv: Fix macro constant redefinition
See merge request sane-project/backends!171
2019-09-27 20:37:08 +00:00
Povilas Kanapickas
015252e4a8
Merge branch 'sanei-usb-optimize-test-mode-bulk-transfers' into 'master'
...
sanei_usb: Optimize bulk USB transfers in testing mode
See merge request sane-project/backends!170
2019-09-27 20:35:13 +00:00
Povilas Kanapickas
e0974ab74a
stv: Fix macro constant redefinition
2019-09-27 23:23:19 +03:00
Povilas Kanapickas
0290a26394
sanei_usb: Optimize bulk USB transfers in testing mode
2019-09-27 23:19:52 +03:00
Povilas Kanapickas
3618a244af
Merge branch 'genesys-desegmentation-refactor' into 'master'
...
genesys: Simplify desegmentation state (part 5)
See merge request sane-project/backends!169
2019-09-27 19:44:15 +00:00
Povilas Kanapickas
86b9768dd3
Merge branch 'genesys-desegmentation-refactor' into 'master'
...
genesys: Simplify desegmentation state (part 4)
See merge request sane-project/backends!168
2019-09-27 19:22:08 +00:00
Povilas Kanapickas
16b0033439
Merge branch 'genesys-fix-cxx11-build' into 'master'
...
genesys: Remove accidental use of C++14 features
See merge request sane-project/backends!166
2019-09-27 00:32:05 +00:00
Povilas Kanapickas
693ff3e77a
genesys: Remove accidental use of C++14 features
2019-09-27 03:10:53 +03:00
Povilas Kanapickas
4f1890f195
Merge branch 'genesys-desegmentation-refactor' into 'master'
...
genesys: Simplify desegmentation state (part 3)
See merge request sane-project/backends!165
2019-09-24 22:46:08 +00:00
Povilas Kanapickas
a4729cff19
Merge branch 'genesys-misc-cleanup' into 'master'
...
genesys: Miscellaneous cleanup
See merge request sane-project/backends!164
2019-09-24 21:11:09 +00:00
Povilas Kanapickas
e4e1a02733
Merge branch 'genesys-session-hwdpi-divisor' into 'master'
...
genesys: Use common code path to compute session hwdpi divisor
See merge request sane-project/backends!163
2019-09-24 15:08:50 +00:00
Povilas Kanapickas
37b60ada83
Merge branch 'genesys-desegmetation-refactor' into 'master'
...
genesys: Simplify desegmentation state (part 2)
See merge request sane-project/backends!162
2019-09-24 14:41:17 +00:00
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
Rolf Bensch
1e2f64dc3d
pixma: backend version 0.23.2
2019-09-12 22:09:22 +02:00
Rolf Bensch
aacdd88a27
pixma: update doc files
2019-09-12 22:08:49 +02:00
Rolf Bensch
fd94a7e60c
Merge branch 'MF633_635_645' into 'master'
...
pixma: new scanners Canon i-SENSYS MF633C/MF635C, MF645C
See merge request sane-project/backends!126
2019-09-12 19:42:12 +00:00
Povilas Kanapickas
a830fca943
genesys: Remove GL123 enum
2019-09-12 22:40:57 +03:00
Povilas Kanapickas
322a9a6810
genesys: Don't modify session in *_init_scan_regs()
2019-09-12 22:40:56 +03:00
Povilas Kanapickas
80d0129f44
genesys: Pass start pixel to *_init_optical_regs_scan() via session
2019-09-12 22:40:55 +03:00
Povilas Kanapickas
c0e465784e
genesys: Deduplicate different get_sensor_profile implementations
2019-09-12 22:40:54 +03:00
Povilas Kanapickas
9b7ab93727
genesys: Add unit test for genesys_fill_segmented_buffer()
2019-09-12 22:39:22 +03:00
Povilas Kanapickas
502478a40d
genesys: Reindent genesys_fill_segmented_buffer()
2019-09-12 22:39:21 +03:00
Povilas Kanapickas
c2c65f29c9
genesys: Simplify genesys_fill_segmented_buffer()
2019-09-12 22:39:20 +03:00
Povilas Kanapickas
0267eeeeae
genesys: Remove the desegmentation state struct
2019-09-12 22:22:00 +03:00
Povilas Kanapickas
3d023060a3
genesys: Move desegmentation skip_bytes to session struct
2019-09-12 22:21:59 +03:00
Povilas Kanapickas
192dd886cd
genesys: Use common code path to compute ..._segment_pixel_group_count
2019-09-12 22:21:58 +03:00
Povilas Kanapickas
4870a9f975
genesys: Properly set conseq_pixel_dist_bytes on gl124
2019-09-12 22:21:57 +03:00
Povilas Kanapickas
95eb6a72dd
genesys: Use single code path to compute session output_line_bytes_raw
2019-09-12 22:21:56 +03:00
Povilas Kanapickas
1f4a5311d7
genesys: Rename DesegmentationState::raw_{channel => line}_bytes
2019-09-12 22:21:55 +03:00
Povilas Kanapickas
61d4779402
genesys: Remove erroneously named raw_line_bytes
...
The raw_channel_bytes is what we store the line information to. Turns
out raw_line_bytes is unnecessary and only ever used by error.
2019-09-12 22:21:54 +03:00
Povilas Kanapickas
4df8872ab3
genesys: Simplify raw_channel_bytes computation more
...
On the chipsets in question, session.hwdpi_divisor == sensor.optical_res
/ sensor.get_register_hwdpi(...), so the divisor cancels out with the
rest of the expression.
2019-09-12 22:21:53 +03:00
Povilas Kanapickas
95a3836f1a
genesys: Simplify raw_channel_bytes calculation
2019-09-12 22:21:52 +03:00
Povilas Kanapickas
98320f5b81
genesys: Don't overflow in multiply_by_depth_ceil
2019-09-12 22:21:51 +03:00
Povilas Kanapickas
eb0882ecc4
genesys: Use common code path to compute session optical_pixels_raw
2019-09-12 22:11:20 +03:00
Povilas Kanapickas
3a323a751a
genesys: Use common code path to compute session conseq_pixel_dist_bytes
2019-09-12 22:11:19 +03:00
Povilas Kanapickas
52baae02dc
genesys: Use common code path to compute session hwdpi_divisor
2019-09-12 21:55:30 +03:00