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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux