[libcamera-devel] [PATCH v2 2/6] android: camera_capabilities: Set read sensor settings capability
Paul Elder
paul.elder at ideasonboard.com
Tue Dec 21 00:26:25 CET 2021
A libcamera camera that supports the manual sensor capability also
satisfies all the requirements for the read sensor settings capability.
Set it.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
src/android/camera_capabilities.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/android/camera_capabilities.cpp b/src/android/camera_capabilities.cpp
index 6ae2cd4d..6d383486 100644
--- a/src/android/camera_capabilities.cpp
+++ b/src/android/camera_capabilities.cpp
@@ -339,8 +339,11 @@ CameraCapabilities::computeCapabilities()
capabilities.insert(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE);
- if (validateManualSensorCapability())
+ if (validateManualSensorCapability()) {
capabilities.insert(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR);
+ /* The libcamera requirements cover this */
+ capabilities.insert(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_READ_SENSOR_SETTINGS);
+ }
if (validateManualPostProcessingCapability())
capabilities.insert(ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING);
--
2.27.0
More information about the libcamera-devel
mailing list