mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
lavd/fbdev.c: Support RGB565 input colour space.
Tested on a Raspberry Pi. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
This commit is contained in:
parent
0ef40446a8
commit
43d36599fe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user