[libcamera-devel,0/2] HDR for Raspberry Pi
mbox series

Message ID 20230731134833.79687-1-david.plowman@raspberrypi.com
Headers show
Series
  • HDR for Raspberry Pi
Related show

Message

David Plowman July 31, 2023, 1:48 p.m. UTC
Hi

This is the final patch set in this slightly long HDR journey.

THe HDR algorithm here doesn't combine images to create HDR images
(there's no hardware for that), but it does allow the AGC to be driven
in such a way as to produce, for example, long and short exposure
images.

The second commit updates all the Raspeberry Pi camera tuning files. A
fairly simple change is made identically to all of them.

Thanks!
David

David Plowman (2):
  ipa: rpi: Add an HDR algorithm to drive multi-channel AGC
  ipa: rpi: vc4: data: Update tuning files for HDR

 src/ipa/rpi/common/ipa_base.cpp            |  49 +++
 src/ipa/rpi/controller/hdr_algorithm.h     |  23 ++
 src/ipa/rpi/controller/hdr_status.h        |  25 ++
 src/ipa/rpi/controller/meson.build         |   1 +
 src/ipa/rpi/controller/rpi/hdr.cpp         | 129 +++++++
 src/ipa/rpi/controller/rpi/hdr.h           |  42 +++
 src/ipa/rpi/vc4/data/imx219.json           | 388 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx219_noir.json      | 388 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx477.json           | 386 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx477_noir.json      | 388 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx708.json           | 350 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_noir.json      | 350 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_wide.json      | 350 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_wide_noir.json | 350 +++++++++++++-----
 src/ipa/rpi/vc4/data/ov5647.json           | 392 ++++++++++++++++-----
 15 files changed, 2832 insertions(+), 779 deletions(-)
 create mode 100644 src/ipa/rpi/controller/hdr_algorithm.h
 create mode 100644 src/ipa/rpi/controller/hdr_status.h
 create mode 100644 src/ipa/rpi/controller/rpi/hdr.cpp
 create mode 100644 src/ipa/rpi/controller/rpi/hdr.h