mbox series

[v4l-utils,0/8] Support for the generic line-based metadata support

Message ID 20240402000033.4007-1-laurent.pinchart@ideasonboard.com
Headers show
Series Support for the generic line-based metadata support | expand

Message

Laurent Pinchart April 2, 2024, midnight UTC
Hello,

This patch series adds support for the generic line-based metadata
support API. The API is currently under development, with the latest
version v8 posted to the linux-media mailing list in [1].

The series starts with two improvements to media-ctl (1/8) and
v4l2-compliance (2/8). They do not depend on the new API, and can be
merged already. The next 6 patches then implement support for the new
API, and should not be merged until the API is ready to be merged in the
kernel.

This has been tested on a Raspberry Pi 4 with an IMX219 sensor, and the
in-progress work to upstream the Raspberry Pi Unicam driver. The kernel
code can be found in [2], and will be posted shortly to the linux-media
mailing list.

[1] https://lore.kernel.org/linux-media/20240313072516.241106-1-sakari.ailus@linux.intel.com
[2] https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git/log/?h=rpi/v6.9/unicam/next

Laurent Pinchart (5):
  v4l2-compliance: Constify pointers and references in formats tests
  v4l-utils: sync-with-kernel
  v4l2-compliance: Support the changed routing API
  v4l2-compliance: Add tests for V4L2_FMT_FLAG_META_LINE_BASED flag
  v4l2-compliance: Test IMMUTABLE route flag

Sakari Ailus (3):
  utils: media-ctl: Print MUST_CONNECT pad flags
  utils: media-ctl: Support changed routing API
  utils: media-ctl: Also print INTERNAL pad flag

 contrib/freebsd/include/linux/videodev2.h   | 20 ++++++++
 contrib/test/ioctl_32.h                     |  4 +-
 contrib/test/ioctl_64.h                     |  4 +-
 include/linux/media-bus-format.h            | 13 +++++
 include/linux/media.h                       |  1 +
 include/linux/v4l2-mediabus.h               | 18 ++++---
 include/linux/v4l2-subdev.h                 | 14 ++++--
 include/linux/videodev2.h                   | 20 ++++++++
 utils/common/v4l2-pix-formats.h             |  9 ++++
 utils/media-ctl/libv4l2subdev.c             |  4 +-
 utils/media-ctl/media-ctl.c                 | 54 ++++++++++++---------
 utils/v4l2-compliance/v4l2-compliance.cpp   | 12 +++--
 utils/v4l2-compliance/v4l2-test-formats.cpp | 47 ++++++++++++------
 utils/v4l2-compliance/v4l2-test-subdevs.cpp | 24 +++++----
 utils/v4l2-tracer/retrace-gen.cpp           | 12 +++++
 utils/v4l2-tracer/trace-gen.cpp             |  3 ++
 utils/v4l2-tracer/v4l2-tracer-info-gen.h    |  4 ++
 17 files changed, 197 insertions(+), 66 deletions(-)


base-commit: a04dfa5b72df01c6dbdf68fd9365e2d913fe5a0f