Home
last modified time | relevance | path

Searched refs:cropcap (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dcrop.rst169 struct v4l2_cropcap cropcap;
172 memset (&cropcap, 0, sizeof (cropcap));
182 crop.c = cropcap.defrect;
198 struct v4l2_cropcap cropcap;
228 struct v4l2_cropcap cropcap;
231 memset (&cropcap, 0, sizeof (cropcap));
242 crop.c = cropcap.defrect;
267 struct v4l2_cropcap cropcap;
274 memset (&cropcap, 0, sizeof (cropcap));
292 crop.c = cropcap.defrect;
[all …]
H A Dcapture.c.rst422 struct v4l2_cropcap cropcap;
466 CLEAR(cropcap);
468 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
470 if (0 == xioctl(fd, VIDIOC_CROPCAP, &cropcap)) {
472 crop.c = cropcap.defrect; /* reset to default */
H A Duser-func.rst16 vidioc-cropcap
/linux-6.15/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c191 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
192 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
321 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
322 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
367 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
H A Dbttv-driver.c257 .cropcap.bounds.left = minhdelayx1, \
265 .cropcap.defrect.left = hdelayx1, \
266 .cropcap.defrect.top = (videostart0) * 2, \
267 .cropcap.defrect.width = swidth, \
268 .cropcap.defrect.height = sheight, \
270 .cropcap.pixelaspect.denominator = sqwidth,
714 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
715 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
1111 if (memcmp(&bttv_tvnorms[btv->tvnorm].cropcap, &tvnorm->cropcap, in set_tvnorm()
1112 sizeof (tvnorm->cropcap))) { in set_tvnorm()
[all …]
H A Dbttv-risc.c293 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
295 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
296 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in bttv_buffer_risc_vbi()
545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top; in bttv_buffer_risc_vbi()
H A Dbttvp.h96 struct v4l2_cropcap cropcap; member