Povilas Kanapickas
2cc2f8a26b
genesys: Store contrast and brightness adjustments in session params
2021-12-27 23:11:08 +02: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
Ralph Little
9a0fa0da86
Merge branch '231-canon-lide-120-wrong-size-with-y-x-after-update-to-sane-backends-1-0-28-1078-g5747ffa9' into 'master'
...
Resolve "Canon LiDE 120: wrong size with -y -x after update to sane-backends 1.0.28-1078-g5747ffa9"
Closes #231
See merge request sane-project/backends!423
2021-07-17 22:40:54 +00:00
Ralph Little
730e4ada37
genesys: fixed indentation again.
...
Hopefully, I will get it right this time. Uses 4 space indents rather
than 2 as used elsewhere in the code base.
2021-04-07 09:06:39 -07:00
Ralph Little
5702046a9c
genesys: fix indentation
2021-04-07 09:01:29 -07:00
Ralph Little
7ce23d05e2
genesys: ensure that vector ptr is initialized
2021-04-06 08:41:41 -07:00
Peter Seiderer
691d774f75
genesys: use usleep instead of std::this_thread::sleep_for to re-enable thread less compile
...
Fixes:
genesys/scanner_interface_usb.cpp: In member function ‘virtual void genesys::ScannerInterfaceUsb::sleep_us(unsigned int)’:
genesys/scanner_interface_usb.cpp:484:10: error: ‘std::this_thread’ has not been declared
484 | std::this_thread::sleep_for(std::chrono::microseconds{microseconds});
| ^~~~~~~~~~~
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-03-31 22:57:48 +02:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Peter Marschall
0cd9de9bef
spelling fixes for genesys backend
2020-08-29 09:18:03 +02:00
pobrn
45f84a569c
respect 'local_only' parameter of sane_get_devices()
...
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.
Changes:
1. Modify 'sanei_configure_attach()' so that backend specific
data may be passed to the 'attach()' function.
2. Use this in certain backends to pass the value of the
'local_only' parameter so that network related activities
are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Povilas Kanapickas
b0c42c0f5f
genesys: Implement support for LiDE 90
2020-06-27 00:48:06 +03:00
Povilas Kanapickas
ea15fb29b7
genesys: Simplify motor table upload on gl842
2020-06-27 00:47:19 +03:00
Povilas Kanapickas
d948f5eb69
genesys: Fix cis scanner support on gl842
2020-06-27 00:47:18 +03:00
Povilas Kanapickas
02782651a3
genesys: Add model option to disable fast feeding
2020-06-27 00:47:17 +03:00
Povilas Kanapickas
86c15ff4a0
genesys: Add option to fill dark calibration with constant
2020-06-27 00:47:16 +03:00
Povilas Kanapickas
6fdc5e6e1f
genesys: Throw an exception when motor speed is too low
2020-06-27 00:47:15 +03:00
Povilas Kanapickas
f6f891bd93
genesys: Call update_home_sensor_gpio() for all chip types
2020-06-27 00:47:14 +03:00
Povilas Kanapickas
96f60115df
genesys: Bump calibration version
2020-05-26 01:51:23 +03:00
Povilas Kanapickas
23079e0061
genesys: Increase timeout in wait_until_has_valid_words()
2020-05-26 01:51:20 +03:00
Povilas Kanapickas
3cca2593fc
genesys: Add support for Canon 5600F
2020-05-26 01:51:19 +03:00
Povilas Kanapickas
b9e4113ef0
genesys: Add functions to write to register according to mask
2020-05-26 01:51:18 +03:00
Povilas Kanapickas
7c74cb7ce9
genesys: Remove no longer used code
2020-05-26 01:32:45 +03:00
Povilas Kanapickas
8ec6bc2e5d
genesys: Deduplicate move_to_ta()
2020-05-26 01:32:44 +03:00
Povilas Kanapickas
c4135d63a7
genesys: Simplify move_to_ta() on gl843
2020-05-26 01:32:43 +03:00
Povilas Kanapickas
bc973a21c2
genesys: Simplify move_to_ta() on gl842
2020-05-26 01:32:42 +03:00
Povilas Kanapickas
b8a24ee409
genesys: Remove useless debug statements
2020-05-26 01:32:41 +03:00
Povilas Kanapickas
57a398888d
genesys: Deduplicate init_regs_for_scan()
2020-05-26 01:32:40 +03:00
Povilas Kanapickas
66ba92cfb6
genesys: Don't throw exception in non-exceptional circumstances
2020-05-26 01:32:39 +03:00
Povilas Kanapickas
7c378476e8
Merge branch 'genesys-gl847-transparency' into 'master'
...
genesys: Implement transparency support on gl847
See merge request sane-project/backends!475
2020-05-25 22:30:48 +00:00
Povilas Kanapickas
64b69331d3
Merge branch 'genesys-misc-fixes' into 'master'
...
genesys: Miscellaneous fixes
See merge request sane-project/backends!474
2020-05-25 22:29:03 +00:00
Povilas Kanapickas
786442d9c7
Merge branch 'genesys-pixel-offsets' into 'master'
...
genesys: Pixel offset calculation adjustments
See merge request sane-project/backends!473
2020-05-25 22:26:23 +00:00
Povilas Kanapickas
f3b04b374a
genesys: Implement transparency support on gl847
2020-05-26 01:14:43 +03:00
Povilas Kanapickas
8a66829057
genesys: Simplify access to nodes that are newly added to image pipeline
2020-05-26 01:13:20 +03:00
Povilas Kanapickas
c9182dc606
genesys: Ensure ImagePipelineStack nodes are destroyed in reverse order
2020-05-26 01:13:19 +03:00
Povilas Kanapickas
3282c5a654
genesys: Fix TIFF file writing
2020-05-26 01:13:18 +03:00
Povilas Kanapickas
ba91fc844d
genesys: Fix start pixel calculation when optical resolution is not max
2020-05-26 01:10:52 +03:00
Povilas Kanapickas
56db2b988a
genesys: Adjust host side calibration by shading pixel offset
2020-05-26 01:10:51 +03:00
Povilas Kanapickas
8a10e33a13
genesys: Move all pixel adjustment calculations to a single function
2020-05-26 01:10:50 +03:00
Povilas Kanapickas
b569e6cbb9
genesys: Reimplement simplier host-side calibration
2020-05-26 01:09:23 +03:00
Povilas Kanapickas
92bf0c6623
genesys: Remove broken interpolation support
2020-05-24 20:44:26 +03:00
Povilas Kanapickas
6a495f9725
genesys: Remove duplicate align_int_up()
2020-05-24 20:44:25 +03:00
Povilas Kanapickas
e7e5322003
genesys: Remove dead code
2020-05-24 20:44:24 +03:00