Wykres commitów

7 Commity (b31b82c8bd99e890835b0ab8f42cbf118481784e)

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 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