[libcamera-devel] [PATCH v2 0/2] HDR for Raspberry Pi

David Plowman david.plowman at raspberrypi.com
Wed Aug 23 16:49:23 CEST 2023


Hi

Just some small changes in line with what Naush suggested.

The main difference is that the "HDR off" mode is created when the
algorithm is loaded, so tuning files no longer have to. I've left it
so that a tuning file can amend the "off" mode if it wants. Not really
sure if this is good, bad or just doesn't much matter. Opinions always
welcome!

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         | 127 +++++++
 src/ipa/rpi/controller/rpi/hdr.h           |  42 +++
 src/ipa/rpi/vc4/data/imx219.json           | 384 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx219_noir.json      | 384 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx477.json           | 376 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx477_noir.json      | 384 +++++++++++++++-----
 src/ipa/rpi/vc4/data/imx708.json           | 346 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_noir.json      | 346 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_wide.json      | 346 +++++++++++++-----
 src/ipa/rpi/vc4/data/imx708_wide_noir.json | 346 +++++++++++++-----
 src/ipa/rpi/vc4/data/ov5647.json           | 388 ++++++++++++++++-----
 15 files changed, 2791 insertions(+), 776 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

-- 
2.30.2



More information about the libcamera-devel mailing list