[{"id":24340,"web_url":"https://patchwork.libcamera.org/comment/24340/","msgid":"<20220803120319.tc26ecvej5auvg5t@uno.localdomain>","date":"2022-08-03T12:03:19","subject":"Re: [libcamera-devel] [PATCH 03/13] include: linux: Add V4L2 YUVA32\n\tand YUVX32 pixel formats","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"content":"Hi Laurent\n\nOn Mon, Aug 01, 2022 at 03:05:33AM +0300, Laurent Pinchart via libcamera-devel wrote:\n> These YUV 4:4:4 packed formats are used by the ISI driver. Add them to\n> videodev2.h.\n>\n> This is merged in the upstream kernel as 00f6842ef41d (\"media: v4l: Add\n> packed YUV 4:4:4 YUVA and YUVX pixel formats\").\n>\n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nThis mmatches what's implemented in the above mentioned commit\n\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n\nThanks\n  j\n\n> ---\n>  include/linux/videodev2.h | 2 ++\n>  1 file changed, 2 insertions(+)\n>\n> diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\n> index 6e3d58e5a5c4..bfb315d6d058 100644\n> --- a/include/linux/videodev2.h\n> +++ b/include/linux/videodev2.h\n> @@ -587,6 +587,8 @@ struct v4l2_pix_format {\n>  #define V4L2_PIX_FMT_XYUV32  v4l2_fourcc('X', 'Y', 'U', 'V') /* 32  XYUV-8-8-8-8  */\n>  #define V4L2_PIX_FMT_VUYA32  v4l2_fourcc('V', 'U', 'Y', 'A') /* 32  VUYA-8-8-8-8  */\n>  #define V4L2_PIX_FMT_VUYX32  v4l2_fourcc('V', 'U', 'Y', 'X') /* 32  VUYX-8-8-8-8  */\n> +#define V4L2_PIX_FMT_YUVA32  v4l2_fourcc('Y', 'U', 'V', 'A') /* 32  YUVA-8-8-8-8  */\n> +#define V4L2_PIX_FMT_YUVX32  v4l2_fourcc('Y', 'U', 'V', 'X') /* 32  YUVX-8-8-8-8  */\n>  #define V4L2_PIX_FMT_M420    v4l2_fourcc('M', '4', '2', '0') /* 12  YUV 4:2:0 2 lines y, 1 line uv interleaved */\n>\n>  /* two planes -- one Y, one Cr + Cb interleaved  */\n> --\n> Regards,\n>\n> Laurent Pinchart\n>","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 6AD56C3272\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  3 Aug 2022 12:03:24 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1ED6363310;\n\tWed,  3 Aug 2022 14:03:24 +0200 (CEST)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[IPv6:2001:4b98:dc4:8::223])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 94531603E6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  3 Aug 2022 14:03:22 +0200 (CEST)","(Authenticated sender: jacopo@jmondi.org)\n\tby mail.gandi.net (Postfix) with ESMTPSA id 8E23D60008;\n\tWed,  3 Aug 2022 12:03:21 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659528204;\n\tbh=QfJ4hk/A8sw7mDxNDk3goFq3S4ajPS9rWq0GHOU2u4w=;\n\th=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=bWuSBUp26WFdiLha9AeUuG2NCPIzhh7ezVgpXAZI5etOxdV42SNvjswbgmWqKTZWF\n\tGwRILXO55bCzIIr2dvuYzUmJ/VdQ1l0L9X3TMD64G3ZBFbjTDdcAS+K1Z1O2EYAmXX\n\txMJ9MNuDRu36IkgA7GNdmiT7k5BiKunYGyne44RN1UnW+n5DCnpCJriPxzU/rZCqIm\n\tciSM/XQqfUDb0AT3Rj8fsbTSFPPLriNmWwZg4kRKuwtm5vJ84cMPgjzuR5/v5HTLh0\n\tX1BGRZHC4C5jzJ+mHQyC7+khA7UZjeZDQU2uXP4HH7cMLnR5Srmwx3RmFEJG2c7Qs3\n\tY7dcncJGGCuKg==","Date":"Wed, 3 Aug 2022 14:03:19 +0200","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Message-ID":"<20220803120319.tc26ecvej5auvg5t@uno.localdomain>","References":"<20220801000543.3501-1-laurent.pinchart@ideasonboard.com>\n\t<20220801000543.3501-4-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20220801000543.3501-4-laurent.pinchart@ideasonboard.com>","Subject":"Re: [libcamera-devel] [PATCH 03/13] include: linux: Add V4L2 YUVA32\n\tand YUVX32 pixel 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":"Jacopo Mondi via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Jacopo Mondi <jacopo@jmondi.org>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]