Home
last modified time | relevance | path

Searched refs:defrect (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dcrop.rst96 ``defrect`` substructure of struct
182 crop.c = cropcap.defrect;
209 format.fmt.pix.width = cropcap.defrect.width >> 1;
210 format.fmt.pix.height = cropcap.defrect.height >> 1;
242 crop.c = cropcap.defrect;
292 crop.c = cropcap.defrect;
Dvidioc-cropcap.rst70 - ``defrect``
Dcapture.c.rst472 crop.c = cropcap.defrect; /* reset to default */
/linux-6.1.9/drivers/media/pci/bt8xx/
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()
Dbttv-driver.c265 .cropcap.defrect.left = hdelayx1, \
266 .cropcap.defrect.top = (videostart0) * 2, \
267 .cropcap.defrect.width = swidth, \
268 .cropcap.defrect.height = sheight, \
1110 c->rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_crop_reset()
1557 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1561 c.rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_prepare_buffer()
2765 sel->r = bttv_tvnorms[btv->tvnorm].cropcap.defrect; in bttv_g_selection()
Dbttv-vbi.c430 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ioctl.c596 p->defrect.width, p->defrect.height, in v4l_print_cropcap()
597 p->defrect.left, p->defrect.top, in v4l_print_cropcap()
2535 p->defrect = s.r; in v4l_cropcap()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c572 *val = cap->defrect.left; in ctrl_get_cropcapdl()
583 *val = cap->defrect.top; in ctrl_get_cropcapdt()
594 *val = cap->defrect.width; in ctrl_get_cropcapdw()
605 *val = cap->defrect.height; in ctrl_get_cropcapdh()
Dpvrusb2-v4l2.c736 sel->r = cap.defrect; in pvr2_g_selection()
/linux-6.1.9/include/uapi/linux/
Dvideodev2.h1274 struct v4l2_rect defrect; member