Home
last modified time | relevance | path

Searched refs:clipcount (Results 1 – 13 of 13) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c51 __u32 clipcount; member
69 .clipcount = w32.clipcount, in get_v4l2_window32()
74 if (p64->clipcount > 2048) in get_v4l2_window32()
76 if (!p64->clipcount) in get_v4l2_window32()
93 .clipcount = p64->clipcount, in put_v4l2_window32()
100 copy_to_user(&p32->clipcount, &w32.clipcount, in put_v4l2_window32()
101 sizeof(w32) - offsetof(struct v4l2_window32, clipcount))) in put_v4l2_window32()
1045 u32 clipcount = f64->fmt.win.clipcount; in v4l2_compat_get_array_args() local
1049 clipcount == 0) in v4l2_compat_get_array_args()
1051 if (clipcount > 2048) in v4l2_compat_get_array_args()
[all …]
Dv4l2-ioctl.c323 win->chromakey, win->clipcount, win->clips, in v4l_print_format()
1566 u32 clipcount = p->fmt.win.clipcount; in v4l_g_fmt() local
1571 p->fmt.win.clipcount = clipcount; in v4l_g_fmt()
3080 if (fmt->fmt.win.clipcount > 2048) in check_array_args()
3082 if (!fmt->fmt.win.clipcount) in check_array_args()
3088 * fmt->fmt.win.clipcount; in check_array_args()
/drivers/media/test-drivers/vivid/
Dvivid-vid-out.c839 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()
[all …]
Dvivid-vid-cap.c1099 unsigned clipcount = win->clipcount; in vidioc_g_fmt_vid_overlay() local
1109 win->clipcount = dev->clipcount_cap; in vidioc_g_fmt_vid_overlay()
1110 if (clipcount > dev->clipcount_cap) in vidioc_g_fmt_vid_overlay()
1111 clipcount = dev->clipcount_cap; in vidioc_g_fmt_vid_overlay()
1119 if (clipcount && win->clips) in vidioc_g_fmt_vid_overlay()
1121 clipcount * sizeof(dev->clips_cap[0])); in vidioc_g_fmt_vid_overlay()
1146 if (win->clipcount && !win->clips) in vidioc_try_fmt_vid_overlay()
1147 win->clipcount = 0; in vidioc_try_fmt_vid_overlay()
1148 if (win->clipcount > MAX_CLIPS) in vidioc_try_fmt_vid_overlay()
1149 win->clipcount = MAX_CLIPS; in vidioc_try_fmt_vid_overlay()
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-video.c667 if (win->clipcount > 8) in verify_preview()
668 win->clipcount = 8; in verify_preview()
1271 u32 clipcount = f->fmt.win.clipcount; in saa7134_g_fmt_vid_overlay() local
1280 f->fmt.win.clipcount = 0; in saa7134_g_fmt_vid_overlay()
1283 if (dev->nclips < clipcount) in saa7134_g_fmt_vid_overlay()
1284 clipcount = dev->nclips; in saa7134_g_fmt_vid_overlay()
1285 f->fmt.win.clipcount = clipcount; in saa7134_g_fmt_vid_overlay()
1287 for (i = 0; i < clipcount; i++) { in saa7134_g_fmt_vid_overlay()
1359 f->fmt.win.clipcount = 0; in saa7134_try_fmt_vid_overlay()
1392 f->fmt.win.clipcount = 0; in saa7134_s_fmt_vid_overlay()
[all …]
/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.h142 (win_fmt)->clips, (win_fmt)->clipcount, \
Dbcm2835-camera.c731 f->fmt.win.clipcount = 0; in vidioc_try_fmt_vid_overlay()
1893 dev->overlay.clipcount = 0; in bcm2835_mmal_probe()
/drivers/media/common/saa7146/
Dsaa7146_hlp.c346 int clipcount = vv->ov.nclips; in calculate_clipping_registers_rect() local
363 for(i = 0; i < clipcount; i++) { in calculate_clipping_registers_rect()
401 cnt_line = cnt_pixel = 2*clipcount; in calculate_clipping_registers_rect()
419 for(j = 0; j < clipcount; j++) { in calculate_clipping_registers_rect()
Dsaa7146_video.c701 if (win->clipcount > 16) { in vidioc_try_fmt_vid_overlay()
770 vv->ov.nclips = f->fmt.win.clipcount; in vidioc_s_fmt_vid_overlay()
/drivers/media/platform/omap/
Domap_voutlib.c100 new_win->clipcount = 0; in omap_vout_try_window()
Domap_vout.c784 win->clipcount = 0; in vidioc_g_fmt_vid_overlay()
/drivers/media/pci/bt8xx/
Dbttv-driver.c2066 if (win->clipcount > 2048) in verify_window_lock()
2067 win->clipcount = 2048; in verify_window_lock()
2137 n = win->clipcount; in setup_window_lock()
/drivers/media/pci/ivtv/
Divtv-ioctl.c449 winfmt->clipcount = 0; in ivtv_g_fmt_vid_out_overlay()