linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Vandana B N <bnvandana@gmail.com>
Subject: [GIT PULL FOR v5.5 (v2)] vivid: add metadata capture/output support
Date: Thu, 17 Oct 2019 08:53:48 +0200	[thread overview]
Message-ID: <1074d944-de6e-7483-3337-ca9acd1b1c55@xs4all.nl> (raw)

This series adds vivid metadata capture and output support. While working on
that it was discovered that the v4l2 core didn't correctly validate the ioctls
in the case of the vivid driver that has a complex mix of V4L2 devices and
various video inputs, each with different properties.

Some other cleanups were also done in that code to simplify the logic and
the ioctl validation for touch devices was also improved.

Many thanks to Vandana for working on this as part of the Linux Kernel
Mentorship Program.

Note: the v4l2-compliance test will fail for the metadata output. To make that
work this patch is needed: https://patchwork.linuxtv.org/patch/59480/

Once this series is merged I'll apply that patch as well to v4l-utils.

Changes in v2:

- Updated the "v4l2:Add vivid metadata doc" patch with new dual license

Regards,

	Hans

The following changes since commit 503e59365dd134b2c63864f14e2de0476284b003:

  media: i2c: ov2659: Switch to SPDX Licensing (2019-10-01 17:39:16 -0300)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.5f

for you to fetch changes up to d1c35b1d11a00b4794a7f0fbce50d754bc72ed36:

  vivid: Add metadata output support (2019-10-17 08:50:14 +0200)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Hans Verkuil (3):
      v4l2-dev: simplify the SDR checks
      v4l2-dev: fix is_tch checks
      v4l2-dev: disable frequency and tuner ioctls for touch

Vandana BN (5):
      v4l2-core: correctly validate video and metadata ioctls
      vivid: Add metadata capture support
      Documentation:media:v4l2:Add vivid metadata doc
      v4l2-core: Add new metadata format
      vivid: Add metadata output support

 Documentation/media/uapi/v4l/meta-formats.rst      |   1 +
 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst |  60 +++++++++++++++
 drivers/media/platform/vivid/Makefile              |   2 +-
 drivers/media/platform/vivid/vivid-core.c          | 197 ++++++++++++++++++++++++++++++++++++++++++++++--
 drivers/media/platform/vivid/vivid-core.h          |  24 ++++++
 drivers/media/platform/vivid/vivid-ctrls.c         |  75 ++++++++++++++++++
 drivers/media/platform/vivid/vivid-kthread-cap.c   |  54 +++++++++++--
 drivers/media/platform/vivid/vivid-kthread-out.c   |  49 +++++++++++-
 drivers/media/platform/vivid/vivid-meta-cap.c      | 201 +++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/media/platform/vivid/vivid-meta-cap.h      |  29 +++++++
 drivers/media/platform/vivid/vivid-meta-out.c      | 174 ++++++++++++++++++++++++++++++++++++++++++
 drivers/media/platform/vivid/vivid-meta-out.h      |  25 ++++++
 drivers/media/platform/vivid/vivid-vid-cap.c       |   5 +-
 drivers/media/platform/vivid/vivid-vid-out.c       |   5 +-
 drivers/media/v4l2-core/v4l2-dev.c                 | 112 ++++++++++++++++-----------
 drivers/media/v4l2-core/v4l2-ioctl.c               |  17 ++++-
 include/uapi/linux/videodev2.h                     |   1 +
 17 files changed, 965 insertions(+), 66 deletions(-)
 create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-vivid.rst
 create mode 100644 drivers/media/platform/vivid/vivid-meta-cap.c
 create mode 100644 drivers/media/platform/vivid/vivid-meta-cap.h
 create mode 100644 drivers/media/platform/vivid/vivid-meta-out.c
 create mode 100644 drivers/media/platform/vivid/vivid-meta-out.h

             reply	other threads:[~2019-10-17  6:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17  6:53 Hans Verkuil [this message]
2019-10-17  7:22 ` [GIT PULL FOR v5.5 (v2)] vivid: add metadata capture/output support Jenkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074d944-de6e-7483-3337-ca9acd1b1c55@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=bnvandana@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).