Searched refs:cropcap (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | crop.rst | 176 struct v4l2_cropcap cropcap; 179 memset (&cropcap, 0, sizeof (cropcap)); 180 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 182 if (-1 == ioctl (fd, VIDIOC_CROPCAP, &cropcap)) { 189 crop.c = cropcap.defrect; 205 struct v4l2_cropcap cropcap; 216 format.fmt.pix.width = cropcap.defrect.width >> 1; 217 format.fmt.pix.height = cropcap.defrect.height >> 1; 235 struct v4l2_cropcap cropcap; 238 memset (&cropcap, 0, sizeof (cropcap)); [all …]
|
| D | capture.c.rst | 429 struct v4l2_cropcap cropcap; 473 CLEAR(cropcap); 475 cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 477 if (0 == xioctl(fd, VIDIOC_CROPCAP, &cropcap)) { 479 crop.c = cropcap.defrect; /* reset to default */
|
| D | user-func.rst | 23 vidioc-cropcap
|
| /Linux-v5.4/drivers/media/pci/bt8xx/ |
| D | bttv-vbi.c | 180 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()
|
| D | bttv-driver.c | 257 .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 …]
|
| D | bttv-risc.c | 382 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()
|
| D | bttvp.h | 97 struct v4l2_cropcap cropcap; member
|
| /Linux-v5.4/Documentation/media/v4l-drivers/ |
| D | soc-camera.rst | 145 rely on camera drivers implementing .cropcap(). If the camera driver does not
|