projects
/
gspca_kinect.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the name video_camera instead of color_camera.
[gspca_kinect.git]
/
kinect.c
diff --git
a/kinect.c
b/kinect.c
index
c91bf33
..
b5077ca
100644
(file)
--- a/
kinect.c
+++ b/
kinect.c
@@
-72,7
+72,7
@@
static const struct ctrl sd_ctrls[] = {
#define FPS_HIGH 0x0100
#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,
{640, 480, V4L2_PIX_FMT_SGRBG8, V4L2_FIELD_NONE,
.bytesperline = 640,
.sizeimage = 640 * 480,
@@
-211,8
+211,8
@@
static int sd_config(struct gspca_dev *gspca_dev,
cam = &gspca_dev->cam;
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;
//cam->npkt = 15;
//gspca_dev->pkt_size = 960 * 2;