Skip to content
Snippets Groups Projects
Commit 87f98a2b authored by Dan Flett's avatar Dan Flett Committed by Martin Storsjö
Browse files

fbdev: Support the RGB565 colour space.


Tested on a Raspberry Pi.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 1410eeb6
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ static struct rgb_pixfmt_map_entry rgb_pixfmt_map[] = {
{ 32, 3, 2, 8, 0, AV_PIX_FMT_ABGR },
{ 24, 0, 8, 16, 0, AV_PIX_FMT_RGB24 },
{ 24, 16, 8, 0, 0, AV_PIX_FMT_BGR24 },
{ 16, 11, 5, 0, 0, AV_PIX_FMT_RGB565 },
};
static enum AVPixelFormat get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *varinfo)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment