From: Edgar Kaziahmedov Date: Thu, 6 Apr 2017 01:35:00 +0000 (+0300) Subject: Update V4L2_* constants X-Git-Tag: v4.17~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3288b4fe778e5dbc48b092d04f7bd854bc6d897b;p=strace Update V4L2_* constants * 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 and V4L2_BUF_TYPE_SDR_OUTPUT introduced by linux kernel commits v3.15-rc1~85^2~213 and v4.4-rc1~118^2~14, respectively. * xlat/xlat/v4l2_colorspaces.in: Add V4L2_COLORSPACE_ADOBERGB and V4L2_COLORSPACE_BT2020 introduced by linux kernel commit v3.19-rc1~29^2~72. Add V4L2_COLORSPACE_RAW and V4L2_COLORSPACE_DCI_P3 introduced by linux kernel commits v4.2-rc1~107^2~182 and v4.4-rc1~118^2~120, respectively. * xlat/v4l2_device_capabilities_flags.in: Add V4L2_CAP_SDR_CAPTURE, V4L2_CAP_EXT_PIX_FORMAT, and V4L2_CAP_SDR_OUTPUT introduced by linux kernel commits v3.15-rc1~85^2~210, v3.17-rc1~112^2~327, and v4.4-rc1~118^2~14, respectively. * xlat/v4l2_memories.in: Add V4L2_MEMORY_OVERLAY introduced in linux 2.5.46. Add V4L2_MEMORY_DMABUF introduced by linux kernel commit v3.8-rc1~115^2^2~52. Signed-off-by: Edgar Kaziahmedov --- 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