/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 192 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare() 193 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare() 259 max_end = (tvnorm->cropcap.bounds.top in try_fmt() 260 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt() 395 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap() 396 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap() 442 real_count = ((tvnorm->cropcap.defrect.top >> 1) in bttv_vbi_fmt_reset()
|
D | bttv-driver.c | 270 .cropcap.bounds.left = minhdelayx1, \ 273 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \ 275 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \ 276 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \ 278 .cropcap.defrect.left = hdelayx1, \ 279 .cropcap.defrect.top = (videostart0) * 2, \ 280 .cropcap.defrect.width = swidth, \ 281 .cropcap.defrect.height = sheight, \ 282 .cropcap.pixelaspect.numerator = totalwidth, \ 283 .cropcap.pixelaspect.denominator = sqwidth, [all …]
|
D | bttv-risc.c | 392 if ((crop->left == tvnorm->cropcap.defrect.left in bttv_calc_geo() 393 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo() 394 && crop->width == tvnorm->cropcap.defrect.width in bttv_calc_geo() 395 && crop->height == tvnorm->cropcap.defrect.height in bttv_calc_geo() 414 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
|
D | bttvp.h | 109 struct v4l2_cropcap cropcap; member
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | vpbe.c | 108 struct v4l2_cropcap *cropcap) in vpbe_g_cropcap() argument 110 if (NULL == cropcap) in vpbe_g_cropcap() 112 cropcap->bounds.left = 0; in vpbe_g_cropcap() 113 cropcap->bounds.top = 0; in vpbe_g_cropcap() 114 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_g_cropcap() 115 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_g_cropcap() 116 cropcap->defrect = cropcap->bounds; in vpbe_g_cropcap()
|
D | vpbe_display.c | 750 struct v4l2_cropcap *cropcap) in vpbe_display_cropcap() argument 757 cropcap->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in vpbe_display_cropcap() 758 cropcap->bounds.left = 0; in vpbe_display_cropcap() 759 cropcap->bounds.top = 0; in vpbe_display_cropcap() 760 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_display_cropcap() 761 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_display_cropcap() 762 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap() 763 cropcap->defrect = cropcap->bounds; in vpbe_display_cropcap()
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 58 ret = v4l2_subdev_call(sd, video, cropcap, &cap); in soc_camera_client_g_rect() 130 ret = v4l2_subdev_call(sd, video, cropcap, &cap); in soc_camera_client_s_crop() 248 ret = v4l2_subdev_call(sd, video, cropcap, &cap); in client_set_fmt()
|
D | soc_camera_platform.c | 123 .cropcap = soc_camera_platform_cropcap,
|
D | soc_camera.c | 1034 return ici->ops->cropcap(icd, a); in soc_camera_cropcap() 1885 return v4l2_subdev_call(sd, video, cropcap, a); in default_cropcap() 1972 if (!ici->ops->cropcap) in soc_camera_host_register() 1973 ici->ops->cropcap = default_cropcap; in soc_camera_host_register()
|
/linux-4.4.14/include/media/davinci/ |
D | vpbe.h | 109 struct v4l2_cropcap *cropcap);
|
/linux-4.4.14/drivers/media/pci/zoran/ |
D | zoran_driver.c | 2369 struct v4l2_cropcap *cropcap) in zoran_cropcap() argument 2373 int type = cropcap->type, res = 0; in zoran_cropcap() 2375 memset(cropcap, 0, sizeof(*cropcap)); in zoran_cropcap() 2376 cropcap->type = type; in zoran_cropcap() 2378 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT && in zoran_cropcap() 2379 (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE || in zoran_cropcap() 2388 cropcap->bounds.top = cropcap->bounds.left = 0; in zoran_cropcap() 2389 cropcap->bounds.width = BUZ_MAX_WIDTH; in zoran_cropcap() 2390 cropcap->bounds.height = BUZ_MAX_HEIGHT; in zoran_cropcap() 2391 cropcap->defrect.top = cropcap->defrect.left = 0; in zoran_cropcap() [all …]
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 450 struct v4l2_cropcap *cropcap) in cx18_cropcap() argument 454 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in cx18_cropcap() 456 cropcap->pixelaspect.numerator = cx->is_50hz ? 59 : 10; in cx18_cropcap() 457 cropcap->pixelaspect.denominator = cx->is_50hz ? 54 : 11; in cx18_cropcap()
|
/linux-4.4.14/drivers/media/platform/omap/ |
D | omap_vout.c | 1251 struct v4l2_cropcap *cropcap) in vidioc_cropcap() argument 1256 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) in vidioc_cropcap() 1260 cropcap->bounds.width = pix->width & ~1; in vidioc_cropcap() 1261 cropcap->bounds.height = pix->height & ~1; in vidioc_cropcap() 1263 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect); in vidioc_cropcap() 1264 cropcap->pixelaspect.numerator = 1; in vidioc_cropcap() 1265 cropcap->pixelaspect.denominator = 1; in vidioc_cropcap()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 828 static int ivtv_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) in ivtv_cropcap() argument 833 if (cropcap->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in ivtv_cropcap() 834 cropcap->pixelaspect.numerator = itv->is_50hz ? 59 : 10; in ivtv_cropcap() 835 cropcap->pixelaspect.denominator = itv->is_50hz ? 54 : 11; in ivtv_cropcap() 836 } else if (cropcap->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in ivtv_cropcap() 837 cropcap->pixelaspect.numerator = itv->is_out_50hz ? 59 : 10; in ivtv_cropcap() 838 cropcap->pixelaspect.denominator = itv->is_out_50hz ? 54 : 11; in ivtv_cropcap()
|
/linux-4.4.14/include/media/ |
D | soc_camera.h | 108 int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *); member
|
D | v4l2-subdev.h | 403 int (*cropcap)(struct v4l2_subdev *sd, struct v4l2_cropcap *cc); member
|
/linux-4.4.14/drivers/media/i2c/ |
D | ak881x.c | 210 .cropcap = ak881x_cropcap,
|
D | tvp5150.c | 1079 .cropcap = tvp5150_cropcap,
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 718 isp_video_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) in isp_video_cropcap() argument 729 ret = v4l2_subdev_call(subdev, video, cropcap, cropcap); in isp_video_cropcap()
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | imx074.c | 282 .cropcap = imx074_cropcap,
|
D | ov5642.c | 945 .cropcap = ov5642_cropcap,
|
D | ov9640.c | 670 .cropcap = ov9640_cropcap,
|
D | mt9m001.c | 630 .cropcap = mt9m001_cropcap,
|
D | ov9740.c | 917 .cropcap = ov9740_cropcap,
|
D | tw9910.c | 924 .cropcap = tw9910_cropcap,
|
D | mt9t031.c | 726 .cropcap = mt9t031_cropcap,
|
D | ov772x.c | 1033 .cropcap = ov772x_cropcap,
|
D | mt9v022.c | 858 .cropcap = mt9v022_cropcap,
|
D | ov2640.c | 1027 .cropcap = ov2640_cropcap,
|
D | mt9m111.c | 872 .cropcap = mt9m111_cropcap,
|
D | mt9t112.c | 1027 .cropcap = mt9t112_cropcap,
|
D | rj54n1cb0c.c | 1251 .cropcap = rj54n1_cropcap,
|
D | ov6650.c | 946 .cropcap = ov6650_cropcap,
|
/linux-4.4.14/Documentation/video4linux/ |
D | soc-camera.txt | 135 rely on camera drivers implementing .cropcap(). If the camera driver does not
|