This is in preparation for IR mode support.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
#define FPS_HIGH 0x0100
-static const struct v4l2_pix_format color_camera_mode[] = {
+static const struct v4l2_pix_format video_camera_mode[] = {
{640, 480, V4L2_PIX_FMT_SGRBG8, V4L2_FIELD_NONE,
.bytesperline = 640,
.sizeimage = 640 * 480,
cam = &gspca_dev->cam;
- cam->cam_mode = color_camera_mode;
- cam->nmodes = ARRAY_SIZE(color_camera_mode);
+ cam->cam_mode = video_camera_mode;
+ cam->nmodes = ARRAY_SIZE(video_camera_mode);
//cam->npkt = 15;
//gspca_dev->pkt_size = 960 * 2;