diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-06-24 15:31:25 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-06-24 15:31:25 +0200 |
commit | df16e2e8ab4e1c108fbcdd2adc4ceb12637b2d5f (patch) | |
tree | 95b0d737f18d216d763c91806c72b1cfd047ca41 /linux/include/media | |
parent | d082b862b623972e2115326f76612aa40b35c588 (diff) | |
download | mediapointer-dvb-s2-df16e2e8ab4e1c108fbcdd2adc4ceb12637b2d5f.tar.gz mediapointer-dvb-s2-df16e2e8ab4e1c108fbcdd2adc4ceb12637b2d5f.tar.bz2 |
v4l: add cropping prototypes to struct v4l2_subdev_video_ops
From: Guennadi Liakhovetski <lyakh@axis700.grange>
Add g_crop, s_crop and cropcap methods to video v4l2-subdev operations.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
---
include/media/v4l2-subdev.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-subdev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-subdev.h b/linux/include/media/v4l2-subdev.h index 5dcb36785..89a39ce17 100644 --- a/linux/include/media/v4l2-subdev.h +++ b/linux/include/media/v4l2-subdev.h @@ -220,6 +220,9 @@ struct v4l2_subdev_video_ops { int (*g_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt); int (*try_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt); int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt); + int (*cropcap)(struct v4l2_subdev *sd, struct v4l2_cropcap *cc); + int (*g_crop)(struct v4l2_subdev *sd, struct v4l2_crop *crop); + int (*s_crop)(struct v4l2_subdev *sd, struct v4l2_crop *crop); int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); int (*enum_framesizes)(struct v4l2_subdev *sd, struct v4l2_frmsizeenum *fsize); |