[libcamera-devel] [PATCH 0/2] IPA initial values for Raspberry Pi
David Plowman
david.plowman at raspberrypi.com
Wed Dec 6 11:38:37 CET 2023
Hi
Just a quick word to explain these patches seeing as no one is using
them (yet).
They're going to be used on the PiSP (Pi 5) platform where we have a
particular problem in needing to program up the statistics blocks
which are part of the Camera Front End. We have to do this before we
start the camera, so there has been no chance to process any frames
and discover suitable colour gains and black levels.
Therefore these methods provide a way for the Pi 5 pipeline handler to
apply sensible default values, so that the statistics for the first
few frames (before those algorithms have actually run) are usable. The
only values that we really need are black levels and plausible colour
gains for this sensor.
Thanks!
David
David Plowman (2):
ipa: rpi: black_level: Add an initialValues method
ipa: rpi: awb: Add an initialValues method
src/ipa/rpi/controller/awb_algorithm.h | 1 +
.../rpi/controller/black_level_algorithm.h | 23 +++++++++++++++++++
src/ipa/rpi/controller/rpi/awb.cpp | 6 +++++
src/ipa/rpi/controller/rpi/awb.h | 1 +
src/ipa/rpi/controller/rpi/black_level.cpp | 10 +++++++-
src/ipa/rpi/controller/rpi/black_level.h | 6 +++--
6 files changed, 44 insertions(+), 3 deletions(-)
create mode 100644 src/ipa/rpi/controller/black_level_algorithm.h
--
2.39.2
More information about the libcamera-devel
mailing list