From patchwork Wed Jan 20 09:26:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 366977 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp369091jam; Wed, 20 Jan 2021 03:22:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxu8E17hyYriN3L4r+wdKocNKGEijhIsIN0Fw9hWjrXw+aZek1vpAfR/Q1ftJ3n/dW93RRS X-Received: by 2002:a17:907:96aa:: with SMTP id hd42mr5680753ejc.526.1611141779306; Wed, 20 Jan 2021 03:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611141779; cv=none; d=google.com; s=arc-20160816; b=E0FDxnad4XWvTXfpv9xkX/VvnDhfzuLiy93ZgZ6Z4uaKalTc3qPibKx3VmNSOONG5o ChpXEkzi2/5WwzY8tAJ+1/G5vtfQuR5Sb+QuFFmwDeIixNYuPmEzOFI/a+b3fARVj1IB +mnq4mmdFExkP09scdVBBmYwOiOq4guzml5mpMnwwxjGPow01vrHOLm4wsrIRXZ+pe42 NDkD0bTMvP49iP4aG1sObyOD8RbileSCEiPlwZDsq12KAkEKKVYEMttLrskSlGeHbTvc 06+NOOThSXLWcc6r6pGNjxtYsSsgZbXHAhmrOzBsvvMcWoDAb+vPB/r/DpoHpcgIFnr3 SBUA== 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=MYBbVmz8OPSuyvTPyaRxAVZAGj5D/ceSrw4qwxn/tObdGpcFkXH0ktMz0vTO5TnifK TKNJ+ew3zNpmtNgwjJMCXhyajOO1NNdfGr6Q8JZq22C0sut8gvOwu6azRqJol+WO2rvT B7kFWQBWjgJbnsfLR028H9yZiwUX6LSPdXYQWYaD51uprNcsYxoDr7fRadGz1zJh3jQ2 6NyHBo/FuLlDSHRs5so7qnR7URGw1sXf6g7+6zoxokH3abEB1/733WLD/KKwZcoWF/0d xJLo566RlqhMhjK2UH+bAwfWiYIVIUuF0r7ggpLG7cVq4gmjgugFBMkZbNc0Ljdgz/Oo VFMw== 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-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 lt6si541295ejb.133.2021.01.20.03.22.59; Wed, 20 Jan 2021 03:22:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1731325AbhATKby (ORCPT + 15 others); Wed, 20 Jan 2021 05:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731290AbhATJ1P (ORCPT ); Wed, 20 Jan 2021 04:27:15 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B26FBC061793 for ; Wed, 20 Jan 2021 01:26:33 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id d22so13889295edy.1 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=DoXnoEIUeHgzhUrny2QESK6pZ6IXwx1ujZW+TIJkTsO2vd/w9FDZO+8eNmWIzLqGju Vo4ssFKnZe9M2jlzZ5xM1D8PEkxLsfXByxVFmxwEYOi2i6C/zb4hZXaXpmfpHb00JlGn cZ0AY8F+WiF6p4YxsMMtdnGiazu2NYic0ye1MPD9/OCbdp33BIMKDPL6rQ/rWMWkrOJO 93h6GZdMccK2BliAQRehE0OZQWy3AQaVvHi6ic5wHdlZhzZVPgJBeUmh7fOXsFdvox1q I5fAhphJTrWNozKX2k6z80CdV8g+FzO6OmTKihuQHGoNOvw3GFN9+ouKNkkcg4Y/qcRq /bkw== X-Gm-Message-State: AOAM530AQ6hBDyKLntiKUjTRnOhVcOXkSCTRunooAu/watM25ItasBmL YsQW7jF/p5XgMx7sbK8+wEIIyg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 -- 2.25.1 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 ============