Lines Matching refs:clipcount
839 unsigned clipcount = win->clipcount; in vidioc_g_fmt_vid_out_overlay() local
847 win->clipcount = dev->clipcount_out; in vidioc_g_fmt_vid_out_overlay()
851 if (clipcount > dev->clipcount_out) in vidioc_g_fmt_vid_out_overlay()
852 clipcount = dev->clipcount_out; in vidioc_g_fmt_vid_out_overlay()
860 if (clipcount && win->clips) in vidioc_g_fmt_vid_out_overlay()
862 clipcount * sizeof(dev->clips_out[0])); in vidioc_g_fmt_vid_out_overlay()
887 if (win->clipcount && !win->clips) in vidioc_try_fmt_vid_out_overlay()
888 win->clipcount = 0; in vidioc_try_fmt_vid_out_overlay()
889 if (win->clipcount > MAX_CLIPS) in vidioc_try_fmt_vid_out_overlay()
890 win->clipcount = MAX_CLIPS; in vidioc_try_fmt_vid_out_overlay()
891 if (win->clipcount) { in vidioc_try_fmt_vid_out_overlay()
893 win->clipcount * sizeof(dev->clips_out[0])); in vidioc_try_fmt_vid_out_overlay()
894 for (i = 0; i < win->clipcount; i++) { in vidioc_try_fmt_vid_out_overlay()
906 for (i = 0; i < win->clipcount - 1; i++) { in vidioc_try_fmt_vid_out_overlay()
909 for (j = i + 1; j < win->clipcount; j++) { in vidioc_try_fmt_vid_out_overlay()
917 win->clipcount * sizeof(dev->clips_out[0])); in vidioc_try_fmt_vid_out_overlay()
930 unsigned clips_size = win->clipcount * sizeof(dev->clips_out[0]); in vidioc_s_fmt_vid_out_overlay()
951 dev->clipcount_out = win->clipcount; in vidioc_s_fmt_vid_out_overlay()