/linux-4.1.27/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.1.27/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 | 749 struct v4l2_cropcap *cropcap) in vpbe_display_cropcap() argument 756 cropcap->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in vpbe_display_cropcap() 757 cropcap->bounds.left = 0; in vpbe_display_cropcap() 758 cropcap->bounds.top = 0; in vpbe_display_cropcap() 759 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_display_cropcap() 760 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_display_cropcap() 761 cropcap->pixelaspect = vpbe_dev->current_timings.aspect; in vpbe_display_cropcap() 762 cropcap->defrect = cropcap->bounds; in vpbe_display_cropcap()
|
/linux-4.1.27/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() 247 ret = v4l2_subdev_call(sd, video, cropcap, &cap); in client_s_fmt()
|
D | soc_camera_platform.c | 121 .cropcap = soc_camera_platform_cropcap,
|
D | soc_camera.c | 1019 return ici->ops->cropcap(icd, a); in soc_camera_cropcap() 1867 return v4l2_subdev_call(sd, video, cropcap, a); in default_cropcap() 1954 if (!ici->ops->cropcap) in soc_camera_host_register() 1955 ici->ops->cropcap = default_cropcap; in soc_camera_host_register()
|
/linux-4.1.27/include/media/davinci/ |
D | vpbe.h | 109 struct v4l2_cropcap *cropcap);
|
/linux-4.1.27/drivers/media/pci/zoran/ |
D | zoran_driver.c | 2514 struct v4l2_cropcap *cropcap) in zoran_cropcap() argument 2518 int type = cropcap->type, res = 0; in zoran_cropcap() 2520 memset(cropcap, 0, sizeof(*cropcap)); in zoran_cropcap() 2521 cropcap->type = type; in zoran_cropcap() 2525 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT && in zoran_cropcap() 2526 (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE || in zoran_cropcap() 2535 cropcap->bounds.top = cropcap->bounds.left = 0; in zoran_cropcap() 2536 cropcap->bounds.width = BUZ_MAX_WIDTH; in zoran_cropcap() 2537 cropcap->bounds.height = BUZ_MAX_HEIGHT; in zoran_cropcap() 2538 cropcap->defrect.top = cropcap->defrect.left = 0; in zoran_cropcap() [all …]
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 448 struct v4l2_cropcap *cropcap) in cx18_cropcap() argument 452 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in cx18_cropcap() 454 cropcap->pixelaspect.numerator = cx->is_50hz ? 59 : 10; in cx18_cropcap() 455 cropcap->pixelaspect.denominator = cx->is_50hz ? 54 : 11; in cx18_cropcap()
|
/linux-4.1.27/drivers/media/platform/omap/ |
D | omap_vout.c | 1262 struct v4l2_cropcap *cropcap) in vidioc_cropcap() argument 1267 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) in vidioc_cropcap() 1271 cropcap->bounds.width = pix->width & ~1; in vidioc_cropcap() 1272 cropcap->bounds.height = pix->height & ~1; in vidioc_cropcap() 1274 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect); in vidioc_cropcap() 1275 cropcap->pixelaspect.numerator = 1; in vidioc_cropcap() 1276 cropcap->pixelaspect.denominator = 1; in vidioc_cropcap()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 826 static int ivtv_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) in ivtv_cropcap() argument 831 if (cropcap->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in ivtv_cropcap() 832 cropcap->pixelaspect.numerator = itv->is_50hz ? 59 : 10; in ivtv_cropcap() 833 cropcap->pixelaspect.denominator = itv->is_50hz ? 54 : 11; in ivtv_cropcap() 834 } else if (cropcap->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in ivtv_cropcap() 835 cropcap->pixelaspect.numerator = itv->is_out_50hz ? 59 : 10; in ivtv_cropcap() 836 cropcap->pixelaspect.denominator = itv->is_out_50hz ? 54 : 11; in ivtv_cropcap()
|
/linux-4.1.27/include/media/ |
D | soc_camera.h | 108 int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *); member
|
D | v4l2-subdev.h | 326 int (*cropcap)(struct v4l2_subdev *sd, struct v4l2_cropcap *cc); member
|
/linux-4.1.27/drivers/media/i2c/ |
D | ak881x.c | 217 .cropcap = ak881x_cropcap,
|
D | tvp5150.c | 1077 .cropcap = tvp5150_cropcap,
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
D | iss_video.c | 643 iss_video_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) in iss_video_cropcap() argument 654 ret = v4l2_subdev_call(subdev, video, cropcap, cropcap); in iss_video_cropcap()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 715 isp_video_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) in isp_video_cropcap() argument 726 ret = v4l2_subdev_call(subdev, video, cropcap, cropcap); in isp_video_cropcap()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | imx074.c | 283 .cropcap = imx074_cropcap,
|
D | ov5642.c | 948 .cropcap = ov5642_cropcap,
|
D | mt9m001.c | 619 .cropcap = mt9m001_cropcap,
|
D | ov9640.c | 662 .cropcap = ov9640_cropcap,
|
D | ov9740.c | 910 .cropcap = ov9740_cropcap,
|
D | tw9910.c | 886 .cropcap = tw9910_cropcap,
|
D | mt9t031.c | 720 .cropcap = mt9t031_cropcap,
|
D | ov772x.c | 1022 .cropcap = ov772x_cropcap,
|
D | mt9v022.c | 847 .cropcap = mt9v022_cropcap,
|
D | ov2640.c | 1037 .cropcap = ov2640_cropcap,
|
D | mt9t112.c | 1016 .cropcap = mt9t112_cropcap,
|
D | mt9m111.c | 873 .cropcap = mt9m111_cropcap,
|
D | ov6650.c | 936 .cropcap = ov6650_cropcap,
|
D | rj54n1cb0c.c | 1258 .cropcap = rj54n1_cropcap,
|
/linux-4.1.27/Documentation/video4linux/ |
D | soc-camera.txt | 135 rely on camera drivers implementing .cropcap(). If the camera driver does not
|