Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp186850lqd; Tue, 23 Apr 2024 21:17:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWClnsnFxLQ9Jc9g/BvJnd3vGF4LrbUPtxem9efyI0CInMyqFmb390y1GpAyaKY8P0GBlLUxSu4hqwWvVDQvUoJlDT5S8muUo2THkcaZQ== X-Google-Smtp-Source: AGHT+IE9eHRtKk+TRtBRE0P3IOmu/y1QCSaZW7FY3nr01hXC7BInGnjNpik3BiZ9NRZxwlCIgzFo X-Received: by 2002:a05:6214:118b:b0:6a0:4169:9cf2 with SMTP id t11-20020a056214118b00b006a041699cf2mr1205101qvv.36.1713932263006; Tue, 23 Apr 2024 21:17:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713932262; cv=pass; d=google.com; s=arc-20160816; b=0C6Z578M80TggIQIqBabB76iK8NkgdSWBxgEcGN2IVqyDsN7FQk5GR5PQbf12ZTqIl +rq4ZSspeTxkGwaKruRMIrqAQNi1kgLtJF9pxjlD0ltlRrA418uSguCDJHmrapXt2jx3 fYlnQ//4Y0IfwzmaT0Lpp5BFvSYrD7h+j5oHkwtLcA+HOLXDL5v8KF9Ce6Y7rAcFb/9y 1xR8OFk6krXhv92IKMnlhe4hfVhMkBEwoPNrnfyDQjIMs2djFdqnI5FcoHt0O0CBba+n M7YKyG5ObnEMhfE/3g2dGkAbHSFVv/pDK2zmf9k/mCDZEU5ExzobJFy/LhLC6dCXKlU0 f8bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=htcG/tYHO89K7lfbWqLIV5E2qv3xeiV1+N0/ilAVzc0=; fh=7QruN4gvYYHiIdU4Rq2L0pAC1/NGNbjzO3/t+wCm1Qk=; b=YuMxLQr19zj8cEjSFM0OLZpecmpX4Ev2Bw4GlfJFW4T/TcZi9lVcvqLhqeppefRioD A7X5D5rcn8B4e/G70j40ueY8mWti8mbhCOvH+uDCNjjYBDcVxWAyZMT4LmQoTsuLGZS9 J/BrdxLB+2PPYcUkXi48DYxpcqxO4xQ2a0kwXGDZ3pE9IfDXxe5/LNgv4PnQy50lcWyh viX3D5I2qndykg/g9LaFFIjnhc+lVIu4GYRW7j1LrERelqXKTFbNxVHbA/EdaMF38JSp aP0kcyUzx/XDuxN/7JEPYVspZirs14a9Mq4UxwoTvah3TjhY3vx0fg9iGCDjiGQcA5x7 XxCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=toshiba.co.jp dmarc=pass fromdomain=toshiba.co.jp); spf=pass (google.com: domain of linux-kernel+bounces-156265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u22-20020ae9c016000000b0078ec516dee7si13751542qkk.485.2024.04.23.21.17.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 21:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=toshiba.co.jp dmarc=pass fromdomain=toshiba.co.jp); spf=pass (google.com: domain of linux-kernel+bounces-156265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A999D1C22F96 for ; Wed, 24 Apr 2024 04:17:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D6151411F4; Wed, 24 Apr 2024 04:17:34 +0000 (UTC) Received: from mo-csw-fb.securemx.jp (mo-csw-fb1802.securemx.jp [210.130.202.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5291613AA2B; Wed, 24 Apr 2024 04:17:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.130.202.161 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713932254; cv=none; b=FDZx3iujNEjhaR2lG1s2E9MLDyJWYmy11OaLPEL0kx7Gpm/I0CiSL4+Bk5H3zkx1JdTKI+Mb9rSppftoxadaTsL9qJSGPQju89wXamHJoB8jctADZVCQPIdJOHQRQNi29bfkTnUtWZzmAsGVEoaZu1gdQC2ZaZ/HM2Cfptq47ls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713932254; c=relaxed/simple; bh=tmZivAPoRtjSnEGiLMrWJXye+3/kG+MWQ2bcPivPywA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kXGE4ED0b/Pqv76Jv6vhsMbBm5AYoU2kek7THYtit7taRspXQcFnAG7dVqJl3CbBy9XXoTxBcnyi9jeZNH+rwuUBPyEnUVFFtmkObrV3QbNCrge0xK9eW/4AMXLphsdN5Wcea3eVu1YeOGYCdNuMFvB7umQ7yy/f3dmPIKGuynU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=toshiba.co.jp; spf=pass smtp.mailfrom=toshiba.co.jp; arc=none smtp.client-ip=210.130.202.161 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=toshiba.co.jp Received: by mo-csw-fb.securemx.jp (mx-mo-csw-fb1802) id 43O2mFon1222808; Wed, 24 Apr 2024 11:48:15 +0900 Received: by mo-csw.securemx.jp (mx-mo-csw1802) id 43O2lZUw3514010; Wed, 24 Apr 2024 11:47:35 +0900 X-Iguazu-Qid: 2yAbdMiuYNn0EEa8l0 X-Iguazu-QSIG: v=2; s=0; t=1713926855; q=2yAbdMiuYNn0EEa8l0; m=ryJhWAlzIXynJusIuDL36Fxw7+i1HfiH1CQUOwHDqDY= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1800) id 43O2lW2s2335784 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 24 Apr 2024 11:47:33 +0900 X-SA-MID: 21956136 From: Yuji Ishikawa To: Hans Verkuil , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J . Wysocki" , 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 v10 2/6] media: videodev2.h: add visconti viif meta buffer format Date: Wed, 24 Apr 2024 11:42:11 +0900 X-TSB-HOP2: ON Message-Id: <20240424024215.1624299-3-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240424024215.1624299-1-yuji2.ishikawa@toshiba.co.jp> References: <20240424024215.1624299-1-yuji2.ishikawa@toshiba.co.jp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- Changelog v10: - add entry for V4L2_META_FMT_VISCONTI_VIIF_PARAMS - add entry for V4L2_META_FMT_VISCONTI_VIIF_STATS 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 a8015e5e7f..686657e022 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -839,6 +839,10 @@ struct v4l2_pix_format { #define V4L2_META_FMT_RK_ISP1_PARAMS v4l2_fourcc('R', 'K', '1', 'P') /* Rockchip ISP1 3A Parameters */ #define V4L2_META_FMT_RK_ISP1_STAT_3A v4l2_fourcc('R', 'K', '1', 'S') /* Rockchip ISP1 3A Statistics */ +/* 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 */ + /* priv field value to indicates that subsequent fields are valid. */ #define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe -- 2.25.1