[PATCH 1/3] xlat/v4l2*.in: updated v4l2 constants
Edgar Kaziahmedov
edos at linux.com
Wed Mar 29 18:44:56 UTC 2017
On Wed, 29 Mar 2017 02:27:03 +0300
"Dmitry V. Levin" <ldv at altlinux.org> wrote:
> On Tue, Mar 28, 2017 at 06:21:28PM +0300, Edgar Kaziahmedov wrote:
> > As a new kernel version, commit adds additional
> > defines to xlat/v4l2*.in files.
>
> It won't harm if you added the kernel version you are synchronising
> xlat/v4l2*.in files with.
>
> Also, please remember to keep you commit messages in present tense.
> This includes the summary line, too.
>
> The ChangeLog-style entry is missing in your commit message.
>
> >
> > 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 ++
> > xlat/v4l2_sliced_flags.in | 6 ++++++
> > xlat/v4l2_vbi_flags.in | 6 ++++++
> > 7 files changed, 34 insertions(+), 1 deletion(-)
> > create mode 100644 xlat/v4l2_sliced_flags.in
> > create mode 100644 xlat/v4l2_vbi_flags.in
> >
> > 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
>
> Updating already existing files is fine.
>
> > diff --git a/xlat/v4l2_sliced_flags.in b/xlat/v4l2_sliced_flags.in
> > new file mode 100644
> > index 00000000..baff2e26
> > --- /dev/null
> > +++ b/xlat/v4l2_sliced_flags.in
> > @@ -0,0 +1,6 @@
> > +V4L2_SLICED_TELETEXT_B
> > +V4L2_SLICED_VPS
> > +V4L2_SLICED_CAPTION_525
> > +V4L2_SLICED_WSS_625
> > +V4L2_SLICED_VBI_525
> > +V4L2_SLICED_VBI_625
> > diff --git a/xlat/v4l2_vbi_flags.in b/xlat/v4l2_vbi_flags.in
> > new file mode 100644
> > index 00000000..b367e606
> > --- /dev/null
> > +++ b/xlat/v4l2_vbi_flags.in
> > @@ -0,0 +1,6 @@
> > +V4L2_VBI_UNSYNC
> > +V4L2_VBI_INTERLACED
> > +V4L2_VBI_ITU_525_F1_START
> > +V4L2_VBI_ITU_525_F2_START
> > +V4L2_VBI_ITU_625_F1_START
> > +V4L2_VBI_ITU_625_F2_START
>
> These two are new files, they should rather be added along with their
> users in one of subsequent commits.
>
>
Okay, as for commit style, I am so sorry for making you annoyed,
it is because I got used to git-style commit message.
I will send out changes in several hours
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170329/9ed8309e/attachment.bin>
More information about the Strace-devel
mailing list