History

[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

Antti Palosaari committed 11 years ago

Commit 9effc721 parent b2411b97 files · +55 −4Browse files

Showing the changes to include/uapi (1 of 7 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+4−1
@@ -145,6 +145,7 @@ enum v4l2_buf_type { · 144 unmodified lines
145145 V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
146146 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
147147 V4L2_BUF_TYPE_SDR_CAPTURE = 11,
148+ V4L2_BUF_TYPE_SDR_OUTPUT = 12,
148149 /* Deprecated, do not use */
149150 V4L2_BUF_TYPE_PRIVATE = 0x80,
150151 };
@@ -159,7 +160,8 @@ enum v4l2_buf_type { · 8 unmodified lines
159160 || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \
160161 || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \
161162 || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \
162− || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT)
163+ || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \
164+ || (type) == V4L2_BUF_TYPE_SDR_OUTPUT)
163165
164166 enum v4l2_tuner_type {
165167 V4L2_TUNER_RADIO = 1,
@@ -435,6 +437,7 @@ struct v4l2_capability { · 269 unmodified lines
435437
436438 #define V4L2_CAP_SDR_CAPTURE 0x00100000 /* Is a SDR capture device */
437439 #define V4L2_CAP_EXT_PIX_FORMAT 0x00200000 /* Supports the extended pixel format */
440+#define V4L2_CAP_SDR_OUTPUT 0x00400000 /* Is a SDR output device */
438441
439442 #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */
440443 #define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */