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

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

Message

Jean-Michel Hautbois June 21, 2021, 11:47 a.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.

--
v5: minor comments
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 | 313 ++++++++++++++++++++++++
 src/ipa/libipa/camera_sensor_helper.h   |  86 +++++++
 src/ipa/libipa/meson.build              |   2 +
 4 files changed, 415 insertions(+), 4 deletions(-)
 create mode 100644 src/ipa/libipa/camera_sensor_helper.cpp
 create mode 100644 src/ipa/libipa/camera_sensor_helper.h