[v1,0/2] Raspberry Pi: PiSP image formats
mbox series

Message ID 20240215132710.810-1-naush@raspberrypi.com
Headers show
Series
  • Raspberry Pi: PiSP image formats
Related show

Message

Naushir Patuck Feb. 15, 2024, 1:27 p.m. UTC
Hi,

With Jacopo's recent submission of the PiSP backend driver to the mailing list
(https://www.spinics.net/lists/linux-media/msg248728.html), I thought I'd start
adding some of our downstream patches to libcamera.

This series adds some pixel formats supported by the PiSP backend:
- 48 bpp RGB
- Backend config buffer
- PiSP compressed Bayer and 16-bit Bayer

Thanks,
Naush

Naushir Patuck (2):
  libcamera: formats: Add RGB48 formats
  libcamera: formats: Add PiSP specific image and config buffer formats

 include/libcamera/internal/bayer_format.h |  2 +
 include/linux/drm_fourcc.h                |  8 +++
 include/linux/videodev2.h                 | 19 ++++++
 src/libcamera/bayer_format.cpp            | 18 ++++++
 src/libcamera/formats.cpp                 | 71 ++++++++++++++++++++++-
 src/libcamera/formats.yaml                | 21 +++++++
 src/libcamera/v4l2_pixelformat.cpp        | 14 +++++
 src/libcamera/v4l2_subdevice.cpp          |  4 ++
 8 files changed, 156 insertions(+), 1 deletion(-)