[libcamera-devel,0/2] Raspberry Pi support for new sensors
mbox series

Message ID 20210304153120.1904-1-david.plowman@raspberrypi.com
Headers show
Series
  • Raspberry Pi support for new sensors
Related show

Message

David Plowman March 4, 2021, 3:31 p.m. UTC
Hi everyone

There are 2 patches here. In many respects they're not really
connected, except that the second commit assumes the presence of the
first. Hope that's ok!

The first commit extends our CamHelpers to return a vblank frame
delay, as we do for exposure and analogue gain. To be honest we're a
bit puzzled that the imx477 sensor has forced us into this, but we've
stared at it for quite some while and haven't been able to make it
work properly without. At some point we hope to come back to it, but
for now this is all we have...

The second commit adds the necessary files for modules using
imx290/imx327 sensors. Note that they will display various AGC wobbles
until other pending patches from Naush are merged.

Thanks!
David


David Plowman (2):
  ipa: raspberrypi: Make CamHelpers return the frame delay for vblanking
  ipa: raspberrypi: Add support for imx290/imx327 sensors

 src/ipa/raspberrypi/cam_helper.cpp        |   4 +-
 src/ipa/raspberrypi/cam_helper.hpp        |   9 +-
 src/ipa/raspberrypi/cam_helper_imx290.cpp |  67 +++++++++
 src/ipa/raspberrypi/cam_helper_imx477.cpp |   7 +-
 src/ipa/raspberrypi/cam_helper_ov5647.cpp |   7 +-
 src/ipa/raspberrypi/data/imx290.json      | 165 ++++++++++++++++++++++
 src/ipa/raspberrypi/data/meson.build      |   1 +
 src/ipa/raspberrypi/meson.build           |   1 +
 src/ipa/raspberrypi/raspberrypi.cpp       |   6 +-
 9 files changed, 256 insertions(+), 11 deletions(-)
 create mode 100644 src/ipa/raspberrypi/cam_helper_imx290.cpp
 create mode 100644 src/ipa/raspberrypi/data/imx290.json