From patchwork Tue Dec 8 14:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 339746 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3758930jai; Tue, 8 Dec 2020 07:00:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcQ0h4d+vDOHC4CqlDZTfvIKThk0Ep2goF/ppVZrTqXJFmFZNmLyfawLmi6NyU5zHAM6kE X-Received: by 2002:a17:906:2e16:: with SMTP id n22mr24134858eji.477.1607439644022; Tue, 08 Dec 2020 07:00:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607439644; cv=none; d=google.com; s=arc-20160816; b=NVpCQppkeCvC8KsBROb0ajrrQ468Oh7FhM6IWgQjfbxqeGHJJXFwyewiFiLAJU8P6W hGzG+1Z3sziD4SpAhDYzOHNJ+FCIAFoRj7mp27ftd2iEHCYmt1426Adpn1tqr2ctkwfj xXnvtfuUVqYOcTLzHvFfpWfCfvG3c+rn+Et0AlWR0fcUDIfak+wvphBKC4iljPUTADec xFGZk7bC5Funivwe+jCSJ3fyCK3kTWTYTlUTUODu9LUFbC6uHh6zil3ct3vqOBQIKiKO LqTuGLAvyejSxTzj6dShAne1dZeUITW5gjH75uxKlJxYoJqvfJnmA0foQ0mRGO/Mj6Xg ppZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=hAkKwwGOdA7KlJEBTy1sTvd+If5skD+lsR9vtJWMUkM=; b=jdHyljr2aP8f1JI686jutIOHqdG1vxyxtltHa6fxb+z+QjN+z2OrqpNvH1QsYpoMm7 Z8xMsJVBMw8CMD2FdBKnT0KH1KgfjDuRpxf+dzUlPcwf4pDSXBtOdOzfkqmeiSSs1X8V Uj+CEF3NQRXRnpAROwR/uZfq5Tpsqxyv+8ctZZsj0hMoXUrxQr/uXMSNckPsmQvpHBVK SQtTNEYX3Qp1huONFSyWz2FU/X2Q++o5Ru9Dl1HMSAbvuOFYuPBndpE1DPujtzXCb6Ky lvl+BjD9rrgl18zI9eD5t013sn0Af9B4/gOpkPbhMZ8CiGWsiNKNKfpWnU7EBKqVfPxP KkeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FZ+bGhvK; 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 rl21si8417807ejb.3.2020.12.08.07.00.43; Tue, 08 Dec 2020 07:00:43 -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=FZ+bGhvK; 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 S1729634AbgLHPAm (ORCPT + 15 others); Tue, 8 Dec 2020 10:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729575AbgLHPAm (ORCPT ); Tue, 8 Dec 2020 10:00:42 -0500 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37DA7C061793 for ; Tue, 8 Dec 2020 07:00:02 -0800 (PST) Received: by mail-ej1-x642.google.com with SMTP id x16so24996164ejj.7 for ; Tue, 08 Dec 2020 07:00:02 -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; bh=hAkKwwGOdA7KlJEBTy1sTvd+If5skD+lsR9vtJWMUkM=; b=FZ+bGhvKxJjszDd0ZcFBXcHU/1bpV+elYmBf2Mv2lBa1S23XRI6V6wrt/SPghOUxsO P41USkIHiMikORPRY1yaT4oIy1AWTf4dHGKRGZhHk3RLLAqkOfBFaZOSqBkpjJgLfLmW LEKdAYrUk6FKfgesNNVluubOzFF0k4/N5rENouAiL8ynSqSxpiwohzfAgD49gbjhhEwf yHNz/f2vtZf7mqDmeX/VproYVdVAnI9NP72mfuiOBKKXRI/nggw4pjyK+ejTUD0UJShg hF0TXsUEYvmsPrVjW/iJt3JcTdWFjpRb5kfCsQmoN1C5z0TyiHs5UgGBEU5yHtzcXBRd DlkQ== 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; bh=hAkKwwGOdA7KlJEBTy1sTvd+If5skD+lsR9vtJWMUkM=; b=Z+Bt5RRQH62mahtlhywDxZkTqsWJCQDbDbYpZz6vurJ04OSq4q+eVUUPodqOU+QEgg PDKrE3nWzfmFza42BaWKSWzUeQi5vr0D3LqYRd6fnYA4aJZ7SVcKzDBe2HOubmzfV/D3 xfjQd+XGI5s8PiWKt3wt4e1GK0ElP0mwEXNih3t7waLWAUuOG35vn0pqN0hWGLZMo1Jj +PJjlY3id2oy8SsKKaRZ5rs+71xZT4euCIe67ailWV/vrpy8gySvIfseVFPykTfBTuI7 Vs8rqe8lqIT/x6oOKw7dA9Ies6kwsWCYHiwaztuK4yeQn0nP5oTsGDw1ErCMnvY/dyR5 VT3Q== X-Gm-Message-State: AOAM530JCnJFgczBLxSBNzh9dRuiQkgBi/xf0+YDJR3HT1C/ktTt6DIW fizM4GTUnYbHa2hnH2rRB150RNTUOzAeKnuX X-Received: by 2002:a17:907:2131:: with SMTP id qo17mr23365749ejb.546.1607439600943; Tue, 08 Dec 2020 07:00:00 -0800 (PST) Received: from localhost.localdomain (hst-221-90.medicom.bg. [84.238.221.90]) by smtp.gmail.com with ESMTPSA id qn4sm4968292ejb.50.2020.12.08.06.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 07:00:00 -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 v3 0/3] HDR10 static metadata Date: Tue, 8 Dec 2020 16:59:28 +0200 Message-Id: <20201208145931.6187-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, Changes since v2: * fixed typos * introduce new colorimetry class * kept the parameter validation (even though Hans suggested to drop it) * rename to max/min_display_mastering_luminance The previous patchset version can be found at [1]. regards, Stan [1] https://lore.kernel.org/linux-media/20201123230257.31690-1-stanimir.varbanov@linaro.org/T/#mba512702aab370d4b0aa393dea54095e55d78552 Stanimir Varbanov (3): v4l: Add HDR10 static metadata controls docs: media: Document CLL and Mastering display venus: venc: Add support for CLL and Mastering display controls .../userspace-api/media/v4l/common.rst | 1 + .../media/v4l/ext-ctrls-colorimetry.rst | 88 +++++++++++++++++++ .../media/videodev2.h.rst.exceptions | 2 + drivers/media/platform/qcom/venus/core.h | 3 + drivers/media/platform/qcom/venus/hfi_cmds.c | 8 ++ .../media/platform/qcom/venus/hfi_helper.h | 20 +++++ drivers/media/platform/qcom/venus/venc.c | 29 ++++++ .../media/platform/qcom/venus/venc_ctrls.c | 16 +++- drivers/media/v4l2-core/v4l2-ctrls.c | 68 ++++++++++++++ include/media/v4l2-ctrls.h | 4 + include/uapi/linux/v4l2-controls.h | 35 ++++++++ include/uapi/linux/videodev2.h | 2 + 12 files changed, 275 insertions(+), 1 deletion(-) create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst -- 2.17.1