[libcamera-devel] [PATCH v5 0/3] Introduce sensor database

Jacopo Mondi jacopo at jmondi.org
Tue Apr 13 12:14:36 CEST 2021


v4->v5:
- Use a static const std::map inside SensorDatabase::get()
- Remove multiple call to initStaticProperties in CameraSensor
- Documentation fixes

Thanks
  j

Jacopo Mondi (3):
  libcamera: Introduce camera sensor database
  libcamera: camera_sensor: Register static properties
  android: camera_device: Report sensor physical size

 include/libcamera/internal/camera_sensor.h   |  1 +
 include/libcamera/internal/meson.build       |  1 +
 include/libcamera/internal/sensor_database.h | 28 ++++++
 src/android/camera_device.cpp                | 30 ++++---
 src/libcamera/camera_sensor.cpp              | 16 +++-
 src/libcamera/meson.build                    |  1 +
 src/libcamera/sensor_database.cpp            | 94 ++++++++++++++++++++
 7 files changed, 156 insertions(+), 15 deletions(-)
 create mode 100644 include/libcamera/internal/sensor_database.h
 create mode 100644 src/libcamera/sensor_database.cpp

--
2.31.1



More information about the libcamera-devel mailing list