[libcamera-devel,v4,0/2] libipa: Add support for a new sensor helper
mbox series

Message ID 20210615133534.29502-1-jeanmichel.hautbois@ideasonboard.com
Headers show
Series
  • libipa: Add support for a new sensor helper
Related show

Message

Jean-Michel Hautbois June 15, 2021, 1:35 p.m. UTC
In order for the IPAs to be able to set proper control values to the
sensor, introduce a new CameraSensorHelper class which aims to remove
the dependency between sensors and pipeline handlers. The main goal is
to have common units on the IPA side and let the CameraSensorHelper
class be overriden for each sensor to support.

--
v4: Licensing and other small issues
v3: take Jacopo comments from v1 into account

Jean-Michel Hautbois (2):
  ipa: Create a camera sensor helper class
  ipa: ipu3: Initialize CameraSensorHelper at IPU3 init stage

 src/ipa/ipu3/ipu3.cpp                   |  18 +-
 src/ipa/libipa/camera_sensor_helper.cpp | 318 ++++++++++++++++++++++++
 src/ipa/libipa/camera_sensor_helper.h   |  88 +++++++
 src/ipa/libipa/meson.build              |   2 +
 4 files changed, 422 insertions(+), 4 deletions(-)
 create mode 100644 src/ipa/libipa/camera_sensor_helper.cpp
 create mode 100644 src/ipa/libipa/camera_sensor_helper.h