* xlat/v4l2_buf_flags.in: Add V4L2_BUF_FLAG_PREPARED,
V4L2_BUF_FLAG_NO_CACHE_INVALIDATE, and V4L2_BUF_FLAG_NO_CACHE_CLEAN
introduced by linux kernel commit v3.2-rc1~63^2~55.
Add V4L2_BUF_FLAG_TIMESTAMP_MASK, V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN,
and V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC introduced by linux kernel commit
v3.9-rc1~93^2~536.
Add V4L2_BUF_FLAG_TIMESTAMP_COPY introduced by linux kernel commit
v3.10-rc1~136^2~560.
Add V4L2_BUF_FLAG_TSTAMP_SRC_MASK, V4L2_BUF_FLAG_TSTAMP_SRC_EOF,
and V4L2_BUF_FLAG_TSTAMP_SRC_SOE introduced by linux kernel commit
v3.15-rc1~85^2~186.
Add V4L2_BUF_FLAG_LAST introduced by linux kernel commit v4.2-rc1~107^2~389.
* xlat/v4l2_buf_types.in: Add V4L2_BUF_TYPE_SDR_CAPTURE introduced by Linux
kernel commit v3.15-rc1~85^2~213.
Add V4L2_BUF_TYPE_SDR_OUTPUT introduced by Linux kernel commit
v4.4-rc1~118^2~14.
* xlat/xlat/v4l2_colorspaces.in: Add V4L2_COLORSPACE_ADOBERGB,
V4L2_COLORSPACE_BT2020 introduced by Linux kernel commit v3.19-rc1~29^2~72.
Add V4L2_COLORSPACE_RAW introduced by Linux kernel commit
v4.2-rc1~107^2~182.
Add V4L2_COLORSPACE_DCI_P3 introduced by Linux kernel commit
v4.4-rc1~118^2~120.
* xlat/v4l2_device_capabilities_flags.in: Add V4L2_CAP_SDR_CAPTURE
introduced by Linux kernel commit v3.15-rc1~85^2~210.
Add V4L2_CAP_EXT_PIX_FORMAT introduced by Linux kernel commit
v3.17-rc1~112^2~327.
Add V4L2_CAP_SDR_OUTPUT introduced by Linux kernel commit
v4.4-rc1~118^2~14.
* xlat/v4l2_memories.in: Add V4L2_MEMORY_OVERLAY
introduced by Linux kernel commit v2.6.12-rc2^0.
Add V4L2_MEMORY_DMABUF introduced by Linux kernel commit
v3.8-rc1~115^2^2~52.
* configure.ac: Check for availabilty of V4L2_* enum constants.

Signed-off-by: Edgar Kaziahmedov <e...@linux.com>
---
 configure.ac                           |  6 ++++++
 xlat/v4l2_buf_flags.in                 | 11 +++++++++++
 xlat/v4l2_buf_types.in                 |  2 ++
 xlat/v4l2_colorspaces.in               |  4 ++++
 xlat/v4l2_device_capabilities_flags.in |  3 +++
 xlat/v4l2_memories.in                  |  2 ++
 6 files changed, 28 insertions(+)

diff --git a/configure.ac b/configure.ac
index 9e5087b7..d0d416e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -608,6 +608,8 @@ AC_CHECK_DECLS(m4_normalize([
        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,
        V4L2_TUNER_RADIO,
        V4L2_TUNER_ANALOG_TV,
        V4L2_TUNER_DIGITAL_TV,
@@ -623,6 +625,10 @@ AC_CHECK_DECLS(m4_normalize([
        V4L2_COLORSPACE_470_SYSTEM_BG,
        V4L2_COLORSPACE_JPEG,
        V4L2_COLORSPACE_SRGB,
+       V4L2_COLORSPACE_ADOBERGB,
+       V4L2_COLORSPACE_BT2020,
+       V4L2_COLORSPACE_RAW,
+       V4L2_COLORSPACE_DCI_P3,
        V4L2_PRIORITY_UNSET,
        V4L2_PRIORITY_BACKGROUND,
        V4L2_PRIORITY_INTERACTIVE,
diff --git a/xlat/v4l2_buf_flags.in b/xlat/v4l2_buf_flags.in
index ba7e86e9..86ab91d5 100644
--- a/xlat/v4l2_buf_flags.in
+++ b/xlat/v4l2_buf_flags.in
@@ -6,3 +6,14 @@ 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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to