[PATCH 0/5] ipa: rkisp1: Improve AGC (plumbing)
Paul Elder
paul.elder at ideasonboard.com
Fri Apr 5 16:47:24 CEST 2024
This series depends on v1 of "Centralise Agc into libipa", and "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
- setting digital gain
- 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
While at it, there is a fixup for Dan's series "Centralise Agc into
libipa". Dan, I suppose you could pick it up and squash it into your
series. I have it here so just so that I don't forget about it.
This series breaks the rkisp1 pipeline since it'll complain about
non-existant tuning files. There's a series coming imminently to address
that (though it'll only add a tuning file for imx335).
Paul Elder (5):
ipa: rkisp1: agc: Read histogram weights from tuning file
ipa: rkisp1: agc: Add digital gain
fixup: ipa: rkisp1: Remove bespoke Agc functions
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.cpp | 22 +++-
src/ipa/libipa/agc.h | 7 +-
src/ipa/rkisp1/algorithms/agc.cpp | 179 +++++++++++++++++++++++---
src/ipa/rkisp1/algorithms/agc.h | 11 ++
src/ipa/rkisp1/algorithms/algorithm.h | 2 +
src/ipa/rkisp1/ipa_context.h | 7 +
src/ipa/rkisp1/rkisp1.cpp | 12 ++
8 files changed, 213 insertions(+), 32 deletions(-)
--
2.39.2
More information about the libcamera-devel
mailing list