Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/media/v4l/
H A Dcrop.rst170 struct v4l2_cropcap cropcap;
173 memset (&cropcap, 0, sizeof (cropcap));
174 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
176 if (-1 == ioctl (fd, VIDIOC_CROPCAP, &cropcap)) {
183 crop.c = cropcap.defrect;
199 struct v4l2_cropcap cropcap;
210 format.fmt.pix.width = cropcap.defrect.width >> 1;
211 format.fmt.pix.height = cropcap.defrect.height >> 1;
229 struct v4l2_cropcap cropcap;
232 memset (&cropcap, 0, sizeof (cropcap));
[all …]
H A Dcapture.c.rst423 struct v4l2_cropcap cropcap;
467 CLEAR(cropcap);
469 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
471 if (0 == xioctl(fd, VIDIOC_CROPCAP, &cropcap)) {
473 crop.c = cropcap.defrect; /* reset to default */
H A Duser-func.rst17 vidioc-cropcap
/linux/drivers/media/pci/bt8xx/
H A 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 …]
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