[PATCH 4/7] libcamera: mali-c55: Init camera properties
Daniel Scally
dan.scally at ideasonboard.com
Thu Jun 13 17:59:46 CEST 2024
Initialise camera properties so that DNG files written by cam contain
model information for the LSC tuning scripts.
Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>
---
src/libcamera/pipeline/mali-c55/mali-c55.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
index 2c34f3e9..2b1d766a 100644
--- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp
+++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
@@ -1099,8 +1099,7 @@ bool PipelineHandlerMaliC55::registerSensorCamera(MediaLink *ispLink)
if (data->init())
return false;
- /* \todo: Init properties. */
-
+ data->properties_ = data->sensor_->properties();
data->updateControls();
registerMaliCamera(std::move(data), sensor->name());
--
2.30.2
More information about the libcamera-devel
mailing list