{"id":16251,"url":"https://patchwork.libcamera.org/api/1.1/patches/16251/?format=json","web_url":"https://patchwork.libcamera.org/patch/16251/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220616182350.17352-4-laurent.pinchart@ideasonboard.com>","date":"2022-06-16T18:23:46","name":"[libcamera-devel,3/7] media: vivid: Add support for the new YUVA and YUVX formats","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"0d20a278e65bf7e38cc3431c568eafcd41262ff0","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16251/mbox/","series":[{"id":3183,"url":"https://patchwork.libcamera.org/api/1.1/series/3183/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3183","date":"2022-06-16T18:23:44","name":"[libcamera-devel,1/7] media: v4l: Add packed YUV 4:4:4 YUVA and YUVX pixel formats","version":1,"mbox":"https://patchwork.libcamera.org/series/3183/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16251/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16251/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 0CEA5BD161\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 16 Jun 2022 18:24:14 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7FA7A65641;\n\tThu, 16 Jun 2022 20:24:13 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6288E6563D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 16 Jun 2022 20:24:08 +0200 (CEST)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A0E12898;\n\tThu, 16 Jun 2022 20:24:07 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655403853;\n\tbh=RN1KaYPR86OAmsv+ndwaXA/1GmqnIThqQYd+ZcJZLBI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=fcao0d3ctwGXQAXxv+UtJ0IZi26M4n2EM4B7KTDzcwmXMcs2bIqLwSwsz8q5i1Phj\n\tLl9sMBenvl+RXD3uG/dM7bxL1jmlkJpr3skbEXdqT7DFMVZmESBw170wry17UnORj8\n\t79s47mPtJc/k/4Qmmqxt2XA3lKmx2uwJric2vK8nF2TLYw8CkprXZtZDyyo5R2hK1O\n\t/k8kNBBFTjkC75IA8FtbRIJENSQoCWUwkG65jjH0K2CSmcksoq3THeHu/blXLvL69v\n\te8AC5AL88eqfZ/x/aQV1iVcowPR9RrTeGV6cjDdX7sh0q3T44s11anchkwbqiXHmQv\n\tyeqo8XYkeK1Qg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1655403848;\n\tbh=RN1KaYPR86OAmsv+ndwaXA/1GmqnIThqQYd+ZcJZLBI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=YhTCugoSHioUxDgIbJMmmLSDvQKGV70X3a/faGxccV8m/Pt87rjopkg/Gwbl/tiU4\n\tRXG6DXKyx6jbE3B8nJhHrAWBo8SM45Zm+4tP3HLahf7DjvU6jIIulpRfBGCL0c7aoU\n\tsRqBOoMRtKl6OOUlRRJFepXdrvCeM9YljIVkClRE="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"YhTCugoS\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 16 Jun 2022 21:23:46 +0300","Message-Id":"<20220616182350.17352-4-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.35.1","In-Reply-To":"<20220616182350.17352-1-laurent.pinchart@ideasonboard.com>","References":"<20220616182350.17352-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 3/7] media: vivid: Add support for the new\n\tYUVA and YUVX formats","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"Sakari Ailus <sakari.ailus@iki.fi>, linux-imx@nxp.com,\n\tkernel@pengutronix.de, Hans Verkuil <hverkuil-cisco@xs4all.nl>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Extend vivid to support the newly added YUVA and YUVX pixel formats\nthrough the TPG.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n .../media/test-drivers/vivid/vivid-vid-common.c   | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)","diff":"diff --git a/drivers/media/test-drivers/vivid/vivid-vid-common.c b/drivers/media/test-drivers/vivid/vivid-vid-common.c\nindex 19701fe72030..38d788b5cf19 100644\n--- a/drivers/media/test-drivers/vivid/vivid-vid-common.c\n+++ b/drivers/media/test-drivers/vivid/vivid-vid-common.c\n@@ -198,6 +198,21 @@ struct vivid_fmt vivid_formats[] = {\n \t\t.planes   = 1,\n \t\t.buffers = 1,\n \t},\n+\t{\n+\t\t.fourcc   = V4L2_PIX_FMT_YUVA32,\n+\t\t.vdownsampling = { 1 },\n+\t\t.bit_depth = { 32 },\n+\t\t.planes   = 1,\n+\t\t.buffers = 1,\n+\t\t.alpha_mask = 0xff000000,\n+\t},\n+\t{\n+\t\t.fourcc   = V4L2_PIX_FMT_YUVX32,\n+\t\t.vdownsampling = { 1 },\n+\t\t.bit_depth = { 32 },\n+\t\t.planes   = 1,\n+\t\t.buffers = 1,\n+\t},\n \t{\n \t\t.fourcc   = V4L2_PIX_FMT_GREY,\n \t\t.vdownsampling = { 1 },\n","prefixes":["libcamera-devel","3/7"]}