[FFmpeg-cvslog] fbdev: Support the RGB565 colour space.
Dan Flett
git at videolan.org
Sat Jul 11 12:47:53 CEST 2015
ffmpeg | branch: master | Dan Flett <dflett at bigpond.net.au> | Thu Jul 11 18:16:07 2013 +0200| [87f98a2b9d4c7218ad82bb45347a53b65e5244f3] | committer: Martin Storsjö
fbdev: Support the RGB565 colour space.
Tested on a Raspberry Pi.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87f98a2b9d4c7218ad82bb45347a53b65e5244f3
---
libavdevice/fbdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index 27e2ed3..bdbc83f 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -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)
More information about the ffmpeg-cvslog
mailing list