[PATCH v4 0/3] ipa: rkisp1: Improve AGC (plumbing)

Paul Elder paul.elder at ideasonboard.com
Wed May 29 21:32:27 CEST 2024


This series depends on v3 of the series "ipa: Move Pwl from Raspberry Pi
to libipa".

This series adds support in the rkisp1 IPA for:
- reading histogram weights (metering modes) from tuning file
- expands luminance target from a scalar value to piecewise linear
  function, controlled by lux
- plumbs controls for setting metering mode, exposure mode, constraint
  mode, and frame duration

As of v2, defaults have been added such that the rkisp1 pipeline will no
longer break with non-existent/erroneous tuning files.

v3 mainly adds support for both v10 and v12, and fixes a limits issue in
when using the exposure mode helper.

v4 only has minor changes.

Paul Elder (3):
  ipa: rkisp1: agc: Read histogram weights from tuning file
  ipa: libipa: agc: Change luminance target to piecewise linear function
  ipa: rkisp1: agc: Plumb mode-selection and frame duration controls

 src/ipa/ipu3/algorithms/agc.cpp       |   5 +-
 src/ipa/libipa/agc_mean_luminance.cpp |  32 ++++--
 src/ipa/libipa/agc_mean_luminance.h   |   7 +-
 src/ipa/rkisp1/algorithms/agc.cpp     | 146 +++++++++++++++++++++++++-
 src/ipa/rkisp1/algorithms/agc.h       |   6 ++
 src/ipa/rkisp1/algorithms/algorithm.h |   2 +
 src/ipa/rkisp1/ipa_context.h          |  10 +-
 src/ipa/rkisp1/rkisp1.cpp             |  10 ++
 8 files changed, 200 insertions(+), 18 deletions(-)

-- 
2.39.2



More information about the libcamera-devel mailing list