Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20122542 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8832): gspca: Bad pixelformat of vc0321 webcams.

parent 222a07ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -88,12 +88,12 @@ static struct ctrl sd_ctrls[] = {
};

static struct v4l2_pix_format vc0321_mode[] = {
	{320, 240, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE,
	{320, 240, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
		.bytesperline = 320,
		.sizeimage = 320 * 240 * 2,
		.colorspace = V4L2_COLORSPACE_SRGB,
		.priv = 1},
	{640, 480, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE,
	{640, 480, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
		.bytesperline = 640,
		.sizeimage = 640 * 480 * 2,
		.colorspace = V4L2_COLORSPACE_SRGB,
+1 −0
Original line number Diff line number Diff line
@@ -335,6 +335,7 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_SPCA561  v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
#define V4L2_PIX_FMT_PAC207   v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */
#define V4L2_PIX_FMT_PJPG     v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */
#define V4L2_PIX_FMT_YVYU    v4l2_fourcc('Y', 'V', 'Y', 'U') /* 16  YVU 4:2:2     */

/*
 *	F O R M A T   E N U M E R A T I O N