From patchwork Thu Mar 8 09:47:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 10267403 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EF112602C8 for ; Thu, 8 Mar 2018 09:50:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB8B82983C for ; Thu, 8 Mar 2018 09:50:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFCCC29841; Thu, 8 Mar 2018 09:50:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5F97E2983C for ; Thu, 8 Mar 2018 09:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=17XhcWBu6RdGAqG386H5uv1kVjiTPewy8mka2WmlLYw=; b=MpsfheB0NunWI711nnhsH1v/e7 WLu5FLbSt8fLb9WCTX7EAwBm03Bn6XH/VLwatxkIvUQRSDxW3pDXjTz1cJZ8x6YtpFzGGsYJ771fT wpeeJ7zotdjVLp12KeaWABFQIiN5Bl/TBrxwbyGAnCZ6XXWWUzdnXla1cBdR4WcYiLYg/lYHP9GSN ojsAHseVTZ3AtyfzIlhJKB3JM6ejikCS9ejnQ15Gik3aJyjiT2a34KpgMmdrsEllwjXZNubjCj7S0 zeYoGnYWWvXdv+nuCYvhi+5t7MWf1SmRi/KFiNO0iIrpSnSKIMO3NErPuGcBiyWbxal7GsIarjeB6 kO/MLXrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etsBe-0001Jz-Of; Thu, 08 Mar 2018 09:50:10 +0000 Received: from mail-pl0-f66.google.com ([209.85.160.66]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etsAV-0000Bp-Jw; Thu, 08 Mar 2018 09:49:08 +0000 Received: by mail-pl0-f66.google.com with SMTP id y8-v6so3029568pll.13; Thu, 08 Mar 2018 01:48:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vBFOVLStWpfNfXUMPM7JwKDfIwCifEUfmXuAm2uc0U0=; b=tHkZsL2EEXMaJGhOS0T8l0GRcgm9El4/5dxpDqhsbBxJ04v3GM6MZmJ4XBRoeNyVDY oYzHfSrWJ0aJPs3lrrPKQmBj13vlWqCggqZ9EidbfJcXX0sPFLhcOltbgS35DvwsHT4A SKj1wcjaXBjrSgKfED+r3V9XR2Ybbawt7mJBL0lzHVFa5W/fhdXJT3ttIVPlWhNfUCDk OVgvmLQVVtOFfNQu2bKmO1A/dvn1/JjCtU2Is3p5f2CPlRcBJjZWynWGz1bI24Oa1RvJ C95TEhEoQKwT8sslwUswbvUW/nc1a4kZzLLaTOXAPpECII30XdpEJ692+CCKrV4YqzfE TDfA== X-Gm-Message-State: AElRT7GA9tFllDyxkfBgcqYkhe13nA8FVkYFFrS/hU6dVFONjB1Qo9As 466YYbqT6Iq2TN/VJizFflIOnw== X-Google-Smtp-Source: AG47ELvdluo8PihI0wjqB9bhCTr3j+bNL5MKj8O7XuUCTVdqRf0oPZEvFv2sYKFY04ax3ZTbl00IAw== X-Received: by 2002:a17:902:52a6:: with SMTP id a35-v6mr18076726pli.179.1520502528674; Thu, 08 Mar 2018 01:48:48 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id k66sm40411663pfb.123.2018.03.08.01.48.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 01:48:48 -0800 (PST) From: Jacob Chen To: linux-rockchip@lists.infradead.org Subject: [PATCH v6 02/17] media: doc: add document for rkisp1 meta buffer format Date: Thu, 8 Mar 2018 17:47:52 +0800 Message-Id: <20180308094807.9443-3-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308094807.9443-1-jacob-chen@iotwrt.com> References: <20180308094807.9443-1-jacob-chen@iotwrt.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_014900_012547_9417319F X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, heiko@sntech.de, Jacob Chen , jeffy.chen@rock-chips.com, zyc@rock-chips.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, Jacob Chen , mchehab@kernel.org, zhengsq@rock-chips.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jacob Chen This commit add docuemnt for rkisp1 meta buffer format Signed-off-by: Jacob Chen Acked-by: Hans Verkuil --- Documentation/media/uapi/v4l/meta-formats.rst | 2 ++ .../media/uapi/v4l/pixfmt-meta-rkisp1-params.rst | 20 ++++++++++++++++++++ .../media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 18 ++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst diff --git a/Documentation/media/uapi/v4l/meta-formats.rst b/Documentation/media/uapi/v4l/meta-formats.rst index 0c4e1ecf5879..44e7edbf1dae 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -15,3 +15,5 @@ These formats are used for the :ref:`metadata` interface only. pixfmt-meta-uvc pixfmt-meta-vsp1-hgo pixfmt-meta-vsp1-hgt + pixfmt-meta-rkisp1-params + pixfmt-meta-rkisp1-stat diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst new file mode 100644 index 000000000000..2ff4f4309795 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst @@ -0,0 +1,20 @@ +.. -*- coding: utf-8; mode: rst -*- + +.. _v4l2-meta-fmt-rkisp1-params: + +******************************* +V4L2_META_FMT_RK_ISP1_PARAMS +******************************* + +Rockchip ISP1 Parameters Data + +Description +=========== + +This format describes input parameters for the Rockchip ISP1. + +It uses c-struct :c:type:`rkisp1_isp_params_cfg`, which is defined in +the ``linux/rkisp1-config.h`` header file, see it for details. + +The parameters consist of multiple modules. +The module won't be updated if the correspond bit was not set in module_*_update. diff --git a/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst new file mode 100644 index 000000000000..dca8befe58f1 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst @@ -0,0 +1,18 @@ +.. -*- coding: utf-8; mode: rst -*- + +.. _v4l2-meta-fmt-rkisp1-stat: + +******************************* +V4L2_META_FMT_RK_ISP1_STAT_3A +******************************* + +Rockchip ISP1 Statistics Data + +Description +=========== + +This format describes image color statistics information generated by the Rockchip +ISP1. + +It use c-struct :c:type:`rkisp1_stat_buffer`, which is defined in +the ``linux/cifisp_stat.h`` header file, see it for details.