I've been thinking about this a bit:
- As far as I can tell,
decode_jpeg_buffer has two users (the example and my video player demo), decode_jpeg_file has none
- They're a big chunk of code in the STM32 firmware (~6k text, ~5k bss)
- Not even implemented in
32blit-pico
- sdl2-image keeps causing dependency issues
- It would probably be more useful to have something that wraps the same decoder everywhere on the user side of the API 🤔
I've been thinking about this a bit:
decode_jpeg_bufferhas two users (the example and my video player demo),decode_jpeg_filehas none32blit-pico