[libcamera-devel] [PATCH 7/7] android: camera_metadata: Remove outdated comment
Jacopo Mondi
jacopo at jmondi.org
Thu Jan 21 17:53:05 CET 2021
The comment was moot, as the translation of Android's settings
to libcamera controls is already implemented in a dedicated function.
Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
src/android/camera_device.cpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index d185fdf7fb2f..f9af038412b1 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -1629,12 +1629,7 @@ int CameraDevice::processControls(Camera3RequestDescriptor *descriptor)
if (!settings.isValid())
return 0;
- /*
- * Translate the Android controls to libcamera.
- *
- * \todo As soon as more controls are handled, this part should be
- * broken out to a dedicated function.
- */
+ /* Translate the Android request settings to libcamera controls. */
camera_metadata_ro_entry_t entry;
bool found = settings.getEntry(ANDROID_SCALER_CROP_REGION, &entry);
if (found) {
--
2.29.2
More information about the libcamera-devel
mailing list