Lines Matching defs:vp
309 struct video_picture vp;
311 memset(&vp, 0, sizeof (struct video_picture));
312 vp.brightness = cam->gain << 8;
313 vp.depth = 24;
314 vp.palette = VIDEO_PALETTE_RGB24;
315 if (copy_to_user(user_arg, &vp, sizeof (struct video_picture)))
322 struct video_picture vp;
324 if (copy_from_user(&vp, user_arg, sizeof(vp))) {
329 DBG("VIDIOCSPICT depth = %d, pal = %d\n", vp.depth,
330 vp.palette);
332 cam->gain = vp.brightness >> 8;
334 if (vp.depth != 24
335 || vp.palette != VIDEO_PALETTE_RGB24)