[libcamera-devel,0/7] Raspberry Pi IPA maintenance
mbox series

Message ID 20210204093457.6879-1-david.plowman@raspberrypi.com
Headers show
Series
  • Raspberry Pi IPA maintenance
Related show

Message

David Plowman Feb. 4, 2021, 9:34 a.m. UTC
Hi everyone

Here's a set of hopefully uncontroversial patches that just do some
tidying in the Raspberry Pi control algorithms.

On the Pi 4 platform, changes to the algorithm's settings are enacted
synchronously with the algorithms themselves, so a handful of atomic
variables or mutexes that protect these variables can simply be
removed. (Some algorithms, such as AGC and ALSC, have already been
dealt with.)

There's one further related commit (the second of this set) which
makes some locking improvements, exactly as we did some time ago in
commit db552b for ALSC.

Hope that all makes sense!

Thanks
David

David Plowman (7):
  ipa: raspberrypi: AWB: Remove unnecessary locking for AWB settings
  ipa: raspberrypi: AWB: Improve locking.
  ipa: raspberrypi: ccm: Remove unnecessary atomic variable
  ipa: rasberrypi: contrast: Remove unnecessary atomic variables
  ipa: raspberrypi: noise: Remove unnecessary atomic variable
  ipa: raspberrypi: lux: Supply missing method and remove atomic
    variable
  ipa: raspberrypi: Remove atomic variable from Algorithm class

 src/ipa/raspberrypi/controller/algorithm.hpp  |  3 +-
 src/ipa/raspberrypi/controller/rpi/awb.cpp    | 28 ++++++++-----------
 src/ipa/raspberrypi/controller/rpi/awb.hpp    |  4 +--
 src/ipa/raspberrypi/controller/rpi/ccm.hpp    |  3 +-
 .../raspberrypi/controller/rpi/contrast.cpp   |  9 +++---
 .../raspberrypi/controller/rpi/contrast.hpp   |  5 ++--
 src/ipa/raspberrypi/controller/rpi/lux.cpp    |  5 ++++
 src/ipa/raspberrypi/controller/rpi/lux.hpp    |  3 +-
 src/ipa/raspberrypi/controller/rpi/noise.hpp  |  2 +-
 src/ipa/raspberrypi/meson.build               |  1 -
 10 files changed, 27 insertions(+), 36 deletions(-)