[libcamera-devel] [PATCH 0/5] android: Introduce Configuration file
Jacopo Mondi
jacopo at jmondi.org
Tue Apr 13 16:50:37 CEST 2021
Hello,
v5 brings some relevant changes in particular in the plumbing of
the config file in the CameraHalManager and CameraDevice to support uvc
v4->v5:
- CameraHalConfig:
- use std::filesystem and drop File::
- add 'exists' and 'valid' status variables
- s/SensorInfo/CameraProps
- initialize CameraProps members to -1
- Plumbing
- allow the Camera HAL to be started without configuration file
- if no configuration file is present only external cameras are supported
- allow usage of external cameras without a corresponding entry in
configuration file
- compare the values retrieved from Camera with their value in the
configuration file, if present
- default values for external cameras if no config file is available
v3->v4:
- parser:
- Reimplement using libcamera::Extensible
- validate rotation is in [0, 360[ interval
- use std::filesystem
- drop 'model' camera property
- minor style fixes
- camera device:
- Add precendece order comment
- Warn if values from firmware != than configuration file
Thanks
j
Jacopo Mondi (4):
libcamera: List dependency for Android Camera3 HAL
android: Add CameraHalConfig class
android: camera_device: Get properties from configuration
android: soraka: Add camera HAL configuration
Kieran Bingham (1):
src: meson: Define system paths
README.rst | 3 +
src/android/camera_device.cpp | 56 ++-
src/android/camera_device.h | 3 +-
src/android/camera_hal_config.cpp | 431 ++++++++++++++++++++++++
src/android/camera_hal_config.h | 44 +++
src/android/camera_hal_manager.cpp | 37 +-
src/android/camera_hal_manager.h | 3 +
src/android/data/soraka/camera_hal.yaml | 8 +
src/android/meson.build | 2 +
src/ipa/meson.build | 17 +-
src/meson.build | 9 +
11 files changed, 596 insertions(+), 17 deletions(-)
create mode 100644 src/android/camera_hal_config.cpp
create mode 100644 src/android/camera_hal_config.h
create mode 100644 src/android/data/soraka/camera_hal.yaml
--
2.31.1
More information about the libcamera-devel
mailing list