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

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

Message

Paul Elder June 7, 2024, 8:03 a.m. UTC
This series depends on v5 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.

v5 only changes PointF to the typedefed version from Vector (see the
dependent series for details).

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(-)