Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp621850pxb; Tue, 9 Feb 2021 08:31:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOhWKQDEU/llHDR6VcOHkrxOOy9dX60130Q217uJntN+r9cVbpZTNA8zawkRlsPK03GWcu X-Received: by 2002:a17:906:ca0d:: with SMTP id jt13mr22515059ejb.170.1612888306009; Tue, 09 Feb 2021 08:31:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612888306; cv=none; d=google.com; s=arc-20160816; b=FnY0UJoNL3tYqaaRU17z0IuIR6+rDwrEQEN97Tmt5vwA8+s/eS+9Yid83ONhUuzW3f ZkQVtCuGR6YUC8LsyZJh2s/jMoQhUhyVWGJin67BXuPk7odIuUZKu/VN3K7xsMl3qP6F UdrJGjGsLthRSRJLOSHMV8qvm4Dgc5gxLQzno8WvzV/ZwCXn25wL/NxAUnaU31qLbxrl /hPRIMpZk4D/MCyg6sOEIk8ccha0xPG5RA2+4UoFFbqNsukDBanD+t3phoYicMJRevhR tsBGbOR8As+0oITR4nNnSB7tOqWEBXmTDtvoOn604glSlYL3cD4yibuzmQ00B9bYNGyZ PZVw== 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=EI1EcA+D88VC2CjRtNWFjgy2Ge54caq8DUdTYfEpBQs=; b=H4xB3hhj7QeRHF8N6KGwiv+agac6SmYTdXGEoEOv6NUlvrcB1c8xkt8UbmP6k6woA+ Oac0NviNBtvZqBWXvtfzCscu07o+wlD+snN6NLcTLiaYyt5oiJ0h8OeI1yimWTfGKRnG gfE9BwMnWlyJR9dmumkdNJSm686gNNu+VLXos/Q49jE46UltqaoN1alcF5IskaqKpoOc tNg4e3znAZQC3xReqOTWMG+kazMaij4/KoNrVloMQBHGjsNCr6CAKDxYkfVz5k8YiNRG L22tZKneV7qmJ7P06Sv/by4sYCvzwZDC5k9S1tSA5O/k3w9kPzzclf7NMVfsNilRQKey 0uxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jHpgpy17; 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 h18si14377389edw.152.2021.02.09.08.31.18; Tue, 09 Feb 2021 08:31:46 -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=jHpgpy17; 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 S232873AbhBIQ0f (ORCPT + 99 others); Tue, 9 Feb 2021 11:26:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbhBIQ0L (ORCPT ); Tue, 9 Feb 2021 11:26:11 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C7BC06178B for ; Tue, 9 Feb 2021 08:24:50 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id o10so2032699wmc.1 for ; Tue, 09 Feb 2021 08:24:50 -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=EI1EcA+D88VC2CjRtNWFjgy2Ge54caq8DUdTYfEpBQs=; b=jHpgpy17JbMvJLjyX/xNOcYywv0BRkfKBFJWNCtbWcr0Iedj5o8Eq/hb0tnaxvfa0b 4sOwopQ8iTAlAtSmC5ciNAip9dPKL8/LueZLmRmhlVA2Qx0STeVeDjcW1QFtzIRfTALz 5VHXF7g8FzrAA5b1WMRQda49bZNEWpBA6EL4ZBPEr8MWGNz505/wVi1+2IZY429fIcrs p47E4XSx6i8pkTQLRzgp+Ipm8iMy3P8vzM6zqB0LPR+Q0EdM8dlvofN89V4iCLchso7G +bluxF/nKN61Vg8Xuhs/cTii1cWFtW3e2NZXHydsYZXbIxh9+Fr/QUg9s0Lt65ZceBfZ 8ahQ== 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=EI1EcA+D88VC2CjRtNWFjgy2Ge54caq8DUdTYfEpBQs=; b=a+j6bMixDliPp9TsZpE/rLeigd0EBuU7vDRZ2uObPLnLKbKWkO9X4YzNI893bC98Q+ EM+9iOH96VPLQ3fZ4BwvnANihD+UjTepwK/TZKa6br+IJ/VCKzB0OZP7ZSolu4KlMdZ8 E+WxS3URL1Zi4B3P1Px3ESrUsers9zNTSyuKfphZZ1Oic7EE+sfwgvyEn9VSnsPpgioc FnCTRPe9gOvHN7ecFxJipdrGTmQIBS3ipG0wE28/CDAWiTdw/AZhgDUz8y4QXrXWrH7X HWoawSfoUbiDnkPQSMCJXWRlmjLdywdKeq6+71c77iGazLJRnhKv9JQjEJESO6WnEoVL fBlg== X-Gm-Message-State: AOAM53258TcV2h4QJM7EPEz2KKb+XhL6kUYLjRPybobPrBpmLz64dBEt OR8q20UqUUjyzqkAI7gTBLFh5Q== X-Received: by 2002:a1c:e90d:: with SMTP id q13mr4192172wmc.136.1612887889436; Tue, 09 Feb 2021 08:24:49 -0800 (PST) Received: from localhost.localdomain (hst-221-125.medicom.bg. [84.238.221.125]) by smtp.gmail.com with ESMTPSA id w8sm45210wrm.21.2021.02.09.08.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 08:24:49 -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 v5 2/5] docs: Document colorimetry class Date: Tue, 9 Feb 2021 18:24:22 +0200 Message-Id: <20210209162425.3970393-3-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210209162425.3970393-1-stanimir.varbanov@linaro.org> References: <20210209162425.3970393-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 | 22 +++++++++++++++++++ .../media/v4l/vidioc-g-ext-ctrls.rst | 4 ++++ 3 files changed, 27 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..862f78b41b32 --- /dev/null +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst @@ -0,0 +1,22 @@ +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _colorimetry-controls: + +***************************** +Colorimetry Control Reference +***************************** + +The Colorimetry class includes controls for High Dynamic Range +imaging for representing colors in digital images and video. The +controls should be used for video and image encoding and decoding +as well as in HDMI receivers and transmitters. + +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