mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
03519b7e7e
commit
ed5b65dc36
2 changed files with 38 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue