frontend: Fix colorspace conversion routines on big-endian
authorPaul Cercueil <paul@crapouillou.net>
Sat, 21 May 2022 17:58:14 +0000 (18:58 +0100)
committerAsh Logan <ash@heyquark.com>
Mon, 6 Jun 2022 13:06:49 +0000 (23:06 +1000)
commit1318072afcc5d037c250e671af32f8d695ba2785
treee21ffc8ba6d454688a491978a908815d0357a0fe
parent0a2601833173a2516afb4d87f1157b59e55e96f1
frontend: Fix colorspace conversion routines on big-endian

The bgr555_to_rgb565() and bgr888_to_rgb565() functions were only
working correctly on little-endian systems.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
frontend/cspace.c