[FFmpeg-cvslog] lavd/fbdev.c: Support RGB565 input colour space.

Dan Flett git at videolan.org
Thu Jul 11 21:52:58 CEST 2013


ffmpeg | branch: master | Dan Flett <dflett at bigpond.net.au> | Thu Jul 11 18:16:07 2013 +0200| [43d36599fe3330913c6be9da5519dee048263dc9] | committer: Carl Eugen Hoyos

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

Tested on a Raspberry Pi.

Signed-off-by: Carl Eugen Hoyos <cehoyos at ag.or.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=43d36599fe3330913c6be9da5519dee048263dc9
---

 libavdevice/fbdev.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index 02efdf9..99e779d 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -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)



More information about the ffmpeg-cvslog mailing list