diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-04 04:08:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 08:55:15 -0400 |
commit | ecf37493f4bda87b77c83a4f64132e287cb55fc8 (patch) | |
tree | 915c66fa6953007ca048d095a16fc89c337976cc /include/media | |
parent | 1f981a48dc89c40019819464d71185cc37096dfa (diff) |
[media] v4l2-subdev: rename cropcap to g_pixelaspect
The old cropcap video op is now only used to pass the pixelaspect
ratio, so rename it.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 22ea819ada95..de5117a01b98 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -358,7 +358,7 @@ struct v4l2_mbus_frame_desc { | |||
358 | * @s_stream: used to notify the driver that a video stream will start or has | 358 | * @s_stream: used to notify the driver that a video stream will start or has |
359 | * stopped. | 359 | * stopped. |
360 | * | 360 | * |
361 | * @cropcap: callback for %VIDIOC_CROPCAP ioctl handler code. | 361 | * @g_pixelaspect: callback to return the pixelaspect ratio. |
362 | * | 362 | * |
363 | * @g_parm: callback for %VIDIOC_G_PARM ioctl handler code. | 363 | * @g_parm: callback for %VIDIOC_G_PARM ioctl handler code. |
364 | * | 364 | * |
@@ -398,7 +398,7 @@ struct v4l2_subdev_video_ops { | |||
398 | int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std); | 398 | int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std); |
399 | int (*g_input_status)(struct v4l2_subdev *sd, u32 *status); | 399 | int (*g_input_status)(struct v4l2_subdev *sd, u32 *status); |
400 | int (*s_stream)(struct v4l2_subdev *sd, int enable); | 400 | int (*s_stream)(struct v4l2_subdev *sd, int enable); |
401 | int (*cropcap)(struct v4l2_subdev *sd, struct v4l2_cropcap *cc); | 401 | int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect); |
402 | int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); | 402 | int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); |
403 | int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); | 403 | int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param); |
404 | int (*g_frame_interval)(struct v4l2_subdev *sd, | 404 | int (*g_frame_interval)(struct v4l2_subdev *sd, |