mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 17:06:40 +07:00
[media] s2255: choose YUYV as the default format, not YUV422P
The planar YUV422P is quite unusual and few if any applications support it. Instead choose the common YUYV format as the default. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
05e5d44b07
commit
5c632b223a
@ -416,11 +416,6 @@ MODULE_DEVICE_TABLE(usb, s2255_table);
|
||||
/* JPEG formats must be defined last to support jpeg_enable parameter */
|
||||
static const struct s2255_fmt formats[] = {
|
||||
{
|
||||
.name = "4:2:2, planar, YUV422P",
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.depth = 16
|
||||
|
||||
}, {
|
||||
.name = "4:2:2, packed, YUYV",
|
||||
.fourcc = V4L2_PIX_FMT_YUYV,
|
||||
.depth = 16
|
||||
@ -429,6 +424,11 @@ static const struct s2255_fmt formats[] = {
|
||||
.name = "4:2:2, packed, UYVY",
|
||||
.fourcc = V4L2_PIX_FMT_UYVY,
|
||||
.depth = 16
|
||||
}, {
|
||||
.name = "4:2:2, planar, YUV422P",
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.depth = 16
|
||||
|
||||
}, {
|
||||
.name = "8bpp GREY",
|
||||
.fourcc = V4L2_PIX_FMT_GREY,
|
||||
|
Loading…
Reference in New Issue
Block a user