Wykres commitów

77 Commity (brother_mfp_backend)

Autor SHA1 Wiadomość Data
Ralph Little cc4ad6be99 brother_mfp: Added ADF duplex function for supported devices. 2023-12-11 13:02:32 -08:00
Ralph Little 4173926d3b brother_mfp: Added additional test suites for brother2 and brother3
Also some encoder tests and general code tidy up.
2023-12-11 13:02:32 -08:00
Ralph Little b64b8c13bb brother_mfp: Added support for source option.
Can now select Flatbed or ADF for supported machines.
2023-12-11 13:02:32 -08:00
Ralph Little a8a9e895b9 brother_mfp: added query block and error conditions
Now detects cover open and paper jam.
Also formalised the query packet which occurs during initialization.
Hopefully, we will be able to decode this for useful information.
2023-12-11 13:02:32 -08:00
Ralph Little 9bbf24cf97 brother_mfp: updated unit tests for changes to decoder API 2023-12-11 13:02:32 -08:00
Ralph Little a484c6ad93 brother_mfp: added device cancel and compression option
Some devices can compress colour (JPEG) and also provide raw data
in uncompressed form. The two devices that I have supply raw data
not in RBG but in YCbCr form.
Now applications have the option to choose compressed or uncompressed
colour scans if supported by the device.

Cancel from the device by pressing STOP is now handled properly.
2023-12-11 13:02:32 -08:00
Ralph Little 0055214614 brother_mfp: Added brother2 decoder + button support
Also:
- Fixed major issue in gray decoder that caused data loss.
- Button support added for Brother2 decoder.
2023-12-11 13:02:32 -08:00
Ralph Little 22d8ab2b49 brother_mfp: first set of unit tests for decoder.
Looks like we found the rare lost data issue in gray decoding.
Yayy! for unit tests.
2023-12-11 13:02:32 -08:00
Ralph Little 6eb9e1cc43 brother_mfp: Added basic test framework and moved source into brother_mfp directory 2023-12-11 13:02:32 -08:00
Ralph Little edfc90450e genesys: corrections to include file order.
minigtest.h has items that require the definitions in tests_printers.h.
Pre-GCC-12, this didn't seem to matter but GCC12 seems to have a
problem with this and requires the template definitions to have already
appeared.
2022-10-02 18:14:25 -07: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
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
Olaf Meeuwissen fea0ccca1e
Build genesys testsuite only when backend is build. Re #354 2021-02-07 16:25:30 +09:00
Peter Marschall 0cd9de9bef spelling fixes for genesys backend 2020-08-29 09:18:03 +02:00
Povilas Kanapickas a12083c8c4 genesys: Remove support for generating lineart within the backend 2020-05-24 18:20:17 +03:00
Povilas Kanapickas 55691ece2c genesys: Merge ImagePipelineNodeBuffered{CallableSource and GenesysUsb} 2020-05-23 10:39:07 +03:00
Povilas Kanapickas d770012132 genesys: Use TIFF files for debugging 2020-05-23 14:03:01 +03:00
Povilas Kanapickas 95d7196fca genesys: Implement image pipeline node to shift columns 2020-05-22 01:23:49 +03:00
Povilas Kanapickas 1bae94fd1e genesys: Support more than 2 columns in ImagePipelineNodePixelShiftLines 2020-05-22 01:23:48 +03:00
Povilas Kanapickas b6eb01cd0f genesys: Update session test to include scan params 2020-05-21 23:40:54 +03:00
Povilas Kanapickas b5430cc039 genesys: Rename Genesys_Sensor::{optical_res => full_resolution} 2020-05-18 06:35:19 +03:00
Povilas Kanapickas 88b49704b2 genesys: Use create_slope_table() directly on gl841 2020-05-18 04:34:28 +03:00
Povilas Kanapickas 253bd0ffe4 genesys: Regenerate motor table total duration when it is updated 2020-05-18 03:53:08 +03:00
Povilas Kanapickas 9c4f84f91a genesys: Don't generate excessive amount of steps for the motor tables 2020-05-18 03:53:07 +03:00
Povilas Kanapickas fe3677b68f genesys; Rename create_slope_table{=>_speed}() 2020-05-09 10:34:40 +03:00
Povilas Kanapickas 52cd02d78c genesys: Add image pipeline to invert pixel values 2020-05-09 13:29:51 +03:00
Povilas Kanapickas e5c371b24b genesys: Merge motor optical_ydpi to base_ydpi 2020-04-22 22:41:45 +03:00
Povilas Kanapickas 922cabc0be genesys: Remove no longer used ccd_start_xoffset 2020-04-13 07:23:43 +03:00
Povilas Kanapickas 9698bfece7 genesys: Add support for matching devices by bcdDevice 2020-03-28 23:15:48 +02:00
Povilas Kanapickas 0bdce7928f genesys: Turn Genesys_USB_Device_Entry into a class 2020-03-28 23:15:47 +02:00
Povilas Kanapickas 1e116f1223 genesys: Verify that sensor tables are setup correctly 2020-03-21 00:03:47 +02:00
Povilas Kanapickas 9d7aa61544 genesys: Define the width of the sensor in mm instead of pixels 2020-02-22 10:48:26 +02:00
Povilas Kanapickas 55000d82ac genesys: Simplify shading line calculation by defining distance in mm 2020-02-16 10:46:09 +02:00
Povilas Kanapickas de7375c7bb genesys: Remove legacy buffer handling code 2020-02-16 10:41:20 +02:00
Povilas Kanapickas 294db2a616 genesys: Fix host-side calibration when calibration data is shifted 2020-02-14 19:08:30 +02:00
Povilas Kanapickas 26eec0ba57 genesys: Remove uses of calib_channels 2020-02-03 01:00:47 +02:00
Povilas Kanapickas 10fb42cd68 genesys: Use calib_session to retrieve pixel counts 2020-02-03 01:00:34 +02:00
Povilas Kanapickas 9fc3b38a9b genesys: Use fixed float utilities instead of SANE_{FIX,UNFIX} 2020-02-02 15:23:21 +02:00
Povilas Kanapickas 03d50b5e64 Merge branch 'genesys-model-flag-enum' into 'master'
genesys: Move model flags to separate enum

See merge request sane-project/backends!325
2020-02-02 12:25:16 +00:00
Povilas Kanapickas e59401ed6b genesys: Move model flags to a separate enum 2020-02-02 14:08:52 +02:00
Olaf Meeuwissen 5e5cdad7dd Merge branch 'release/1.0.29' 2020-02-02 21:06:46 +09:00
Povilas Kanapickas e5e8ea3d3f genesys: Add motor profile information to motors table 2020-01-31 20:13:13 +02:00
Olaf Meeuwissen 8bc98d0f7d testsuite/backend/genesys: Fix include path for out-of-tree builds 2020-01-13 18:37:21 +09:00
Olaf Meeuwissen ba84a8f69c testsuite/backend/genesys: Fix [-Wcatch-value=] compiler warning
Exceptions ought to be caught by reference.
2020-01-13 18:35:33 +09:00
Povilas Kanapickas 69067f2f7f genesys: Remove no longer used final_exposure 2019-12-22 17:07:24 +02:00
Povilas Kanapickas 3d9113997f genesys: Switch remaining legacy curve uses to physical curves 2019-12-14 10:20:12 +02:00
Povilas Kanapickas dec9962773 genesys: Make the size of slope tables configurable by asic type 2019-12-14 10:20:09 +02:00
Povilas Kanapickas 8731a6cc5d genesys: Return MotorSlopeTable out of *_create_slope_table3() 2019-12-14 10:20:07 +02:00
Povilas Kanapickas 7c6229f272 genesys: Rename MotorSlopeTable::{scan_steps -> steps_count} 2019-12-14 10:20:06 +02:00