aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r--drivers/media/video/gspca/sonixb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index 8eaeaa3a96d7..346305b12647 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -207,29 +207,29 @@ static struct ctrl sd_ctrls[] = {
207static struct v4l2_pix_format vga_mode[] = { 207static struct v4l2_pix_format vga_mode[] = {
208 {160, 120, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE, 208 {160, 120, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE,
209 .bytesperline = 160, 209 .bytesperline = 160,
210 .sizeimage = 160 * 120, 210 .sizeimage = 160 * 120 * 5 / 4,
211 .colorspace = V4L2_COLORSPACE_SRGB, 211 .colorspace = V4L2_COLORSPACE_SRGB,
212 .priv = 2}, 212 .priv = 2},
213 {320, 240, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE, 213 {320, 240, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE,
214 .bytesperline = 320, 214 .bytesperline = 320,
215 .sizeimage = 320 * 240, 215 .sizeimage = 320 * 240 * 5 / 4,
216 .colorspace = V4L2_COLORSPACE_SRGB, 216 .colorspace = V4L2_COLORSPACE_SRGB,
217 .priv = 1}, 217 .priv = 1},
218 {640, 480, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE, 218 {640, 480, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE,
219 .bytesperline = 640, 219 .bytesperline = 640,
220 .sizeimage = 640 * 480, 220 .sizeimage = 640 * 480 * 5 / 4,
221 .colorspace = V4L2_COLORSPACE_SRGB, 221 .colorspace = V4L2_COLORSPACE_SRGB,
222 .priv = 0}, 222 .priv = 0},
223}; 223};
224static struct v4l2_pix_format sif_mode[] = { 224static struct v4l2_pix_format sif_mode[] = {
225 {176, 144, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE, 225 {176, 144, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE,
226 .bytesperline = 176, 226 .bytesperline = 176,
227 .sizeimage = 176 * 144, 227 .sizeimage = 176 * 144 * 5 / 4,
228 .colorspace = V4L2_COLORSPACE_SRGB, 228 .colorspace = V4L2_COLORSPACE_SRGB,
229 .priv = 1}, 229 .priv = 1},
230 {352, 288, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE, 230 {352, 288, V4L2_PIX_FMT_SN9C10X, V4L2_FIELD_NONE,
231 .bytesperline = 352, 231 .bytesperline = 352,
232 .sizeimage = 352 * 288, 232 .sizeimage = 352 * 288 * 5 / 4,
233 .colorspace = V4L2_COLORSPACE_SRGB, 233 .colorspace = V4L2_COLORSPACE_SRGB,
234 .priv = 0}, 234 .priv = 0},
235}; 235};