summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-05-25 07:56:14 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-05-25 11:19:16 +0200
commit63c3c545926d7eb9af8c03930e79df8c2b46a8e9 (patch)
tree05fac507de7e3e939b452b93606e080ed4141cb8 /src
parent67a83e126bed4206c88f7c068befbafae19b2741 (diff)
libcamera: add OV5693 sensor properties
The new sensor database has introduced several sensors, but ov5693 is missing. It is used on most MS Surface tablets, add it to the database. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/camera_sensor_properties.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index 6ded31dc..2a6e97f7 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -54,6 +54,9 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ "ov13858", {
.unitCellSize = { 1120, 1120 },
} },
+ { "ov5693", {
+ .unitCellSize = { 1400, 1400 },
+ } },
};
const auto it = sensorProps.find(sensor);