[libcamera-devel] [PATCH 0/3] Raspberry Pi ALSC improvements
David Plowman
david.plowman at raspberrypi.com
Thu Jul 30 13:11:31 CEST 2020
Hi
While working on something else (namely transforms), I noticed a bug in
our ALSC algorithm, as well as a couple of other perhaps overdue
improvements. As was pointed out, better to get these out of the way
first and come back to transforms later!
There are 3 patches, the first being trivial.
* The second patch resamples the luminance correction table, which
previously we weren't doing. This could have caused artifacts if any
camera modes were cropping heavily from the sensor.
* The final patch improves switching between modes that crop very
differently from one another, effectively causing the algorithm to
start over and generate new initial tables (though without the
adaptive algorithm).
Hope that makes sense!
Thanks and best regards
David
David Plowman (3):
libcamera: ipa: raspberrypi: ALSC: Camera mode does not need to be
atomic
libcamera: ipa: raspberrypi: ALSC: Resample luminance table
libcamera: ipa: raspberrypi: ALSC: Improve behaviour when camera mode
changes
src/ipa/raspberrypi/controller/rpi/alsc.cpp | 89 ++++++++++++++-------
src/ipa/raspberrypi/controller/rpi/alsc.hpp | 5 +-
2 files changed, 64 insertions(+), 30 deletions(-)
--
2.20.1
More information about the libcamera-devel
mailing list