Wykres commitów

233 Commity (b58192493e33a54ae53a209f8a8d181795e17b44)

Autor SHA1 Wiadomość Data
Povilas Kanapickas b58192493e genesys: Properly use 16-bit data when calibrating 2019-09-16 09:50:11 +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 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 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 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
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 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 efbfcb0a7f genesys: Improve clarity of calibration offset variable names 2019-09-13 16:03:21 +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 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 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 ad1067ad03 genesys: Add support for segmented sensors on gl843 2019-09-13 10:52:35 +03: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 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
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 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 3a323a751a genesys: Use common code path to compute session conseq_pixel_dist_bytes 2019-09-12 22:11:19 +03:00
Povilas Kanapickas 41b5e5f5ff genesys: Use common code path to compute session segment_count 2019-09-12 21:24:30 +03:00
Povilas Kanapickas 676831dc7b genesys: Move Genesys_Device::curr to DesegmentationState 2019-09-12 21:26:58 +03:00
Povilas Kanapickas f92253adc8 genesys: Move Genesys_Device::segnb to DesegmentationState 2019-09-12 21:26:57 +03:00
Povilas Kanapickas 31820384de genesys: Move Genesys_Device::skip to DesegmentationState 2019-09-12 21:26:55 +03:00
Povilas Kanapickas 9bd14f5350 genesys: Move Genesys_Device::len to DesegmentationState 2019-09-12 21:26:54 +03:00
Povilas Kanapickas 07d8db5423 genesys: Move Genesys_Device::dist to DesegmentationState 2019-09-12 21:26:53 +03:00
Povilas Kanapickas dd70296827 genesys: Move desegmentation line width data to a separate struct 2019-09-12 21:26:52 +03:00
Povilas Kanapickas 88d6cdcc32 genesys: Rename read_bytes_left -> read_bytes_left_after_deseg 2019-09-12 20:06:38 +03:00
Povilas Kanapickas 50e5c80434 genesys: Remove low-level handling of xdpi < ydpi case
The high-level code ensures that the xdpi is always natively supported
by the scanner.
2019-09-12 18:21:18 +03:00
Povilas Kanapickas 21254ad929 genesys: Use Sensor::optical_res directly where possible 2019-09-12 18:21:16 +03:00
Povilas Kanapickas a2ade50870 genesys: Ensure that resolution is set to a supported one at high-level
Previously we relied on low-level implementation to detect when the
requested resolution is higher than one supported by the scanner and
seamlessly patch around so that the high-level code does not notice.
This complicates the low level implementation and results to duplicate
code.
2019-08-18 11:13:01 +03:00
Povilas Kanapickas 61a055a8cf genesys: Pass the line width requested by the frontend separately 2019-08-18 11:13:00 +03:00
Povilas Kanapickas 0b2840a3ff genesys: Clarify frontend param processing a little 2019-08-18 11:12:59 +03:00
Povilas Kanapickas ec0ceaebb5 genesys: Use correct resolution to select sensor during option parsing 2019-08-18 11:12:58 +03:00
Povilas Kanapickas ceb56a8b3b genesys: Move gl646 sensor settings to the common sensor table 2019-08-17 12:02:45 +03:00
Povilas Kanapickas 5532f2f277 genesys: Add channel count to the parameters that identify a sensor 2019-08-17 11:51:35 +03:00