[PATCH 0/5] Add support for QOI image format

Jules Maselbas jmaselbas at kalray.eu
Mon Jan 10 14:12:50 PST 2022


Ho ho ho,

I had some fun past weeks playing with the QOI image format[1] and I've
added it's support to barebox. I also made the builtin barebox logo image
format selectable, with bmp, png, and qoi...

I am not sure if this be of a great interest to barebox anyway here it is.

[1] https://qoiformat.org/

---

Jules Maselbas (5):
  filetype: Add QOI format image type
  gui: Add qoi image format
  scripts: Add qoiconv to convert png to qoi
  logo: Enable image format selection for the logo
  logo: Add choice for the QOI image format option

 common/filetype.c   |    3 +
 include/filetype.h  |    1 +
 lib/gui/Kconfig     |    5 +
 lib/gui/Makefile    |    1 +
 lib/gui/qoi.c       |   94 +
 lib/gui/qoi.h       |  671 ++++
 lib/logo/Kconfig    |   27 +-
 lib/logo/Makefile   |   55 +-
 lib/logo/logo.c     |   10 +-
 scripts/Kconfig     |    5 +
 scripts/Makefile    |    1 +
 scripts/qoiconv.c   |   91 +
 scripts/stb_image.h | 7756 +++++++++++++++++++++++++++++++++++++++++++
 13 files changed, 8705 insertions(+), 15 deletions(-)
 create mode 100644 lib/gui/qoi.c
 create mode 100644 lib/gui/qoi.h
 create mode 100644 scripts/qoiconv.c
 create mode 100644 scripts/stb_image.h

-- 
2.17.1




More information about the barebox mailing list