Commit 80544d3c authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

V4L/DVB (8202): gspca: PAC207 frames may be not compressed.

pac207:   Set the sizeimage to the max value for 352x288.
Signed-off-by: default avatarHans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent c2446b3e
...@@ -166,7 +166,9 @@ static struct v4l2_pix_format sif_mode[] = { ...@@ -166,7 +166,9 @@ static struct v4l2_pix_format sif_mode[] = {
.priv = 1}, .priv = 1},
{352, 288, V4L2_PIX_FMT_PAC207, V4L2_FIELD_NONE, {352, 288, V4L2_PIX_FMT_PAC207, V4L2_FIELD_NONE,
.bytesperline = 352, .bytesperline = 352,
.sizeimage = 352 * 288 / 2, /* compressed */ /* compressed, but only when needed (not compressed
when the framerate is low) */
.sizeimage = (352 + 2) * 288,
.colorspace = V4L2_COLORSPACE_SRGB, .colorspace = V4L2_COLORSPACE_SRGB,
.priv = 0}, .priv = 0},
}; };
......
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