Message ID | 20231114102122.19712-2-jacopo.mondi@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
Hi Jacopo and Kieran, Thank you for the patch. On Tue, Nov 14, 2023 at 11:21:20AM +0100, Jacopo Mondi via libcamera-devel wrote: > From: Kieran Bingham <kieran.bingham@ideasonboard.com> > > Add an entry for the Omnivision OV64A40 Sensor which has a square pixel > size of 1.008µm. > > Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> > --- > src/libcamera/camera_sensor_properties.cpp | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp > index 27d6799a2686..2ba2d9818c7f 100644 > --- a/src/libcamera/camera_sensor_properties.cpp > +++ b/src/libcamera/camera_sensor_properties.cpp > @@ -208,6 +208,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen > */ > }, > } }, > + { "ov64a40", { > + .unitCellSize = { 1008, 1008 }, Very precise :-) > + .testPatternModes = {}, The latest version of the drivers posted to the linux-media mailing list doesn't implement the test pattern control, so this is right. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> My understanding is that the sensor supports test patterns, and it seems easy to implement. It's a very valuable feature, so when time permits, it would be nice to add it. > + } }, > { "ov8858", { > .unitCellSize = { 1120, 1120 }, > .testPatternModes = {
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 27d6799a2686..2ba2d9818c7f 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -208,6 +208,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen */ }, } }, + { "ov64a40", { + .unitCellSize = { 1008, 1008 }, + .testPatternModes = {}, + } }, { "ov8858", { .unitCellSize = { 1120, 1120 }, .testPatternModes = {