diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/videodev2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 1cf20765482e..27bed7c99b46 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h | |||
| @@ -139,6 +139,7 @@ enum v4l2_buf_type { | |||
| 139 | #endif | 139 | #endif |
| 140 | V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9, | 140 | V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9, |
| 141 | V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10, | 141 | V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10, |
| 142 | V4L2_BUF_TYPE_SDR_CAPTURE = 11, | ||
| 142 | /* Deprecated, do not use */ | 143 | /* Deprecated, do not use */ |
| 143 | V4L2_BUF_TYPE_PRIVATE = 0x80, | 144 | V4L2_BUF_TYPE_PRIVATE = 0x80, |
| 144 | }; | 145 | }; |
| @@ -1695,6 +1696,15 @@ struct v4l2_pix_format_mplane { | |||
| 1695 | } __attribute__ ((packed)); | 1696 | } __attribute__ ((packed)); |
| 1696 | 1697 | ||
| 1697 | /** | 1698 | /** |
| 1699 | * struct v4l2_format_sdr - SDR format definition | ||
| 1700 | * @pixelformat: little endian four character code (fourcc) | ||
| 1701 | */ | ||
| 1702 | struct v4l2_format_sdr { | ||
| 1703 | __u32 pixelformat; | ||
| 1704 | __u8 reserved[28]; | ||
| 1705 | } __attribute__ ((packed)); | ||
| 1706 | |||
| 1707 | /** | ||
| 1698 | * struct v4l2_format - stream data format | 1708 | * struct v4l2_format - stream data format |
| 1699 | * @type: enum v4l2_buf_type; type of the data stream | 1709 | * @type: enum v4l2_buf_type; type of the data stream |
| 1700 | * @pix: definition of an image format | 1710 | * @pix: definition of an image format |
| @@ -1712,6 +1722,7 @@ struct v4l2_format { | |||
| 1712 | struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */ | 1722 | struct v4l2_window win; /* V4L2_BUF_TYPE_VIDEO_OVERLAY */ |
| 1713 | struct v4l2_vbi_format vbi; /* V4L2_BUF_TYPE_VBI_CAPTURE */ | 1723 | struct v4l2_vbi_format vbi; /* V4L2_BUF_TYPE_VBI_CAPTURE */ |
| 1714 | struct v4l2_sliced_vbi_format sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE */ | 1724 | struct v4l2_sliced_vbi_format sliced; /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE */ |
| 1725 | struct v4l2_format_sdr sdr; /* V4L2_BUF_TYPE_SDR_CAPTURE */ | ||
| 1715 | __u8 raw_data[200]; /* user-defined */ | 1726 | __u8 raw_data[200]; /* user-defined */ |
| 1716 | } fmt; | 1727 | } fmt; |
| 1717 | }; | 1728 | }; |
