|
@@ -139,6 +139,7 @@ enum v4l2_buf_type {
|
|
|
#endif
|
|
|
V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
|
|
|
V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
|
|
|
+ V4L2_BUF_TYPE_SDR_CAPTURE = 11,
|
|
|
/* Deprecated, do not use */
|
|
|
V4L2_BUF_TYPE_PRIVATE = 0x80,
|
|
|
};
|
|
@@ -1694,6 +1695,15 @@ struct v4l2_pix_format_mplane {
|
|
|
__u8 reserved[11];
|
|
|
} __attribute__ ((packed));
|
|
|
|
|
|
+/**
|
|
|
+ * struct v4l2_format_sdr - SDR format definition
|
|
|
+ * @pixelformat: little endian four character code (fourcc)
|
|
|
+ */
|
|
|
+struct v4l2_format_sdr {
|
|
|
+ __u32 pixelformat;
|
|
|
+ __u8 reserved[28];
|
|
|
+} __attribute__ ((packed));
|
|
|
+
|
|
|
/**
|
|
|
* struct v4l2_format - stream data format
|
|
|
* @type: enum v4l2_buf_type; type of the data stream
|
|
@@ -1712,6 +1722,7 @@ struct v4l2_format {
|
|
|
struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */
|
|
|
struct v4l2_vbi_format vbi; /* V4L2_BUF_TYPE_VBI_CAPTURE */
|
|
|
struct v4l2_sliced_vbi_format sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE */
|
|
|
+ struct v4l2_format_sdr sdr; /* V4L2_BUF_TYPE_SDR_CAPTURE */
|
|
|
__u8 raw_data[200]; /* user-defined */
|
|
|
} fmt;
|
|
|
};
|