提交 a30ee3c7 编写于 作者: J Jean Delvare 提交者: Mauro Carvalho Chehab

V4L/DVB (8961): zr36067: Fix RGBR pixel format

The zr36067 driver is improperly declaring pixel format RGBP twice,
once as "16-bit RGB LE" and once as "16-bit RGB BE". The latter is
actually RGBR. Fix the code to properly map both pixel formats.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Acked-by: NTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 ec16d020
...@@ -134,7 +134,7 @@ const struct zoran_format zoran_formats[] = { ...@@ -134,7 +134,7 @@ const struct zoran_format zoran_formats[] = {
}, { }, {
.name = "16-bit RGB BE", .name = "16-bit RGB BE",
ZFMT(-1, ZFMT(-1,
V4L2_PIX_FMT_RGB565, V4L2_COLORSPACE_SRGB), V4L2_PIX_FMT_RGB565X, V4L2_COLORSPACE_SRGB),
.depth = 16, .depth = 16,
.flags = ZORAN_FORMAT_CAPTURE | .flags = ZORAN_FORMAT_CAPTURE |
ZORAN_FORMAT_OVERLAY, ZORAN_FORMAT_OVERLAY,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册