diff options
author | Qing Xu <qingx@marvell.com> | 2011-01-20 05:19:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 20:32:13 -0300 |
commit | ed5b65dc362d488958075381d97931d865e77259 (patch) | |
tree | e273587ec244a43dc99b179f16479b7b8d3d21f8 /include/media/soc_camera.h | |
parent | 03519b7e7ea531f5425be9d9bfe5f114e80951a0 (diff) | |
download | blackbird-op-linux-ed5b65dc362d488958075381d97931d865e77259.tar.gz blackbird-op-linux-ed5b65dc362d488958075381d97931d865e77259.zip |
[media] V4L: soc-camera: add enum-frame-size ioctl
add vidioc_enum_framesizes implementation, follow default_g_parm()
and g_mbus_fmt() method
Signed-off-by: Qing Xu <qingx@marvell.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r-- | include/media/soc_camera.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 9386db829fb7..09b827192ae7 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h @@ -85,6 +85,7 @@ struct soc_camera_host_ops { int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *); int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); + int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *); unsigned int (*poll)(struct file *, poll_table *); const struct v4l2_queryctrl *controls; int num_controls; |