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: 69888 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1kmeUO-00ApPU-Qj; Tue, 08 Dec 2020 15:01:17 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729777AbgLHPAn (ORCPT + 1 other); Tue, 8 Dec 2020 10:00:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729601AbgLHPAm (ORCPT ); Tue, 8 Dec 2020 10:00:42 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F093C061794 for ; Tue, 8 Dec 2020 07:00:02 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id jx16so24977900ejb.10 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=hTB7/RVWeUZoPelBegGg3xYFbXbZRFWoGNBoEUPqfjscXzx2l3TuYUeyC+KQ/857ct XeFcBuiTqYHWi1oa5ffVirmam5D6fe86nNgHCczueLeWvLuY1dtu7RmRVluZfYszWppz EVM9T2cDbqKT2VZWJPfF72yJHAB1no5/yI5HZZ4BP++tDXewJF9H1NjC9Gfx4KQCkR9u 8FUW8e/PqfW+II0E4Cbv+nV7Dlpnyjiuz0DbqemD3mbmt1IsJZcPHgv8JoyTAA3be30i wA1cPyup5QrUMQNKYY+4tCA0CZiaRaz7OV21bqCBK64cB7qsxru1egRen14MTKoWq79A Suhg== X-Gm-Message-State: AOAM5326b8Y6XClL6NcRWFGy8k2YQZWI0kF4ushzEoSm3A1+N9LXYGeI LD3LAr9nAFf5GwfcyrJtMw/mP533V9GszTMI X-Google-Smtp-Source: ABdhPJxL5zm2AhNskIj3IdbTnu2W+pBXrJxj+BWu8LHYP43XmANx+npvzuQ+c95Q73bsm1XwwC8yKg== 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-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no 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