[libcamera-devel] [PATCH 0/5] libcamera: Support additional pixel formats and media bus codes
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed May 4 15:15:53 CEST 2022
Hello,
While developing support for the i.MX8MP ISI in the simple pipeline
handler, I ran into missing support for some media bus codes and pixel
formats, resulting in error messages in the libcamera log. This patch
series fixes it.
The ISI driver is under development and will be posted shortly to the
linux-media mailing list. Patches for libcamera will be posted as well.
I think this series could go in already, as those formats are likely to
be useful on other platforms.
Laurent Pinchart (5):
libcamera: formats: Add YVU422 pixel format
libcamera: formats: Add YUV444 and YVU444 pixel formats
libcamera: v4l2_subdevice: Use MEDIA_BUS_FMT_* macros
libcamera: v4l2_subdevice: Add RGB565_1X16 media bus format
libcamera: v4l2_subdevice: Add YUV8_1X24 media bus format
src/libcamera/formats.cpp | 39 ++++++++
src/libcamera/formats.yaml | 6 ++
src/libcamera/v4l2_pixelformat.cpp | 6 ++
src/libcamera/v4l2_subdevice.cpp | 148 +++++++++++++++--------------
4 files changed, 126 insertions(+), 73 deletions(-)
base-commit: 8a845ab078c3fe12ac4edd16c8cbac5b7ec03b98
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list