OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1410eeb
)
fbdev: Support the RGB565 colour space.
author
Dan Flett
<dflett@bigpond.net.au>
Thu, 11 Jul 2013 16:16:07 +0000
(18:16 +0200)
committer
Martin Storsjö
<martin@martin.st>
Sat, 11 Jul 2015 07:15:59 +0000
(10:15 +0300)
Tested on a Raspberry Pi.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavdevice/fbdev.c
patch
|
blob
|
history
diff --git
a/libavdevice/fbdev.c
b/libavdevice/fbdev.c
index
27e2ed3
..
bdbc83f
100644
(file)
--- 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)