[libcamera-devel] [PATCH v2 0/3] qcam: Support 'X'RGB formats
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Jul 6 11:06:39 CEST 2022
While validating the QCam implementation on ARGB formats to support
other ongoing developments, I discovered that the XRGB and RGBX style
formats were not supported by qcam, while they could easily be.
This series adds the X variants (where the alpha channel is present but
invalid or ignored) to qcam to support rendering of those formats when
provided by hardware.
The Qt native format support is updated to use the RGBX variant to
indicate the alpha channel should be ignored. Without this, the image
data is transparent, and while running - it appears as if no image is
presented.
Kieran Bingham (3):
qcam: viewfinder_qt: Fix include orders
qcam: format_converter: Support X RGB variants
qcam: viewfinder_qt: Support X RGB variants
src/qcam/format_converter.cpp | 4 ++++
src/qcam/viewfinder_qt.cpp | 9 ++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
--
2.34.1
More information about the libcamera-devel
mailing list