Lines Matching refs:vp
595 struct video_picture vp;
597 memset(&vp, 0, sizeof (struct video_picture));
598 vp.brightness = cam->gain << 8;
599 vp.depth = 24;
600 vp.palette = VIDEO_PALETTE_RGB24;
601 if (copy_to_user(user_arg, &vp, sizeof (struct video_picture)))
608 struct video_picture vp;
610 if (copy_from_user(&vp, user_arg, sizeof(vp))) {
615 DBG("VIDIOCSPICT depth = %d, pal = %d\n", vp.depth,
616 vp.palette);
618 cam->gain = vp.brightness >> 8;
620 if (vp.depth != 24
621 || vp.palette != VIDEO_PALETTE_RGB24)