Home
last modified time | relevance | path

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

/linux-5.19.10/Documentation/userspace-api/media/v4l/
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 …]
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 */
Duser-func.rst16 vidioc-cropcap
/linux-5.19.10/drivers/media/pci/bt8xx/
Dbttv-vbi.c180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
247 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
248 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
383 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
384 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
430 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
Dbttv-driver.c257 .cropcap.bounds.left = minhdelayx1, \
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
265 .cropcap.defrect.left = hdelayx1, \
266 .cropcap.defrect.top = (videostart0) * 2, \
267 .cropcap.defrect.width = swidth, \
268 .cropcap.defrect.height = sheight, \
269 .cropcap.pixelaspect.numerator = totalwidth, \
270 .cropcap.pixelaspect.denominator = sqwidth,
[all …]
Dbttv-risc.c382 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
384 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
385 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
Dbttvp.h97 struct v4l2_cropcap cropcap; member