[libcamera-devel] [PATCH v2 0/4] Add Unknown camera location
Paul Elder
paul.elder at ideasonboard.com
Fri Feb 12 06:48:12 CET 2021
Add Unknown camera location to libcamera, set it to default, and set the
android camera location to Front in this case.
This allows the following CTS test to pass:
- android.hardware.camera2.cts.CameraManagerTest#testCameraManagerGetDeviceIdList
Changes in v2:
- change Unknown to 0 in the num, and shift the others by one
- handle Unknown location in cam
Paul Elder (4):
libcamera: properties: Add Unknown value to camera Location
libcamera: camera_sensor: Set default sensor location to Unknown
android: camera_device: Default the camera location to Front
cam: Default camera location to external
src/android/camera_device.cpp | 3 +++
src/cam/main.cpp | 1 +
src/libcamera/camera_sensor.cpp | 2 +-
src/libcamera/property_ids.yaml | 10 +++++++---
4 files changed, 12 insertions(+), 4 deletions(-)
--
2.27.0
More information about the libcamera-devel
mailing list