[v2,0/5] libcamera: Add Mira016 support
mbox series

Message ID 20261112-b4-mira016-v2-0-c96443a745ce@ideasonboard.com
Headers show
Series
  • libcamera: Add Mira016 support
Related show

Message

Jacopo Mondi Nov. 12, 2026, 2:20 p.m. UTC
Add support to the RPi IPA and to libipa for the AMS-OSRAM Mira016
sensor.

Mira016 is a 0.5MPx global shutter mono sensor.

The driver is available on the linux-media mailing list and is expected
to land in Linux v7.5:
https://patchwork.linuxtv.org/project/linux-media/list/?series=32392

The tuning for the RPi platforms have been performed by the vendor and
is upported from their downstream libcamera tree at:
https://github.com/ams-OSRAM/libcamera.git

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
Changes in v2:
- Use std::array as suggested by Barnabas for gain LUTs
- Adjst gain() function to adjust the gain index to the 0-indexed gain
  table
- Remove spurious static attribute
- s/frame/lines in frameIntegrationDiff comment

---
Jacopo Mondi (5):
      ipa: rpi: cam_helper: Add Mira016 cam helper
      ipa: rpi: vc4: Add Mira016 tuning file
      ipa: rpi: pisp: Add Mira016 tuning file
      libcamera: sensor: Add Mira016 sensor properties
      libipa: camera_sensor_helper: Add Mira016

 src/ipa/libipa/camera_sensor_helper.cpp           |  58 +++
 src/ipa/rpi/cam_helper/cam_helper_mira016.cpp     |  93 +++++
 src/ipa/rpi/cam_helper/meson.build                |   1 +
 src/ipa/rpi/pisp/data/meson.build                 |   1 +
 src/ipa/rpi/pisp/data/mira016_mono.json           | 480 ++++++++++++++++++++++
 src/ipa/rpi/vc4/data/meson.build                  |   1 +
 src/ipa/rpi/vc4/data/mira016_mono.json            | 102 +++++
 src/libcamera/sensor/camera_sensor_properties.cpp |  12 +
 8 files changed, 748 insertions(+)
---
base-commit: c19d05128f3ae1f0ebe63acb4deaca9fbb1dde78
change-id: 20261111-b4-mira016-cb349c9f9c56

Best regards,
--  
Jacopo Mondi <jacopo.mondi@ideasonboard.com>