[libcamera-devel] [PATCH v3 0/6] libcamera: camera_sensor: Make validation more strict

Jacopo Mondi jacopo at jmondi.org
Wed Dec 30 19:01:14 CET 2020


Again part of a previous series that grown too much on its own and has been
broken out.

Add a list of sensor driver requirements and perform validation in the
CameraSensor class. Procede to default un-supported valued and simplify
the other components using them accordingly.

Jacopo Mondi (6):
  libcamera: Document sensor driver requirements
  libcamera: camera_sensor: Validate driver support
  libcamera: camera_sensor: Default selection targets
  libcamera: camera_sensor: Default 'location' to External
  libcamera: camera_sensor: Do not default 'rotation'
  android: camera_device: Do not default pixel array properties

 Documentation/index.rst                      |   1 +
 Documentation/meson.build                    |   1 +
 Documentation/sensor_driver_requirements.rst |  61 +++++++
 include/libcamera/internal/camera_sensor.h   |   4 +
 src/android/camera_device.cpp                |  20 +--
 src/libcamera/camera_sensor.cpp              | 178 +++++++++++++------
 6 files changed, 190 insertions(+), 75 deletions(-)
 create mode 100644 Documentation/sensor_driver_requirements.rst

--
2.29.2



More information about the libcamera-devel mailing list