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:
@@ -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 = {},
|
||||
|
||||
Reference in New Issue
Block a user