mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
V4L/DVB (7948): videodev: add missing vidioc_try_fmt_sliced_vbi_output and VIDIOC_ENUMOUTPUT handling
There was no vidioc_try_fmt_sliced_vbi_output, instead vidioc_try_fmt_vbi_output was reused. The VIDIOC_ENUMOUTPUT handling was missing altogether, even though the callback existed. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
b2de2313f1
commit
0e3bd2b999
2 changed files with 36 additions and 9 deletions
|
|
@ -132,6 +132,8 @@ struct video_device
|
|||
struct v4l2_fmtdesc *f);
|
||||
int (*vidioc_enum_fmt_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_fmtdesc *f);
|
||||
int (*vidioc_enum_fmt_sliced_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_fmtdesc *f);
|
||||
int (*vidioc_enum_fmt_type_private)(struct file *file, void *fh,
|
||||
struct v4l2_fmtdesc *f);
|
||||
|
||||
|
|
@ -144,6 +146,8 @@ struct video_device
|
|||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_sliced_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_vbi_capture)(struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_video_output)(struct file *file, void *fh,
|
||||
|
|
@ -163,6 +167,8 @@ struct video_device
|
|||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_sliced_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_vbi_capture)(struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_video_output)(struct file *file, void *fh,
|
||||
|
|
@ -181,6 +187,8 @@ struct video_device
|
|||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_sliced_vbi_output) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_vbi_capture)(struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_video_output)(struct file *file, void *fh,
|
||||
|
|
@ -225,7 +233,7 @@ struct video_device
|
|||
int (*vidioc_s_input) (struct file *file, void *fh, unsigned int i);
|
||||
|
||||
/* Output handling */
|
||||
int (*vidioc_enumoutput) (struct file *file, void *fh,
|
||||
int (*vidioc_enum_output) (struct file *file, void *fh,
|
||||
struct v4l2_output *a);
|
||||
int (*vidioc_g_output) (struct file *file, void *fh, unsigned int *i);
|
||||
int (*vidioc_s_output) (struct file *file, void *fh, unsigned int i);
|
||||
|
|
|
|||
Loading…
Reference in a new issue