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

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

Message

Paul Elder May 17, 2024, 8:07 a.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.

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

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     | 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, 199 insertions(+), 18 deletions(-)