Skip to content

Add V4L2_BUF_TYPE_META_OUTPUT buffer type

Sakari Ailus linux-api linux-media 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 of 2 patches 0 repliesNew

Changes in v2 from the cover letter

- Correctly determine valid IOCTLs for META_OUTPUT type in determine_valid_ioctls().

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2docs-rst: v4l: Document V4L2_BUF_TYPE_META_OUTPUT interfaceDocumentation/media/uapi/v4l/buffer.rst Documentation/media/uapi/v4l/dev-meta.rst Documentation/media/uapi/v4l/vidioc-querycap.rst +1 more+28 -130 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans VerkuilTomasz FigaTian Shu Qiu
SeriesA-b R-b T-b
2/2A-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add V4L2_BUF_TYPE_META_OUTPUT buffer type

Hi folks,

Here's a second non-RFC version of the META_OUTPUT buffer type patches.

The V4L2_BUF_TYPE_META_OUTPUT buffer type complements the metadata buffer types support for OUTPUT buffers, capture being already supported. This is intended for similar cases than V4L2_BUF_TYPE_META_CAPTURE but for output buffers, e.g. device parameters that may be complex and highly hierarchical data structure. Statistics are a current use case for metadata capture buffers.

Yong: could you take these to your IPU3 ImgU patchset, please? As that would be the first user, the patches would be merged with the driver itself.

since v1:

- Correctly determine valid IOCTLs for META_OUTPUT type in determine_valid_ioctls().

since RFC:

- Fix make htmldocs build.

- Fix CAPTURE -> OUTPUT in buffer.rst.

- Added " for specifying how the device processes images" in the documentation.

Sakari Ailus (2):
v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT
docs-rst: v4l: Document V4L2_BUF_TYPE_META_OUTPUT interface

 Documentation/media/uapi/v4l/buffer.rst          |  3 +++
 Documentation/media/uapi/v4l/dev-meta.rst        | 33 ++++++++++++++----------
 Documentation/media/uapi/v4l/vidioc-querycap.rst |  3 +++
 Documentation/media/videodev2.h.rst.exceptions   |  2 ++
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c    |  2 ++
 drivers/media/v4l2-core/v4l2-dev.c               | 12 ++++++---
 drivers/media/v4l2-core/v4l2-ioctl.c             | 25 ++++++++++++++++++
 drivers/media/v4l2-core/videobuf2-v4l2.c         |  1 +
 include/media/v4l2-ioctl.h                       | 17 ++++++++++++
 include/uapi/linux/videodev2.h                   |  2 ++
 10 files changed, 83 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4