[PATCH 1/3] xlat/v4l2*.in: update of various v4l2's flags
Edgar Kaziahmedov
edos at linux.com
Wed Mar 29 20:55:42 UTC 2017
Linux 4.4: V4L2_BUF_TYPE_SDR_OUTPUT, V4L2_COLORSPACE_DCI_P3,
V4L2_COLORSPACE_BT2020
Linux 4.2: V4L2_BUF_FLAG_LAST, V4L2_COLORSPACE_RAW
Linux 3.8: V4L2_MEMORY_DMABUF
Linux 3.6: V4L2_BUF_FLAG_INPUT is not useful
Linux 3.19: V4L2_COLORSPACE_ADOBERGB
Linux 3.17: V4L2_CAP_EXT_PIX_FORMAT
Linux 3.15: V4L2_BUF_TYPE_SDR_CAPTURE, *TSTAMP* and *TIMESTAMP*
V4L2_CAP_SDR_CAPTURE, V4L2_CAP_SDR_OUTPUT
* xlat/v4l2_buf_flags.in: add new flags
* xlat/v4l2_buf_types.in: Likewise
* xlat/xlat/v4l2_colorspaces.in: Likewise
* xlat/v4l2_device_capabilities_flags.in: Likewise
* xlat/v4l2_memories.in: Likewise
Signed-off-by: Edgar Kaziahmedov <edos at linux.com>
---
xlat/v4l2_buf_flags.in | 12 +++++++++++-
xlat/v4l2_buf_types.in | 2 ++
xlat/v4l2_colorspaces.in | 4 ++++
xlat/v4l2_device_capabilities_flags.in | 3 +++
xlat/v4l2_memories.in | 2 ++
5 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/xlat/v4l2_buf_flags.in b/xlat/v4l2_buf_flags.in
index ba7e86e9..0c577149 100644
--- a/xlat/v4l2_buf_flags.in
+++ b/xlat/v4l2_buf_flags.in
@@ -5,4 +5,14 @@ V4L2_BUF_FLAG_KEYFRAME
V4L2_BUF_FLAG_PFRAME
V4L2_BUF_FLAG_BFRAME
V4L2_BUF_FLAG_TIMECODE
-V4L2_BUF_FLAG_INPUT
+V4L2_BUF_FLAG_PREPARED
+V4L2_BUF_FLAG_NO_CACHE_INVALIDATE
+V4L2_BUF_FLAG_NO_CACHE_CLEAN
+V4L2_BUF_FLAG_TIMESTAMP_MASK
+V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN
+V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
+V4L2_BUF_FLAG_TIMESTAMP_COPY
+V4L2_BUF_FLAG_TSTAMP_SRC_MASK
+V4L2_BUF_FLAG_TSTAMP_SRC_EOF
+V4L2_BUF_FLAG_TSTAMP_SRC_SOE
+V4L2_BUF_FLAG_LAST
diff --git a/xlat/v4l2_buf_types.in b/xlat/v4l2_buf_types.in
index 431cb598..2b52561f 100644
--- a/xlat/v4l2_buf_types.in
+++ b/xlat/v4l2_buf_types.in
@@ -8,3 +8,5 @@ V4L2_BUF_TYPE_VBI_OUTPUT
V4L2_BUF_TYPE_SLICED_VBI_CAPTURE
V4L2_BUF_TYPE_SLICED_VBI_OUTPUT
V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY
+V4L2_BUF_TYPE_SDR_CAPTURE
+V4L2_BUF_TYPE_SDR_OUTPUT
diff --git a/xlat/v4l2_colorspaces.in b/xlat/v4l2_colorspaces.in
index 961e71c8..1d227e49 100644
--- a/xlat/v4l2_colorspaces.in
+++ b/xlat/v4l2_colorspaces.in
@@ -6,3 +6,7 @@ V4L2_COLORSPACE_470_SYSTEM_M
V4L2_COLORSPACE_470_SYSTEM_BG
V4L2_COLORSPACE_JPEG
V4L2_COLORSPACE_SRGB
+V4L2_COLORSPACE_ADOBERGB
+V4L2_COLORSPACE_BT2020
+V4L2_COLORSPACE_RAW
+V4L2_COLORSPACE_DCI_P3
diff --git a/xlat/v4l2_device_capabilities_flags.in b/xlat/v4l2_device_capabilities_flags.in
index 9380eb44..d4e3292b 100644
--- a/xlat/v4l2_device_capabilities_flags.in
+++ b/xlat/v4l2_device_capabilities_flags.in
@@ -22,3 +22,6 @@ V4L2_CAP_ASYNCIO
V4L2_CAP_STREAMING
V4L2_CAP_TOUCH
V4L2_CAP_DEVICE_CAPS
+V4L2_CAP_SDR_CAPTURE
+V4L2_CAP_EXT_PIX_FORMAT
+V4L2_CAP_SDR_OUTPUT
diff --git a/xlat/v4l2_memories.in b/xlat/v4l2_memories.in
index e592d57f..2acd47b8 100644
--- a/xlat/v4l2_memories.in
+++ b/xlat/v4l2_memories.in
@@ -1,2 +1,4 @@
V4L2_MEMORY_MMAP
V4L2_MEMORY_USERPTR
+V4L2_MEMORY_OVERLAY
+V4L2_MEMORY_DMABUF
--
2.11.0
More information about the Strace-devel
mailing list