summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2022-03-16 22:22:44 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-03-17 16:34:23 +0000
commita42c00e01efbb54ca68d130b8817014fd55e7169 (patch)
tree96eb7bee68aa237f63048d90d36010550b1c1dcb /src
parent242f665351ce7f555617d255e0de1c520834010b (diff)
libcamera: Add OV2740 camera sensor properties
Add camera sensor property entries for the OmniVision 2740 camera sensor. Signed-off-by: Daniel Scally <djrscally@gmail.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/camera_sensor_properties.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index 48305ac4..9bdfd417 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -90,6 +90,13 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ controls::draft::TestPatternModePn9, 4 },
},
} },
+ { "ov2740", {
+ .unitCellSize = { 1400, 1400 },
+ .testPatternModes = {
+ { controls::draft::TestPatternModeOff, 0 },
+ { controls::draft::TestPatternModeColorBars, 1},
+ },
+ } },
{ "ov5647", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {},