Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/media/v4l/
H A Dcrop.rst169 struct v4l2_cropcap cropcap;
172 memset (&cropcap, 0, sizeof (cropcap));
173 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
175 if (-1 == ioctl (fd, VIDIOC_CROPCAP, &cropcap)) {
182 crop.c = cropcap.defrect;
198 struct v4l2_cropcap cropcap;
209 format.fmt.pix.width = cropcap.defrect.width >> 1;
210 format.fmt.pix.height = cropcap.defrect.height >> 1;
228 struct v4l2_cropcap cropcap;
231 memset (&cropcap, 0, sizeof (cropcap));
[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/drivers/media/pci/bt8xx/
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