mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Jules Maselbas <jmaselbas@kalray.eu>, barebox@lists.infradead.org
Subject: Re: [PATCH 0/5] Add support for QOI image format
Date: Fri, 14 Jan 2022 11:28:02 +0100	[thread overview]
Message-ID: <81e99997-3fe7-9f4f-03f9-ff1cc4ed800d@pengutronix.de> (raw)
In-Reply-To: <20220110221255.5003-1-jmaselbas@kalray.eu>

Hi,

On 10.01.22 23:12, Jules Maselbas wrote:
> 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.

If it hits a sweet spot between size and speed, it may be interesting.
Optimally, you wouldn't need a boot splash, but for cases where you have one,
you don't want to delay the boot process any longer. I guess it currently
looks like this:

  CPU usage: png > qoi > bmp
  IO  usage: bmp > qoi > png

So there's a case to be made for its inclusion.

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


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


      parent reply	other threads:[~2022-01-14 10:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 22:12 Jules Maselbas
2022-01-10 22:12 ` [PATCH 1/5] filetype: Add QOI format image type Jules Maselbas
2022-01-14  9:00   ` Ahmad Fatoum
2022-01-10 22:12 ` [PATCH 2/5] gui: Add qoi image format Jules Maselbas
2022-01-14 10:05   ` Ahmad Fatoum
2022-01-14 10:54     ` Jules Maselbas
2022-01-10 22:12 ` [PATCH 3/5] scripts: Add qoiconv to convert png to qoi Jules Maselbas
2022-01-14 10:29   ` Ahmad Fatoum
2022-01-14 11:14     ` Jules Maselbas
2022-01-17 11:48       ` Ahmad Fatoum
2022-01-10 22:12 ` [PATCH 4/5] logo: Enable image format selection for the logo Jules Maselbas
2022-01-10 22:12 ` [PATCH 5/5] logo: Add choice for the QOI image format option Jules Maselbas
2022-01-14 10:28 ` Ahmad Fatoum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81e99997-3fe7-9f4f-03f9-ff1cc4ed800d@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=jmaselbas@kalray.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox