mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 21:14:56 -04:00
[media] v4l2: add support for SDR transmitter
New IOCTL ops: vidioc_enum_fmt_sdr_out vidioc_g_fmt_sdr_out vidioc_s_fmt_sdr_out vidioc_try_fmt_sdr_out New vb2 buffertype: V4L2_BUF_TYPE_SDR_OUTPUT New v4l2 capability: V4L2_CAP_SDR_OUTPUT Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
b2411b93cd
commit
9effc72fd7
@@ -36,6 +36,8 @@ struct v4l2_ioctl_ops {
|
||||
struct v4l2_fmtdesc *f);
|
||||
int (*vidioc_enum_fmt_sdr_cap) (struct file *file, void *fh,
|
||||
struct v4l2_fmtdesc *f);
|
||||
int (*vidioc_enum_fmt_sdr_out) (struct file *file, void *fh,
|
||||
struct v4l2_fmtdesc *f);
|
||||
|
||||
/* VIDIOC_G_FMT handlers */
|
||||
int (*vidioc_g_fmt_vid_cap) (struct file *file, void *fh,
|
||||
@@ -60,6 +62,8 @@ struct v4l2_ioctl_ops {
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_sdr_cap) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_sdr_out) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
|
||||
/* VIDIOC_S_FMT handlers */
|
||||
int (*vidioc_s_fmt_vid_cap) (struct file *file, void *fh,
|
||||
@@ -84,6 +88,8 @@ struct v4l2_ioctl_ops {
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_sdr_cap) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_s_fmt_sdr_out) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
|
||||
/* VIDIOC_TRY_FMT handlers */
|
||||
int (*vidioc_try_fmt_vid_cap) (struct file *file, void *fh,
|
||||
@@ -108,6 +114,8 @@ struct v4l2_ioctl_ops {
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_sdr_cap) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
int (*vidioc_try_fmt_sdr_out) (struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
|
||||
/* Buffer handlers */
|
||||
int (*vidioc_reqbufs) (struct file *file, void *fh, struct v4l2_requestbuffers *b);
|
||||
|
||||
Reference in New Issue
Block a user