Commit 723f011a authored by lucabe's avatar lucabe

Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in

video4linux2 devices.
Patch by Jean Delvare (khali AT linux-fr DOT org)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a6a721a
......@@ -98,6 +98,14 @@ static struct fmt_map fmt_conversion_table[] = {
.ff_fmt = PIX_FMT_YUV410P,
.v4l2_fmt = V4L2_PIX_FMT_YUV410,
},
{
.ff_fmt = PIX_FMT_RGB555,
.v4l2_fmt = V4L2_PIX_FMT_RGB555,
},
{
.ff_fmt = PIX_FMT_RGB565,
.v4l2_fmt = V4L2_PIX_FMT_RGB565,
},
{
.ff_fmt = PIX_FMT_BGR24,
.v4l2_fmt = V4L2_PIX_FMT_BGR24,
......
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