Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4991625ybi; Tue, 30 Jul 2019 11:45:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgoDbaYjUV1zdFxZIj8tGasFtDC89FzmrvQk5BXNz4B+IX8LN0V+88eQX7KRg1528UITA8 X-Received: by 2002:aa7:81d9:: with SMTP id c25mr44008483pfn.255.1564512355478; Tue, 30 Jul 2019 11:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564512355; cv=none; d=google.com; s=arc-20160816; b=IaSnkrGt3SiHRLS8dQIQrM7irfx7YV3MoqEUyYMNzSbJDFNEIDQQhAb/0iwt3B8nSe icm6QtLgs+Ppm8gmnJ564dXsIsJZzvpagZaePOcKetDvTxXouKaPzRLEDo8t6SvG4SN1 qwTZOnOADizDyyH7PhAFPOOYXGlafkYHSrHovDTeM4cRONwrlXKAo7fOcsvONXbSnkgx NXFbTqNBWk4whhPpNP6F0ebgECGbKPACET62e8JFpfFiM7k2+t/188GmK9HM1xzSY1HU s2lK18uvowxyz3ynLgJom5iUnH3K5aQD7IpSgdNLbzeA0e9iCH33bxTLkt3N3yP9Nadw MpMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SnFXwStlKXZsy0JG2ZIKd8ktYWzbF0dEMk6ilJ/Hmi8=; b=ixgWgCnp5FlN3jwEjU1HYbL9Q++i1RRNVTA0IkSHTBE77FqqaDimSM4XSurRTRSxWx tRwRMMKZrN3vuSW63iy1buDOCsXjqKvI17cCzvH2OO3FcPD68F3cZC2r+Ajj5XWg+8Ns SDzUFLLH2nP/ajpUOrBiVeqzbjle5jWdSH9brHNx4+m3Mm9wmsfjDi9AQRldTlfjBdwU 81ka4pXxfJUFZ0uUpO2OwRriIYqd4VbqGfY9misYofG5MOU9e14cx4YA2zelcoxiTBIr 8CWdK23nJqJ4nqcs5dPxaXPo4McbP1zmyszfGQ3wYEO/2YWWwC4bn6b6omnQUBcqjVmh ewLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si12104542pla.283.2019.07.30.11.45.40; Tue, 30 Jul 2019 11:45:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388139AbfG3Sou (ORCPT + 99 others); Tue, 30 Jul 2019 14:44:50 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42670 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729968AbfG3Sou (ORCPT ); Tue, 30 Jul 2019 14:44:50 -0400 Received: from floko.floko.floko (unknown [IPv6:2804:431:c7f1:ce2f:ec1:e6e6:2e9f:e76e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 8A69A28B920; Tue, 30 Jul 2019 19:44:43 +0100 (BST) From: Helen Koike To: linux-rockchip@lists.infradead.org Cc: devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, mchehab@kernel.org, heiko@sntech.de, jacob2.chen@rock-chips.com, 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, kernel@collabora.com, ezequiel@collabora.com, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zhengsq@rock-chips.com, Jacob Chen , Helen Koike Subject: [PATCH v8 02/14] media: doc: add document for rkisp1 meta buffer format Date: Tue, 30 Jul 2019 15:42:44 -0300 Message-Id: <20190730184256.30338-3-helen.koike@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190730184256.30338-1-helen.koike@collabora.com> References: <20190730184256.30338-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacob Chen This commit add document for rkisp1 meta buffer format Signed-off-by: Jacob Chen Acked-by: Hans Verkuil [update for upstream] Signed-off-by: Helen Koike --- Changes in v8: - Add SPDX in the header - Remove emacs configs - Fix doc style Changes in v7: - s/correspond/corresponding - s/use/uses - s/docuemnt/document Documentation/media/uapi/v4l/meta-formats.rst | 2 ++ .../uapi/v4l/pixfmt-meta-rkisp1-params.rst | 23 +++++++++++++++++++ .../uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 22 ++++++++++++++++++ 3 files changed, 47 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 b10ca9ee3968..5de621fea3cc 100644 --- a/Documentation/media/uapi/v4l/meta-formats.rst +++ b/Documentation/media/uapi/v4l/meta-formats.rst @@ -24,3 +24,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..103b5cb79b7c --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst @@ -0,0 +1,23 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +.. _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. + +The parameters consist of multiple modules. +The module won't be updated if the corresponding bit was not set in module_*_update. + +.. kernel-doc:: include/uapi/linux/rkisp1-config.h + :functions: rkisp1_isp_params_cfg 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..4ad303f96421 --- /dev/null +++ b/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst @@ -0,0 +1,22 @@ +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +.. _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 uses c-struct :c:type:`rkisp1_stat_buffer`, which is defined in +the ``linux/rkisp1-config.h`` header file. + +.. kernel-doc:: include/uapi/linux/rkisp1-config.h + :functions: rkisp1_stat_buffer -- 2.22.0