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

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

Message

Jean-Michel Hautbois June 10, 2021, 2:57 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.

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

 src/ipa/ipu3/ipu3.cpp                   |  17 +-
 src/ipa/libipa/camera_sensor_helper.cpp | 322 ++++++++++++++++++++++++
 src/ipa/libipa/camera_sensor_helper.h   |  89 +++++++
 src/ipa/libipa/meson.build              |   2 +
 4 files changed, 426 insertions(+), 4 deletions(-)
 create mode 100644 src/ipa/libipa/camera_sensor_helper.cpp
 create mode 100644 src/ipa/libipa/camera_sensor_helper.h