[libcamera-devel] [PATCH 2/4] libcamera: camera_sensor: Add OV4689 sensor properties
Mikhail Rudenko
mike.rudenko at gmail.com
Thu Jan 19 16:59:03 CET 2023
Add an entry to the sensor properties for Omnivision OV4689.
Kernel supports three more types of color bars patterns, which we do
not expose now.
Signed-off-by: Mikhail Rudenko <mike.rudenko at gmail.com>
---
src/libcamera/camera_sensor_properties.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index c3c2cace..ca8ef962 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -130,6 +130,13 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ controls::draft::TestPatternModeColorBars, 1},
},
} },
+ { "ov4689", {
+ .unitCellSize = { 2000, 2000 },
+ .testPatternModes = {
+ { controls::draft::TestPatternModeOff, 0 },
+ { controls::draft::TestPatternModeColorBars, 1}, // TODO: more patterns
+ },
+ } },
{ "ov5640", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {
--
2.39.0
More information about the libcamera-devel
mailing list