libcamera: camera_sensor: Add OV5640 sensor properties

Add an entry to the sensor properties for the ov5640. Only the first
test pattern is included as the others that are exposed by the kernel
don't correspond to any that are defined in the libcamera control.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Paul Elder
2022-03-16 16:58:42 +09:00
parent fc9bbddf0c
commit 9cdf837ab7

View File

@@ -101,6 +101,13 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ controls::draft::TestPatternModeColorBars, 1},
},
} },
{ "ov5640", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {
{ controls::draft::TestPatternModeOff, 0 },
{ controls::draft::TestPatternModeColorBars, 1 },
},
} },
{ "ov5647", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {},