From patchwork Tue Jul 9 00:08:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuji Ishikawa X-Patchwork-Id: 13727135 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9DFAAC3DA45 for ; Tue, 9 Jul 2024 00:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mHlXLB3EUePZG6a8z2fBEKaoLmwhvgtGwagNbVq8fDw=; b=uKjYVtH/h9Sa4fD58bsadzM+N7 ORIq+R/ZN7Ja0MI1RWsGGyUl+Xkkj9xmP+wNoixdj617XvQuwASewa2uNxUqgWFTBoOa3GtINLRmH zLJaNSiUpFVquDJ9DYSyp6NvUonqRRL1UCV0WZ8I/CMnRZTYXFxz88NNqmQAK60LwZe9ge5m+kli5 UazC6Qf7NnkI6koCd+87HR4z3TlgBEPNv/EhnDqx4y2Mf8hqYYleohjQ0polKuSTGWybWFH+ztCjN 8uY9+rYCtSFczgULreqTSnADI8V6pOs58PMRBO7IpjwhdAVKrOcGW7mwmFNwjd5JDM66JumOIJmDy KgmYm4tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQyWK-00000005PsU-2fbU; Tue, 09 Jul 2024 00:15:48 +0000 Received: from mo-csw1120.securemx.jp ([210.130.202.131] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQyVf-00000005PjC-2TPK for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2024 00:15:09 +0000 DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=toshiba.co.jp;h=From:To:Cc :Subject:Date:Message-Id:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding;i=yuji2.ishikawa@toshiba.co.jp;s=key2.smx;t= 1720484072;x=1721693672;bh=7z7CdwVNvQ3yLS8tHQyMEa+5Hnm+3Wt56PFdhq3vkR4=;b=Y+n PM+mxgIKNOYnO3Slr7Ck04iLaZcqjuJZo5AxvTrF1Wv7/z3iSGnS3Vho03oked7Tk0Gv/9wU6176K NhdnJcNQBvHPNhYK+8xJQiSccvYC1sVFaSoGhuag1ItMXGxQwOJyHGj9X3iy17bCh5IBuMpYoPAEK 82/j0bKdqqxvQtalWxrdCz856US048CsDKFyWlzIUKfky5YTbmqG/zwBBFJS1O5xsRRvOde5R1zt8 57P+1Zd2l+x7CH2i9HiijtKVf5JKR3BOcx4DHquZqI2Yq+zEn9oetv1xz0f+244txy3cg4+coZnKA 7NVu4ec7+lcZncYmzlnHAjk9LW83Lhg==; Received: by mo-csw.securemx.jp (mx-mo-csw1120) id 4690EW2h2854003; Tue, 9 Jul 2024 09:14:32 +0900 X-Iguazu-Qid: 2rWgK3ox5moeeUQHFF X-Iguazu-QSIG: v=2; s=0; t=1720484071; q=2rWgK3ox5moeeUQHFF; m=zK74XrmOVBLS1OQZbqRAPgE1lIZgT0DJsvrsKvYKMg8= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1120) id 4690EUrO950994 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 9 Jul 2024 09:14:30 +0900 X-SA-MID: 24614076 From: Yuji Ishikawa To: Hans Verkuil , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Sakari Ailus , Nobuhiro Iwamatsu , Yuji Ishikawa Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v11 2/6] media: videodev2.h: add visconti viif meta buffer format Date: Tue, 9 Jul 2024 09:08:44 +0900 X-TSB-HOP2: ON Message-Id: <20240709000848.1108788-3-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240709000848.1108788-1-yuji2.ishikawa@toshiba.co.jp> References: <20240709000848.1108788-1-yuji2.ishikawa@toshiba.co.jp> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_171507_794333_718A1A1D X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Adds the Toshiba Visconti VIIF specific metadata format - V4L2_META_FMT_VISCONTI_VIIF_PARAMS for ISP parameters - V4L2_META_FMT_VISCONTI_VIIF_STATS for ISP statistics Signed-off-by: Yuji Ishikawa Reviewed-by: Laurent Pinchart --- Changelog v10: - add entry for V4L2_META_FMT_VISCONTI_VIIF_PARAMS - add entry for V4L2_META_FMT_VISCONTI_VIIF_STATS Changelog v11: - no change include/uapi/linux/videodev2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 4e91362da6..562038f144 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -858,6 +858,10 @@ struct v4l2_pix_format { /* Vendor specific - used for RaspberryPi PiSP */ #define V4L2_META_FMT_RPI_BE_CFG v4l2_fourcc('R', 'P', 'B', 'C') /* PiSP BE configuration */ +/* Vendor specific - used for Visconti VIIF sub-system */ +#define V4L2_META_FMT_VISCONTI_VIIF_PARAMS v4l2_fourcc('V', 'I', 'F', 'P') /* ISP Params */ +#define V4L2_META_FMT_VISCONTI_VIIF_STATS v4l2_fourcc('V', 'I', 'F', 'S') /* ISP Stats */ + #ifdef __KERNEL__ /* * Line-based metadata formats. Remember to update v4l_fill_fmtdesc() when