Wykres commitów

12352 Commity (dd822eda010d44565808f71e3c20a30347069b0c)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 0f341bf5a0 genesys: Clean up exposure calibration on gl841 2021-12-27 22:39:19 +02:00
Povilas Kanapickas 4ee36a2e31 genesys: Use more robust gain calibration on gl841 2021-12-27 22:39:19 +02:00
Povilas Kanapickas bbc1543525 genesys: Remove duplicate register writes in gl841 calibration 2021-12-27 22:39:19 +02:00
Povilas Kanapickas 675497fcd8 genesys: Use host-side gray instead of device-side true-gray on gl841
True gray mode is not handled correctly by devices: they have bugs that
lead to incorrect LED color being emitted (e.g. dark red) and thus this
feature is completely unusable. At least LiDE 35/40/50, LiDE 60 and LiDE
80 are affected.

Simpy disabling true-gray unfortunately leads to even worse outcome
because the scanner then simply proceeds to perform a color scan.

To work around these problems we do a normal color scan and then produce
gray output based on the color data. This will satisfy the use cases
when correct gray is needed. In cases when it is sufficient to construct
gray from a single color channel, the color filter setting could be
used.
2021-12-27 22:39:19 +02:00
Povilas Kanapickas 7bbb6d8fdb genesys: Implement host-side gray support 2021-12-27 22:39:19 +02:00
Povilas Kanapickas 2f030f04e2 genesys: Implement image pipeline for merging color channels to gray 2021-12-27 22:22:44 +02:00
Povilas Kanapickas ad84284186 genesys: Rename ImagePipelineNodeMergeMono{Lines -> LinesToColor} 2021-12-27 22:22:44 +02:00
Povilas Kanapickas bd4f009122 genesys: Remove true_gray variable by deriving its value directly 2021-12-27 22:22:44 +02:00
Povilas Kanapickas 1e75025048 genesys: Fix incorrect scan exposure setup on gl841
When sensor exposure values are significantly different from each other
the total scan exposure will be too low leading to the device becoming
confused and significantly
2021-12-27 22:22:44 +02:00
Povilas Kanapickas 601705fa3a genesys: Inline gl841_get_led_exposure() 2021-12-27 22:22:44 +02:00
Povilas Kanapickas 6c0fafac79 genesys: Remove broken two-table feeding support from gl841
At least on LiDE 50 two-table feeding caused unexplained motor spin-up
failures on certain motor exposures. Various register modifications
showed that there's high likelihood on device-side bug. Even the
official drivers don't use proper two-table feeding.
2021-12-27 22:22:44 +02:00
Povilas Kanapickas e27d991fdf genesys: Remove unused two-table feeding support from gl847 2021-12-27 22:22:44 +02:00
Povilas Kanapickas d4dc13f527 genesys: Remove unused two-table feeding support from gl846 2021-12-27 22:22:44 +02:00
Povilas Kanapickas 137a2d676f genesys: Remove unused two-table feeding support from gl124 2021-12-27 22:22:44 +02:00
Povilas Kanapickas f4552acf8d Merge branch 'pixma_new_models' into 'master'
pixma: add 2021 models.

See merge request sane-project/backends!671
2021-12-27 14:49:08 +00:00
Ordissimo 584f16e2ee pixma: add 2021 models.
Fix white space

Fix build

Add descriptions

Reduces the length of the line
2021-12-27 16:33:37 +02:00
Ordissimo 8d028fe398 Merge branch 'scangearmp2_add_2021_modeles' into 'master'
Scangearmp2: add 2021 models

See merge request sane-project/backends!672
2021-12-27 13:43:20 +00:00
Ordissimo 020030080c Scangearmp2 add 2021 models 2021-12-27 14:23:37 +01:00
Povilas Kanapickas 53c1be6ae8 Merge branch 'genesys-cleanup' into 'master'
genesys: Miscellaneous cleanups

See merge request sane-project/backends!670
2021-12-26 14:53:11 +00:00
Povilas Kanapickas b668e92047 genesys: Use {uint,int}{8,16,32,64} from std namespace
This is not strictly necessary as all known C++ compilers also inject
these types to the global namespace. However this is not guaranteed by
the C++ standard and accordingly some code completion tools don't
support this without additional configuration.
2021-12-26 16:09:17 +02:00
Povilas Kanapickas 7c76892b98 genesys: Remove empty file 2021-12-26 16:09:16 +02:00
Povilas Kanapickas 3752d11c34 genesys: Wrap very long lines 2021-12-26 16:09:15 +02:00
Povilas Kanapickas 7bc9983407 Merge branch 'genesys-fix-contrast-brightness' into 'master'
genesys: Enable gamma setting when contrast or brightness is adjusted

Closes #271

See merge request sane-project/backends!669
2021-12-26 13:15:18 +00:00
Povilas Kanapickas 80f6d21170 genesys: Enable gamma setting when contrast or brightness is adjusted
Brightness and contrast adjustments are handled via gamma tables and
thus gamma functionality is required for these settings to have any
effect.

Previously if the device has a sensor with identity gamma
(gamma = {1, 1, 1}), then gamma tables were turned off, consequently
brightness and contrast settings had no effect.

The underlying issue was identified by Gunnar Hjalmarsson
<gunnarhj@ubuntu.com> and STK.
2021-12-26 14:59:01 +02:00
Povilas Kanapickas bf4614b76e genesys: Store contrast and brightness adjustments in session params 2021-12-26 14:53:14 +02:00
Povilas Kanapickas a38919bf7f Merge branch 'release-1.0.33-backports' into 'release-1.0.33'
[1.0.33] Miscellaneous backports

See merge request sane-project/backends!668
2021-12-25 02:23:57 +00:00
Povilas Kanapickas eb097b632c genesys: Address wrong indentation warning
This is separate commit because the previous commit introducing this
warning is completely unrelated and would not benefit from this change
being included.

(cherry picked from commit 75801bffd3)
2021-12-25 04:08:03 +02:00
Ralph Little 944183c379 genesys: Added transparency button option
This is introduced primarily for the ScanJet G4010 which has "Scan Film"
buttons.

(cherry picked from commit 8347191b5f)
2021-12-25 04:08:03 +02:00
Ralph Little b83f7d3cad genesys: updated button support for HP Scanjet G4010
(cherry picked from commit fa414e46b1)
2021-12-25 04:08:03 +02:00
Peter Seiderer 0114403ac5 genesys: fix gcc-4.8 compile
Fixes:

  genesys/utilities.h:229:23: error: invalid initialization of non-const reference of type 'std::basic_ios<char>&' from an rvalue of type '<brace-enclosed initializer list>'
           stream_{stream}
                         ^
  genesys/image_pipeline.cpp:715:19: error: invalid initialization of non-const reference of type 'genesys::ImagePipelineNode&' from an rvalue of type '<brace-enclosed initializer list>'
       source_{source}
                     ^

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
(cherry picked from commit 1db13a713f)
2021-12-25 04:08:03 +02:00
Povilas Kanapickas 63fffd7403 genesys: Improve gray scan quality on LiDE 110
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>

(cherry picked from commit ea0e57a05e)
2021-12-25 04:07:51 +02:00
Povilas Kanapickas cf8835625a genesys: Improve gray scan quality on LiDE 120
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>

(cherry picked from commit 8ceb1dde8d)
2021-12-25 04:07:51 +02:00
Povilas Kanapickas 3a890c7100 genesys: Improve gray scan quality on LiDE 210
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>

(cherry picked from commit 711a3c5c14)
2021-12-25 04:07:51 +02:00
Povilas Kanapickas b16baa642b genesys: Improve gray scan quality on LiDE 220
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>

(cherry picked from commit 723eaa5917)
2021-12-25 04:07:51 +02:00
Povilas Kanapickas 8414a1db9b genesys: Move gl124 0x0c reg definition to sensor tables
(cherry picked from commit bd0f15f585)
2021-12-25 04:07:51 +02:00
Povilas Kanapickas bffda89bc7 backend/Makefile: Reduce excessive line lengths
(cherry picked from commit ed51223cfb)
2021-12-25 04:03:40 +02:00
Wolfram Sang 1c8bb97b69 epson2: add driver to main sane manpage
Reported missing by A E Lawrence via mail. Thanks!

(cherry picked from commit bb94182982)
2021-12-25 04:03:40 +02:00
Wolfram Sang d6189aa789 epson2/epsonds: add new IDs provided by Epson
Sent by Nakamura Iwao via sane-devel mailing list on Nov, 29th. I only
sorted the epson2 descriptions alphabetically.

 Subject: [sane-devel] Additional model support for epson2 / epsonds backend
 Message-ID: <TYCPR01MB7872CDD0461B7572D5DBD7A8EB669@TYCPR01MB7872.jpnprd01.prod.outlook.com>

(cherry picked from commit 91c24b2955)
2021-12-25 04:03:40 +02:00
Ordissimo 5152108769 Fix segfault sane-escl.
(cherry picked from commit 72992f4e25)
2021-12-25 04:03:39 +02:00
Jindřich Makovička 59b669ae3c escl: Follow the 302 redirects
Recent ipp-usb redirects from http://127.0.0.1 to http://localhost

(cherry picked from commit 1b5344ba56)
2021-12-25 04:03:39 +02:00
Povilas Kanapickas fcda028e4a Merge branch 'genesys-lide-gray' into 'master'
genesys: Improve gray scan quality on LiDE 220

Closes #52 and #106

See merge request sane-project/backends!667
2021-12-25 01:57:10 +00:00
Povilas Kanapickas ea0e57a05e genesys: Improve gray scan quality on LiDE 110
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>
2021-12-25 03:06:29 +02:00
Povilas Kanapickas 8ceb1dde8d genesys: Improve gray scan quality on LiDE 120
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>
2021-12-25 03:06:28 +02:00
Povilas Kanapickas 711a3c5c14 genesys: Improve gray scan quality on LiDE 210
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>
2021-12-25 03:06:27 +02:00
Povilas Kanapickas 723eaa5917 genesys: Improve gray scan quality on LiDE 220
The fix has been suggested by Matthew Petroff <matthew@mpetroff.net>
2021-12-25 03:06:26 +02:00
Povilas Kanapickas bd0f15f585 genesys: Move gl124 0x0c reg definition to sensor tables 2021-12-25 03:06:25 +02:00
Ordissimo 4b4cc5d019 Merge branch 'escl-add-new-models' into 'master'
escl:Added of 3 tested models

Closes #540

See merge request sane-project/backends!666
2021-12-23 09:03:08 +00:00
thierry1970 0a22da26c4 escl:Added of 3 tested models
Rename model
2021-12-23 09:30:37 +01:00
Ordissimo 98869ebedf Merge branch 'fix-old-tls-connections' into 'master'
Fix old tls connections

See merge request sane-project/backends!663
2021-12-17 12:13:07 +00:00
Ordissimo 7394329b69 Merge branch 'escl-ipv6' into 'master'
Escl ipv6

See merge request sane-project/backends!565
2021-12-16 11:09:33 +00:00