Commit 43d36599 authored by Dan Flett's avatar Dan Flett Committed by Carl Eugen Hoyos

lavd/fbdev.c: Support RGB565 input colour space.

Tested on a Raspberry Pi.
Signed-off-by: 's avatarCarl Eugen Hoyos <cehoyos@ag.or.at>
parent 0ef40446
......@@ -57,6 +57,7 @@ static const 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, 16, AV_PIX_FMT_RGB565 },
};
static enum AVPixelFormat get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *varinfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment