Searched defs:cropcap (Results 1 - 12 of 12) sorted by relevance

/drivers/media/video/et61x251/
H A Det61x251_sensor.h90 struct v4l2_cropcap cropcap; member in struct:et61x251_sensor
/drivers/media/video/sn9c102/
H A Dsn9c102_sensor.h210 struct v4l2_cropcap cropcap; member in struct:sn9c102_sensor
224 specified in the cropcap substructures 'bounds' and 'defrect'.
238 (struct cropcap.bounds) you must not change them.anymore.
270 of cropcap.defrect.width and cropcap.defrect.height. I
/drivers/media/video/davinci/
H A Dvpbe.c102 * @cropcap - cropcap is a ptr to struct v4l2_cropcap
108 struct v4l2_cropcap *cropcap)
110 if (NULL == cropcap)
112 cropcap->bounds.left = 0;
113 cropcap->bounds.top = 0;
114 cropcap->bounds.width = vpbe_dev->current_timings.xres;
115 cropcap->bounds.height = vpbe_dev->current_timings.yres;
116 cropcap->defrect = cropcap
107 vpbe_g_cropcap(struct vpbe_device *vpbe_dev, struct v4l2_cropcap *cropcap) argument
[all...]
H A Dvpbe_display.c730 struct v4l2_cropcap *cropcap)
737 cropcap->type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
738 cropcap->bounds.left = 0;
739 cropcap->bounds.top = 0;
740 cropcap->bounds.width = vpbe_dev->current_timings.xres;
741 cropcap->bounds.height = vpbe_dev->current_timings.yres;
742 cropcap->pixelaspect = vpbe_dev->current_timings.aspect;
743 cropcap->defrect = cropcap->bounds;
729 vpbe_display_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cropcap) argument
/drivers/media/video/omap3isp/
H A Dispvideo.c788 isp_video_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) argument
799 ret = v4l2_subdev_call(subdev, video, cropcap, cropcap);
/drivers/media/video/cx18/
H A Dcx18-ioctl.c515 struct v4l2_cropcap *cropcap)
519 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
521 cropcap->bounds.top = cropcap->bounds.left = 0;
522 cropcap->bounds.width = 720;
523 cropcap->bounds.height = cx->is_50hz ? 576 : 480;
524 cropcap->pixelaspect.numerator = cx->is_50hz ? 59 : 10;
525 cropcap->pixelaspect.denominator = cx->is_50hz ? 54 : 11;
526 cropcap->defrect = cropcap
514 cx18_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) argument
[all...]
/drivers/media/video/ivtv/
H A Divtv-ioctl.c841 static int ivtv_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) argument
850 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT)
852 cropcap->bounds.top = cropcap->bounds.left = 0;
853 cropcap->bounds.width = 720;
854 if (cropcap->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
855 cropcap->bounds.height = itv->is_50hz ? 576 : 480;
856 cropcap->pixelaspect.numerator = itv->is_50hz ? 59 : 10;
857 cropcap->pixelaspect.denominator = itv->is_50hz ? 54 : 11;
860 cropcap
[all...]
/drivers/media/video/omap/
H A Domap_vout.c1266 struct v4l2_cropcap *cropcap)
1271 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT)
1275 cropcap->bounds.width = pix->width & ~1;
1276 cropcap->bounds.height = pix->height & ~1;
1278 omap_vout_default_crop(&vout->pix, &vout->fbuf, &cropcap->defrect);
1279 cropcap->pixelaspect.numerator = 1;
1280 cropcap->pixelaspect.denominator = 1;
1265 vidioc_cropcap(struct file *file, void *fh, struct v4l2_cropcap *cropcap) argument
/drivers/media/video/zoran/
H A Dzoran_driver.c2522 struct v4l2_cropcap *cropcap)
2526 int type = cropcap->type, res = 0;
2528 memset(cropcap, 0, sizeof(*cropcap));
2529 cropcap->type = type;
2533 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_OUTPUT &&
2534 (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE ||
2543 cropcap->bounds.top = cropcap->bounds.left = 0;
2544 cropcap
2521 zoran_cropcap(struct file *file, void *__fh, struct v4l2_cropcap *cropcap) argument
[all...]
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c1297 struct v4l2_cropcap *cropcap)
1301 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1307 cropcap->bounds.top = 0;
1308 cropcap->bounds.left = 0;
1309 cropcap->bounds.width = 720;
1310 cropcap->bounds.height = 480;
1311 cropcap->defrect.top = 0;
1312 cropcap->defrect.left = 0;
1313 cropcap->defrect.width = 720;
1314 cropcap
1296 vidioc_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cropcap) argument
[all...]
/drivers/media/video/bt8xx/
H A Dbttvp.h101 is determined by cropcap.bounds. */
106 struct v4l2_cropcap cropcap; member in struct:bttv_tvnorm
203 /* A cropping rectangle in struct bttv_tvnorm.cropcap units. */
488 cropping parameters in bttv_tvnorm.cropcap units. Protected
493 bttv_tvnorm.cropcap line units. Set by check_alloc_btres()
/drivers/media/video/cx25821/
H A Dcx25821-video.c1615 struct v4l2_cropcap *cropcap)
1619 if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1621 cropcap->bounds.top = 0;
1622 cropcap->bounds.left = 0;
1623 cropcap->bounds.width = 720;
1624 cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480;
1625 cropcap->pixelaspect.numerator =
1627 cropcap->pixelaspect.denominator =
1629 cropcap->defrect = cropcap
1614 cx25821_vidioc_cropcap(struct file *file, void *priv, struct v4l2_cropcap *cropcap) argument
[all...]

Completed in 1594 milliseconds