[libcamera-devel] [PATCH v3 0/5] android: Introduce HAL configuration file

Jacopo Mondi jacopo at jmondi.org
Tue Mar 30 16:21:08 CEST 2021


Hello,
   mostly re-worked the parser and the plumbing

- Remove yaml.h from header, make parsing internal to the cpp file with a bunch
  of static functions
 - Other parser changes:
   - yaml_token_t is local to each function
   - yaml_parser_t only used in open()
   - Rework error conditions in switch() blocks
- Change the CameraHalConfig interface to only return CameraProps
- Use camera properties to initialize the camera device
- drop 'maker' and 'model' and device properties in general as they're not
  needed
- rework camera_hal.yaml file accordingly

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           |   9 +-
 src/android/camera_device.h             |   3 +-
 src/android/camera_hal_config.cpp       | 407 ++++++++++++++++++++++++
 src/android/camera_hal_config.h         |  36 +++
 src/android/camera_hal_manager.cpp      |  21 +-
 src/android/camera_hal_manager.h        |   3 +
 src/android/data/soraka/camera_hal.yaml |  10 +
 src/android/meson.build                 |   2 +
 src/ipa/meson.build                     |  17 +-
 src/meson.build                         |   9 +
 11 files changed, 504 insertions(+), 16 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.30.0



More information about the libcamera-devel mailing list