Lines Matching refs:clips
625 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips, in setup_clipping() argument
635 col[cols].position = clip_range(clips[i].c.left); in setup_clipping()
638 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping()
641 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping()
644 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
717 setup_clipping(dev, dev->clips, dev->nclips, in start_preview()
1268 struct v4l2_clip __user *clips = f->fmt.win.clips; in saa7134_g_fmt_vid_overlay() local
1278 f->fmt.win.clips = clips; in saa7134_g_fmt_vid_overlay()
1279 if (clips == NULL) in saa7134_g_fmt_vid_overlay()
1286 if (copy_to_user(&f->fmt.win.clips[i].c, &dev->clips[i].c, in saa7134_g_fmt_vid_overlay()
1357 if (f->fmt.win.clips == NULL) in saa7134_try_fmt_vid_overlay()
1390 if (f->fmt.win.clips == NULL) in saa7134_s_fmt_vid_overlay()
1399 if (copy_from_user(dev->clips, f->fmt.win.clips, in saa7134_s_fmt_vid_overlay()