Wykres commitów

9 Commity (40de9f87b83b491b1eead262cdd1972b0bdba9a2)

Autor SHA1 Wiadomość Data
Ralph Little 40de9f87b8 brother_mfp: added preliminary ADF multisheet support.
I don't have a brother4 machine with an ADF so could not test this.
Quite a bit of refactoring to the encoder infrastructure to
accommodate this.
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 a6f4f816b1 brother_mfp: Added draft for brother3 driver.
Test machine MFC-290C seems to support JPEG and RAW colour data.
However, the raw colour data has what appears to be a strong green
component leading to very green images. Maybe some post processing
is required to generate a proper image. Dunno. JPEG looks perfectly fine.
2023-12-11 13:02:32 -08:00
Ralph Little fbe872ae86 brother_mfp: brother2 driver requires uncompressed gray decoder also
Noticed in lineart output.
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 437bfd27f3 brother_mfp: colour scan now fully functional.
Also:
- Init recovery for when previous crash left a session open.
- Small corrections for gray scans
2023-12-11 13:02:32 -08:00
Ralph Little 3fae2e561d brother_mfp: corrected some decoding bugs.
Still one rare illusive issue that causes loss of a bit of a line's
data, resulting in a sliding of the image to the left. It doesn't
happen very often, very difficult to reproduce.
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