[v3,0/9] Wdr preparations
mbox series

Message ID 20250707085520.39777-1-stefan.klug@ideasonboard.com
Headers show
Series
  • Wdr preparations
Related show

Message

Stefan Klug July 7, 2025, 8:55 a.m. UTC
Hi all,

This is v3 of the wdr preparation series. I hope it is ready to go. Most
of the patches have 2 rby tags. I repost because patch 6 and 7 were
reworked. Patch 6 contains the error message when queuing parameter
buffers fails. The functionality to check for available parameter types
was pulled into linux 6.17. I therefore reduced the error message in
patch 6 to a generic "Failed to queue parameter buffer" as this might
still be valuable information even though it is not expected to happen
regularly. Patch 7 was simplified as result of the reviews and therefore
misses the rby tags.

Best regards,
Stefan

--- Old cover letter below.

This v2 fixes a few minor errors found in v1. The main reason for the
repost is to create a basis for the upcoming WDR series.

The rest of the text here is unmodified (the changelogs are in the
patches).

This patch series does a bit of preparatory work for the upcoming WDR
support. The patches are a mix of topics but as they are all quite
small, I thought that a small series might be the best fit.

Patches 1-3 are tiny improvements in gen-debug-controls that ease the
day to day work.

Patches 4 and 7 add a bit of debug logging.

Patches 5-6 fix a bug in the rkisp1 parameters handling.

Patches 8-9 add support for exposure compensation in rkisp1.

I hope you all like it :-)

Best regards,
Stefan

Stefan Klug (9):
  utils: gen-debug-controls: Remove line number from control description
  utils: gen-debug-controls: Fix handling of controls that appear
    multiple times
  utils: gen-debug-controls: Improve log output
  libipa: agc_mean_luminance: Add debug logging
  ipa: rkisp1: params: Check for empty parameters
  pipeline: rkisp1: Add error log when parameter queuing fails
  pipeline: v4l2_subdevice: Add color space to format string
    representation
  libipa: agc_mean_luminance: Add exposure compensation support
  ipa: rkisp1: agc: Implement ExposureValue control

 src/ipa/libipa/agc_mean_luminance.cpp    | 36 +++++++++++++++++++++---
 src/ipa/libipa/agc_mean_luminance.h      |  6 ++++
 src/ipa/rkisp1/algorithms/agc.cpp        | 10 +++++++
 src/ipa/rkisp1/ipa_context.h             |  2 ++
 src/ipa/rkisp1/params.cpp                |  3 ++
 src/ipa/rkisp1/params.h                  |  3 ++
 src/libcamera/pipeline/rkisp1/rkisp1.cpp |  9 +++++-
 src/libcamera/v4l2_subdevice.cpp         |  2 ++
 utils/gen-debug-controls.py              | 28 +++++++++++++++---
 9 files changed, 90 insertions(+), 9 deletions(-)