• Home
  • Raw
  • Download

Lines Matching refs:vw

540 	struct video_window *vw;  in ioctl_set_window_size()  local
542 vw = arg; in ioctl_set_window_size()
544 if (vw->clipcount != 0) /* clipping not supported */ in ioctl_set_window_size()
547 if (vw->clips != NULL) /* clipping not supported */ in ioctl_set_window_size()
563 DBG("Requested width = %d, height = %d\n", vw->width, vw->height); in ioctl_set_window_size()
564 if (vw->width != cam->vw.width || vw->height != cam->vw.height) { in ioctl_set_window_size()
565 cam->vw.width = vw->width; in ioctl_set_window_size()
566 cam->vw.height = vw->height; in ioctl_set_window_size()
567 cam->params.roi.width = vw->width; in ioctl_set_window_size()
568 cam->params.roi.height = vw->height; in ioctl_set_window_size()
904 if (f->fmt.pix.width != cam->vw.width || in ioctl_set_fmt()
905 f->fmt.pix.height != cam->vw.height) { in ioctl_set_fmt()
906 cam->vw.width = f->fmt.pix.width; in ioctl_set_fmt()
907 cam->vw.height = f->fmt.pix.height; in ioctl_set_fmt()
939 f->fmt.pix.width = cam->vw.width; in ioctl_get_fmt()
940 f->fmt.pix.height = cam->vw.height; in ioctl_get_fmt()
969 c->bounds.width = cam->vw.width; in ioctl_cropcap()
970 c->bounds.height = cam->vw.height; in ioctl_cropcap()
973 c->defrect.width = cam->vw.width; in ioctl_cropcap()
974 c->defrect.height = cam->vw.height; in ioctl_cropcap()
1638 memcpy(arg, &cam->vw, sizeof(struct video_window)); in cpia2_do_ioctl()
1890 cam->vw.x = 0; in reset_camera_struct_v4l()
1891 cam->vw.y = 0; in reset_camera_struct_v4l()
1892 cam->vw.width = cam->params.roi.width; in reset_camera_struct_v4l()
1893 cam->vw.height = cam->params.roi.height; in reset_camera_struct_v4l()
1894 cam->vw.flags = 0; in reset_camera_struct_v4l()
1895 cam->vw.clipcount = 0; in reset_camera_struct_v4l()