Wykres commitów

10 Commity (b64b8c13bb87daba25c5788fbd7f67cb3b84cee4)

Autor SHA1 Wiadomość Data
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 ca760d54b3 brother_mfp: General tidy up ready for next stage. 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 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 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 6eb9e1cc43 brother_mfp: Added basic test framework and moved source into brother_mfp directory 2023-12-11 13:02:32 -08:00