diff options
author | Daniel Scally <djrscally@gmail.com> | 2022-03-16 22:22:44 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-03-17 16:34:23 +0000 |
commit | a42c00e01efbb54ca68d130b8817014fd55e7169 (patch) | |
tree | 96eb7bee68aa237f63048d90d36010550b1c1dcb | |
parent | 242f665351ce7f555617d255e0de1c520834010b (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>
-rw-r--r-- | src/libcamera/camera_sensor_properties.cpp | 7 |
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 = {}, |