[PATCH v1 0/5] Pre Raspberry Pi 5 support changes

Naushir Patuck naush at raspberrypi.com
Thu May 2 10:09:20 CEST 2024


Hi all,

This series adds some preliminary changes to libcamera for Raspberry Pi 5
support.  The patches for the Pi 5 pipeline handler and IPA will be sent in
another series.  However, these patches can be merged ahead of that.

Patches 1 and 2 are updates from a previous series I submitted a while back [1].
I have addressed Jacopo's feedback comments and moved them into this series.

Patch 3 adds HDR algorithm support to the RPi IPA and updates the VC4 tuning
files with the AGC channel config for HDR.

Patches 4 and 5 are minor changes needed in preparation for the Pi 5 pipeline
handler and IPA.

Thanks, Naush

[1] https://patchwork.libcamera.org/project/libcamera/list/?series=4169

Naushir Patuck (5):
  libcamera: formats: Add RGB48 formats
  libcamera: formats: Add PiSP specific image and config buffer formats
  ipa: rpi: Add HDR support
  ipa: rpi: Move variables from private to protected
  libcamera: shared_mem_object: Remove is_standard_layout restriction

 include/libcamera/internal/bayer_format.h     |   2 +
 .../libcamera/internal/shared_mem_object.h    |   2 +-
 include/linux/drm_fourcc.h                    |   9 +
 include/linux/videodev2.h                     |  25 +
 src/ipa/rpi/common/ipa_base.cpp               |  78 ++-
 src/ipa/rpi/common/ipa_base.h                 |  13 +-
 src/ipa/rpi/controller/rpi/hdr.cpp            | 112 +++-
 src/ipa/rpi/controller/rpi/hdr.h              |  10 +-
 src/ipa/rpi/vc4/data/imx219.json              | 607 ++++++++---------
 src/ipa/rpi/vc4/data/imx219_noir.json         | 607 ++++++++---------
 src/ipa/rpi/vc4/data/imx290.json              |  15 +-
 src/ipa/rpi/vc4/data/imx296.json              |  17 +-
 src/ipa/rpi/vc4/data/imx296_mono.json         |  17 +-
 src/ipa/rpi/vc4/data/imx378.json              |  15 +-
 src/ipa/rpi/vc4/data/imx477.json              | 615 +++++++++---------
 src/ipa/rpi/vc4/data/imx477_noir.json         | 607 ++++++++---------
 src/ipa/rpi/vc4/data/imx477_scientific.json   |  15 +-
 src/ipa/rpi/vc4/data/imx477_v1.json           |  15 +-
 src/ipa/rpi/vc4/data/imx519.json              |  15 +-
 src/ipa/rpi/vc4/data/imx708.json              | 555 ++++++++--------
 src/ipa/rpi/vc4/data/imx708_noir.json         | 555 ++++++++--------
 src/ipa/rpi/vc4/data/imx708_wide.json         | 555 ++++++++--------
 src/ipa/rpi/vc4/data/imx708_wide_noir.json    | 555 ++++++++--------
 src/ipa/rpi/vc4/data/ov5647.json              | 611 ++++++++---------
 src/ipa/rpi/vc4/data/ov5647_noir.json         |  15 +-
 src/ipa/rpi/vc4/data/ov9281_mono.json         |   5 +-
 src/ipa/rpi/vc4/data/se327m12.json            |  15 +-
 src/ipa/rpi/vc4/data/uncalibrated.json        |   5 +-
 src/libcamera/bayer_format.cpp                |  14 +
 src/libcamera/formats.cpp                     |  71 +-
 src/libcamera/formats.yaml                    |  21 +
 src/libcamera/v4l2_pixelformat.cpp            |  14 +
 src/libcamera/v4l2_subdevice.cpp              |  28 +
 33 files changed, 3227 insertions(+), 2588 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list