@@ -553,6 +553,20 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
},
.sensorDelays = { },
} },
+ { "ov9734", {
+ .unitCellSize = { 1400, 1400 },
+ .testPatternModes = {
+ { controls::draft::TestPatternModeOff, 0 },
+ { controls::draft::TestPatternModeColorBars, 1 },
+ /*
+ * No corresponding test pattern mode for:
+ * 2: "Top-Bottom Darker Color Bar"
+ * 3: "Right-Left Darker Color Bar"
+ * 4: "Bottom-Top Darker Color Bar"
+ */
+ },
+ .sensorDelays = { },
+ } },
{ "ov9281", {
.unitCellSize = { 3000, 3000 },
.testPatternModes = { },
Add the OmniVision OV9734 to the camera sensor properties database. The pixel size is 1.4 um x 1.4 um according to the OmniVision product brief. The Linux driver exposes five test patterns. Only "Disabled" and "Standard Color Bar" have a matching libcamera test pattern mode. The change and this description were drafted with an AI coding assistant (Claude Code, model Claude Opus 5.5). The author reviewed them and tested them on a Microsoft Surface Laptop 1. Signed-off-by: Afonso Figuinha <afonso.figuinha@gmail.com> --- src/libcamera/sensor/camera_sensor_properties.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+)