[libcamera-devel] [PATCH v2 0/3] Raspberry Pi: handle sensors more flexibly

David Plowman david.plowman at raspberrypi.com
Thu Apr 8 15:36:31 CEST 2021


Hi everyone

Here's a second version of this patch set. I've made some improvements
in the light of Naush's feedback, outlined below.

1. There's a new second patch that adds a CamHelper::ColourGainCode
method.

2. The final patch adds a new "setSensorControls" signal to the IPA,
so the RED/BLUE balances don't have to be signalled back using the
DelayedControls mechanism.

Hope that makes sense!

Thanks

David

David Plowman (3):
  ipa: raspberrypi: Make CamHelper exposure methods virtual
  ipa: raspberrypi: Add CamHelper::ColourGainCode method
  ipa: raspberrypi: Update sensor's RED/BLUE balance controls when
    present

 include/libcamera/ipa/raspberrypi.mojom            |  1 +
 src/ipa/raspberrypi/cam_helper.cpp                 | 11 +++++++++++
 src/ipa/raspberrypi/cam_helper.hpp                 |  8 +++++---
 src/ipa/raspberrypi/raspberrypi.cpp                | 13 +++++++++++++
 src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 10 ++++++++++
 5 files changed, 40 insertions(+), 3 deletions(-)

-- 
2.20.1



More information about the libcamera-devel mailing list