[libcamera-devel] [PATCH v2 2/4] libcamera: camera_sensor: Add OV4689 sensor properties
Mikhail Rudenko
mike.rudenko at gmail.com
Mon Jan 23 15:06:17 CET 2023
Add an entry to the sensor properties for Omnivision OV4689.
Kernel supports two 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 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index c3c2cace..a601e1ae 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -130,6 +130,19 @@ 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},
+ { controls::draft::TestPatternModeColorBarsFadeToGray, 2},
+ /*
+ * No corresponding test patterns in
+ * MIPI CCS specification for sensor's
+ * colorBarType2 and colorBarType3.
+ */
+ },
+ } },
{ "ov5640", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {
--
2.39.1
More information about the libcamera-devel
mailing list