Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/media/uapi/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.rst71 - ``defrect``
Dcapture.c.rst472 crop.c = cropcap.defrect; /* reset to default */
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-risc.c394 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo()
395 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
396 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo()
397 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo()
Dbttv-driver.c277 .cropcap.defrect.left = hdelayx1, \
278 .cropcap.defrect.top = (videostart0) * 2, \
279 .cropcap.defrect.width = swidth, \
280 .cropcap.defrect.height = sheight, \
1140 c->rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_crop_reset()
1587 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1591 c.rect = bttv_tvnorms[norm].cropcap.defrect; in bttv_prepare_buffer()
2831 sel->r = bttv_tvnorms[btv->tvnorm].cropcap.defrect; in bttv_g_selection()
Dbttv-vbi.c442 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
/Linux-v4.19/drivers/media/usb/cpia2/
Dcpia2_v4l.c493 c->defrect.left = 0; in cpia2_cropcap()
494 c->defrect.top = 0; in cpia2_cropcap()
495 c->defrect.width = cam->width; in cpia2_cropcap()
496 c->defrect.height = cam->height; in cpia2_cropcap()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-ioctl.c614 p->defrect.width, p->defrect.height, in v4l_print_cropcap()
615 p->defrect.left, p->defrect.top, in v4l_print_cropcap()
2302 p->defrect = s.r; in v4l_cropcap()
/Linux-v4.19/drivers/media/platform/am437x/
Dam437x-vpfe.c2097 crop->defrect.width = vpfe_standards[vpfe->std_index].width; in vpfe_cropcap()
2098 crop->bounds.width = crop->defrect.width; in vpfe_cropcap()
2099 crop->defrect.height = vpfe_standards[vpfe->std_index].height; in vpfe_cropcap()
2100 crop->bounds.height = crop->defrect.height; in vpfe_cropcap()
/Linux-v4.19/drivers/media/pci/cobalt/
Dcobalt-v4l2.c1088 cc->bounds.width = cc->defrect.width = timings.bt.width; in cobalt_cropcap()
1089 cc->bounds.height = cc->defrect.height = timings.bt.height; in cobalt_cropcap()
/Linux-v4.19/drivers/media/platform/davinci/
Dvpbe.c112 cropcap->defrect = cropcap->bounds; in vpbe_g_cropcap()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-m2m.c400 cr->defrect = cr->bounds; in fimc_m2m_cropcap()
/Linux-v4.19/drivers/media/platform/s5p-g2d/
Dg2d.c425 cr->defrect = cr->bounds; in vidioc_cropcap()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c580 *val = cap->defrect.left; in ctrl_get_cropcapdl()
591 *val = cap->defrect.top; in ctrl_get_cropcapdt()
602 *val = cap->defrect.width; in ctrl_get_cropcapdw()
613 *val = cap->defrect.height; in ctrl_get_cropcapdh()
Dpvrusb2-v4l2.c758 sel->r = cap.defrect; in pvr2_g_selection()
/Linux-v4.19/include/uapi/linux/
Dvideodev2.h1092 struct v4l2_rect defrect; member
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-video.c684 cc->defrect = cc->bounds; in vidioc_cropcap()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-video.c1635 cc->defrect = cc->bounds; in vidioc_cropcap()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-417.c1517 cc->defrect = cc->bounds; in vidioc_cropcap()
Dcx231xx-video.c1499 cc->defrect = cc->bounds; in vidioc_cropcap()