[0/3] ipa: libipa: Add support for V4L2 ISP statistics
mbox series

Message ID 20260505-extensible-stats-v1-0-0b56c7b1bbd6@ideasonboard.com
Headers show
Series
  • ipa: libipa: Add support for V4L2 ISP statistics
Related show

Message

Jacopo Mondi May 5, 2026, 4:11 p.m. UTC
Support for extensible stats has been submitted for review first by
Antonie then broken-out to a dedicated patch series here:
https://patchwork.linuxtv.org/project/linux-media/list/?series=24772

With the same spirit as V4L2Params, introduce a V4L2Stats class to help
IPA modules handle a buffer of V4L2 ISP statistics.

There are currently no users in-tree of the class but we have an example
user in the RPP-X1 IPA module available at:
https://gitlab.freedesktop.org/jmondi/libcamera/-/blob/v4h/jmondi/rppx1/src/ipa/rppx1/stats.h
https://gitlab.freedesktop.org/jmondi/libcamera/-/blob/v4h/jmondi/rppx1/src/ipa/rppx1/algorithms/awb.cpp#L365

on top, a drive-by change to V4L2Params.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
Jacopo Mondi (3):
      include: v4l2-isp: Update to support extensible stats
      ipa: libipa: Introduce V4L2Stats
      ipa: libipa: v4l2_params: Fix code example in doc

 include/linux/media/v4l2-isp.h | 125 ++++++++++++++---------
 src/ipa/libipa/meson.build     |   2 +
 src/ipa/libipa/v4l2_params.cpp |   4 +-
 src/ipa/libipa/v4l2_stats.cpp  | 226 +++++++++++++++++++++++++++++++++++++++++
 src/ipa/libipa/v4l2_stats.h    | 124 ++++++++++++++++++++++
 5 files changed, 433 insertions(+), 48 deletions(-)
---
base-commit: 2106c9f9867afd33909a56550e558b907c63fac3
change-id: 20260505-extensible-stats-772287be4ba8

Best regards,