[PATCH 0/3] Introduce CameraSensorFactory

Jacopo Mondi jacopo.mondi at ideasonboard.com
Tue Oct 22 16:53:12 CEST 2024


The introduction of CameraSensorFactory has been proposed in many different
series since (!!!) 2020

In order to prepare to support RAW camera sensor models that supports multiple
data streams, re-propose the CameraSensorFactory to later extend it with a
CameraSensorRaw implementation.


Jacopo Mondi (1):
  libcamera: camera_sensor: Introduce CameraSensorFactory

Laurent Pinchart (2):
  libcamera: camera_sensor: Create abstract base class
  libcamera: camera_sensor: Sort factories by priority

 Documentation/Doxyfile-internal.in            |    1 +
 include/libcamera/internal/camera_sensor.h    |  146 ++-
 src/libcamera/pipeline/imx8-isi/imx8-isi.cpp  |    9 +-
 src/libcamera/pipeline/ipu3/cio2.cpp          |    7 +-
 src/libcamera/pipeline/mali-c55/mali-c55.cpp  |    5 +-
 src/libcamera/pipeline/rkisp1/rkisp1.cpp      |    7 +-
 .../pipeline/rpi/common/pipeline_base.cpp     |    5 +-
 src/libcamera/pipeline/simple/simple.cpp      |    9 +-
 src/libcamera/pipeline/vimc/vimc.cpp          |    7 +-
 src/libcamera/sensor/camera_sensor.cpp        | 1038 +++--------------
 src/libcamera/sensor/camera_sensor_legacy.cpp | 1015 ++++++++++++++++
 src/libcamera/sensor/meson.build              |    1 +
 test/camera-sensor.cpp                        |    7 +-
 .../v4l2_videodevice_test.cpp                 |    5 +-
 test/v4l2_videodevice/v4l2_videodevice_test.h |    2 +-
 15 files changed, 1280 insertions(+), 984 deletions(-)
 create mode 100644 src/libcamera/sensor/camera_sensor_legacy.cpp

--
2.47.0



More information about the libcamera-devel mailing list