[libcamera-devel,v2,0/3] qcam: Support 'X'RGB formats
mbox series

Message ID 20220706090642.2750987-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • qcam: Support 'X'RGB formats
Related show

Message

Kieran Bingham July 6, 2022, 9:06 a.m. UTC
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(-)