From patchwork Tue Jul 5 15:31:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 16547 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 3CF19BD1F1 for ; Tue, 5 Jul 2022 15:31:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9544263314; Tue, 5 Jul 2022 17:31:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1657035076; bh=ycpS2MjkANhUkwtyVoNwx1/zoEs0mFFQTz751EgM4eg=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=n0RnnKB2AygNAoXkjvQ1Dl/1WprJ8jilAoGnu30U70zlEmJhciq5e3vuyus/OrcGn 91RExYqSFffWwcGgOTNAZbC3IE6ieFPsUGqDcHIWBosBVgbBT2IqVbgNo8JHTboj2a 55JNwYnTG0gRDpg3zNb59kdXTGDYduPEABzJzxccGacfubnWQZBbmR10BpdxBY/4x8 VXWfWm1mIjTAZkaOQfTs84eX0+cdBkruE3fZ0DmWrSvEqff7L3Nkaxh1XRQXV0AQ2A 3XKZ1HefSpzJ0SxM0Wo+vrpn7aHWvLc4fc4D7goEyJsGNfsBrMkJiiCFaOb5rEPjx0 ovh+Uhv8iOmmQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9099461FB0 for ; Tue, 5 Jul 2022 17:31:15 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="MDOnpyQ9"; dkim-atps=neutral Received: from Monstersaurus.ksquared.org.uk.beta.tailscale.net (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E843B6BB; Tue, 5 Jul 2022 17:31:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1657035075; bh=ycpS2MjkANhUkwtyVoNwx1/zoEs0mFFQTz751EgM4eg=; h=From:To:Cc:Subject:Date:From; b=MDOnpyQ9rDqTB+DCyhZLIMoEVRiSoQ2JUA5luq/XtY8Q04l4hxpOH7PUkofhqUzoJ orNxfRoqR3iBv8FqrXPt0U42yNmxx5TQCQXxzRbLk1tqppIo4geCHH6qQ9WhrRVbPC aaajm4wk5CtZxTPG/ismoMUMpqqrQ7AKLjCX9kB8= To: libcamera devel Date: Tue, 5 Jul 2022 16:31:08 +0100 Message-Id: <20220705153111.2338369-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] qcam: Support 'X'RGB formats X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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. 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 | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-)