Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp113882pxb; Wed, 20 Jan 2021 02:35:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdZljRvUj8o4JI4uSx6AeEHOurAw6fNXJsdtlGL4Ns3WRa7p4bccB1LwULwoUfCG85f5gh X-Received: by 2002:a50:d60f:: with SMTP id x15mr6620526edi.224.1611138848645; Wed, 20 Jan 2021 02:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611138848; cv=none; d=google.com; s=arc-20160816; b=0czDqTlj0Ju2JreQRTvJMqD3bf2k4dTDHTfCK5/l9NOm9yzKDTilUyMbsQD9ApHX6V vJ5mYo62vSK2AexHuKiW34J/oKE/vIreIRmeZe5zycWT2zku9boBg1BZp6ERN50G+Uvx mifyRaW1MoqneLvZDEyqGHUbnk8QENzooVD8+xzqnQ31A+JHTbtWVIYAkQEfCIqtco5v BVSedX8RVQvC1n8BaK7XH5DBUjQwJo4jnGGSHH5JZps1TBcmSauUVzUI6Eg177engWot LO7kX+0yN+hdeTanhcsEdaFiAdTjkDLRb6oihrv0rf8ZBEVC29PuWVOYxycP2k2Si7x2 dEyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cNEG6Wf0FIfViBspVuOimQ9Ufn7OM3gR5b0lBFKYH9s=; b=G06WgUfNNQ9tI3LRXyS1AZy9lDGohqW2kOiSknXOJtP3pIk6rEwoI9ixB/nv4Yzp7M BVlcuzBmqNosYST4xkcYyG9CpK+8bgg7KDMsebldJMxhePLhzkIsuOPHe+ZAphBhYkwu PWjMVEfhVefFaFQYttDcMIDgivt70XUDX747tMfjfCUnFu01DvkaNZPh/c3fUBW79ggZ T1QzP2eWfWnU0SeIe93OSw3Kw5LlDugLhDr/RY6mdcntUjvVbhKSyTiuiBeNk7sMuCFW HpN4Er+8UBhi6DIdLSmJ4k0XVsuKU+4vniOVAwMrHeSzN1wbBbtzgVPqZr/bpWUsb/fZ rbMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w3DM53Go; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si548410ejd.230.2021.01.20.02.33.45; Wed, 20 Jan 2021 02:34:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w3DM53Go; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731475AbhATKPU (ORCPT + 99 others); Wed, 20 Jan 2021 05:15:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731292AbhATJ1P (ORCPT ); Wed, 20 Jan 2021 04:27:15 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2625C061786 for ; Wed, 20 Jan 2021 01:26:33 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id g24so24847483edw.9 for ; Wed, 20 Jan 2021 01:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cNEG6Wf0FIfViBspVuOimQ9Ufn7OM3gR5b0lBFKYH9s=; b=w3DM53GoY3/BqPTYQ9HHe9jPcIQOY2KZRFnfsde2B3+gHng6/IM0kq0P8g0UzqN8cF AZu6liGhdskAPOJgSe6zuqHppseXAIpB9Klj35tQ41kMActjknJkWK+ITLF0jd3vDxoE UjtjFZW6qw3FwFPa/dSK42r2tqZ/WLZbVy6pvSmpEts2XpAPL28dR88/NwtVQHVglIrW wkgRSjJKcCmtXEpItONAplJNSwWzU2zIcafuN5lg4ko7fFkV0uhKrkKK4S+A8uH6CaWn YFndia741VRzTF6tJreMEy0Ctpi4JjW6I6IU5dPhXqtTFxyYfds/+Ps8USSRzaOOXPz/ XJYA== 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:mime-version:content-transfer-encoding; bh=cNEG6Wf0FIfViBspVuOimQ9Ufn7OM3gR5b0lBFKYH9s=; b=CV8UEVvjAgmk/TF5/zapbJDcyPegnCwz7+rYbBFExKSPzcdFzgx66WWexGgsFBvhZ0 rG7bAf7zFizTLa3sVJ06LDsYA6aPzCJM3DZFpnT+V9DBjVl7vYIy29xjqyfhgaXpLfIb Tr6Qr9yFBYKo+XPMLU56Jm0UUuqbkch+Z1Yy812pMqVhKKRU2kxM0AQTpxRIcXOJOPhT GJfpkwMaRoGoB+x4UOSO4HPcuRLgdX+QSH/XMFB7dw8tqEBhJrXgxopyHLg0AU/OltNt KPRaPZuzc+72gfBTZOglUyDKky49BqibK8j7Fb85oqTz18gH6r0jYJegEHo18zGAY1So 1r3g== X-Gm-Message-State: AOAM533gWGYJlE+rRwtMFlFjgsc89/yCNY6/lvDsXff1t95vV2ev1dHO 3Pc9pqv40VKc/691NjUrBtodvQ== X-Received: by 2002:aa7:cd4c:: with SMTP id v12mr6641709edw.17.1611134792447; Wed, 20 Jan 2021 01:26:32 -0800 (PST) Received: from localhost.localdomain (hst-221-66.medicom.bg. [84.238.221.66]) by smtp.gmail.com with ESMTPSA id k16sm619392ejd.78.2021.01.20.01.26.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 01:26:32 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Hans Verkuil , Ezequiel Garcia , Nicolas Dufresne , Stanimir Varbanov Subject: [PATCH v4 2/5] docs: Document colorimetry class Date: Wed, 20 Jan 2021 11:26:03 +0200 Message-Id: <20210120092606.3987207-3-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210120092606.3987207-1-stanimir.varbanov@linaro.org> References: <20210120092606.3987207-1-stanimir.varbanov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a document for ext control colorimetry class. Signed-off-by: Stanimir Varbanov --- .../userspace-api/media/v4l/common.rst | 1 + .../media/v4l/ext-ctrls-colorimetry.rst | 19 +++++++++++++++++++ .../media/v4l/vidioc-g-ext-ctrls.rst | 4 ++++ 3 files changed, 24 insertions(+) create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst diff --git a/Documentation/userspace-api/media/v4l/common.rst b/Documentation/userspace-api/media/v4l/common.rst index 8c263c5a85d8..ea0435182e44 100644 --- a/Documentation/userspace-api/media/v4l/common.rst +++ b/Documentation/userspace-api/media/v4l/common.rst @@ -51,6 +51,7 @@ applicable to all devices. ext-ctrls-fm-tx ext-ctrls-fm-rx ext-ctrls-detect + ext-ctrls-colorimetry fourcc format planar-apis diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst new file mode 100644 index 000000000000..6b0cd2054e84 --- /dev/null +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst @@ -0,0 +1,19 @@ +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _colorimetry-controls: + +***************************** +Colorimetry Control Reference +***************************** + +Below are controls within the Colorimetry control class. + +Colorimetry Control IDs +----------------------- + +.. _colorimetry-control-id: + +``V4L2_CID_COLORIMETRY_CLASS (class)`` + The Colorimetry class descriptor. Calling + :ref:`VIDIOC_QUERYCTRL` for this control will + return a description of this control class. diff --git a/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst b/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst index b9c62affbb5a..8a95ebdd499a 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst @@ -394,6 +394,10 @@ still cause this situation. - 0xa40000 - The class containing stateless codec controls. These controls are described in :ref:`codec-stateless-controls`. + * - ``V4L2_CTRL_CLASS_COLORIMETRY`` + - 0xa50000 + - The class containing colorimetry controls. These controls are + described in :ref:`colorimetry-controls`. Return Value ============ -- 2.25.1