[libcamera-devel] [PATCH 0/2] Fixed mismatch of pixel formats of V4L2 and libcamera
Vedant Paranjape
vedantparanjape160201 at gmail.com
Fri Jun 18 22:02:45 CEST 2021
On running libcamera gstreamer element on Raspberry Pi 4B+, there was a
warning as follows:
[3:23:59.717513107] [3577] WARN V4L2 v4l2_pixelformat.cpp:180 Unsupported V4L2 pixel format XB24
This patchset fixes the following warning, by updating the existing
mapping of V4L2_PIX_FMT_XRGB32 to libcamera pixel format. Additionally,
adds a new mapping of V4L2_PIX_FMT_RBGX32 to formats::XBGR8888
Vedant Paranjape (2):
libcamera: Fix V4L2 pixel format mapping for XRGB32
libcamera: Update V4L2 pixel format to libcamera pixel format mapping
src/libcamera/formats.cpp | 12 +++++++++++-
src/libcamera/v4l2_pixelformat.cpp | 3 ++-
2 files changed, 13 insertions(+), 2 deletions(-)
--
2.25.1
More information about the libcamera-devel
mailing list