[v2,0/3] ipa: rkisp1: Improve AGC (plumbing)
mbox series

Message ID 20240509175555.43121-1-paul.elder@ideasonboard.com
Headers show
Series
  • ipa: rkisp1: Improve AGC (plumbing)
Related show

Message

Paul Elder May 9, 2024, 5:55 p.m. UTC
This series depends on v2 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.

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 |  31 ++++--
 src/ipa/libipa/agc_mean_luminance.h   |   7 +-
 src/ipa/rkisp1/algorithms/agc.cpp     | 148 +++++++++++++++++++++++++-
 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, 201 insertions(+), 18 deletions(-)