From patchwork Tue Mar 23 13:40:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 408282 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26489C433E3 for ; Tue, 23 Mar 2021 13:41:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E44DF619C5 for ; Tue, 23 Mar 2021 13:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231285AbhCWNlH (ORCPT ); Tue, 23 Mar 2021 09:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbhCWNk4 (ORCPT ); Tue, 23 Mar 2021 09:40:56 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECD83C061574 for ; Tue, 23 Mar 2021 06:40:55 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id b7so27179601ejv.1 for ; Tue, 23 Mar 2021 06:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WZGkiGKYA9UnQezkNRP1eOoZgt6WZ7BXwgSa/zEhxao=; b=K4wSpV+JwtX2hLAPqtmQIRGPrAXazv+ZI2F0KH5RLVDI0aIcYNwjxsaATw9f51XcIy TSZaACQ4uyGeQpXi2QI4FfCpGQa0L4zkwFmW9DR2J/08LSZ7rRySGduXlO6crl1bXJgA c3XD3kWR0mH1M/cO6X40B2CTrDuo9f4iqdvv9tPUCoxaOo/ob0+1NlHH0qY0SoZUrq4R p0JRcJAWEvxOPlX3NhNaA8cffrZMS/LrrWneFgPTGmjL+MetY2OFYGQPLbZvqXN5j/5E pMQnloWXrd7y1jrp713Eun/yZcCdRe3kc4cxwXQmGZ9zFCitcDg61FWV1cu/hcv6xBzs +evQ== 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:mime-version :content-transfer-encoding; bh=WZGkiGKYA9UnQezkNRP1eOoZgt6WZ7BXwgSa/zEhxao=; b=uGB0t1KVkt76vg+bLo3Vu3VCP+S+SOaBkTgxWVCvb/GsR+ieURqeebJclHaCanwBxY wZQw2P5+gHuSazD/skFbLEYq9UL6SiBlm59N/MiG+i+09s4xZoEBedhPjAh81ORlwf5i rRnGi6Sv1sZrSVnzlsDs31Q9jQvJAfpjUmaIbv5S56BFyIC5jkdhpfPA4eqV64LrMXgX 7sl4hvAc/mRJ9Yr9CNgDgHT338YmNyQcW4bXQj2V7QnCvvsTtegsTHnQzFAO2XJcl0Rd yGSCMmzA2HeqFXtHncKM+0qZQxmIuZc+KOns9h5KvQhs2scGhVV+FsQB9utnJ/TEkFCI sciw== X-Gm-Message-State: AOAM5314hz4441XTwNGDy83wl41HrF55umwPySeN3WFSeKZUt7rejX3H P/ivSWecZUNVCaxkDLn0rU2pIg== X-Google-Smtp-Source: ABdhPJxF31ITiySO5RmhXqWHsxzWsRM0pct2TbtSvn5qDWPEYLuZaXvnQVr5HZtySfkkLPRvUu/FPA== X-Received: by 2002:a17:906:558:: with SMTP id k24mr5043834eja.387.1616506854739; Tue, 23 Mar 2021 06:40:54 -0700 (PDT) Received: from localhost.localdomain (hst-221-13.medicom.bg. [84.238.221.13]) by smtp.gmail.com with ESMTPSA id r10sm11207317eju.66.2021.03.23.06.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 06:40:54 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: hverkuil-cisco@xs4all.nl, ezequiel@collabora.com, nicolas.dufresne@collabora.com, Stanimir Varbanov Subject: [PATCH v6 0/5] HDR10 static metadata Date: Tue, 23 Mar 2021 15:40:35 +0200 Message-Id: <20210323134040.943757-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, Changes since v5: * added Reviewed-by tags * 3/5 - added a comment (Hans) * 4/5 - drop "coded" word in documentation (Hans) regards, Stan Stanimir Varbanov (5): v4l: Add new Colorimetry Class docs: Document colorimetry class v4l: Add HDR10 static metadata controls docs: Document CLL and Mastering display colorimetry controls venus: venc: Add support for CLL and Mastering display controls .../userspace-api/media/v4l/common.rst | 1 + .../media/v4l/ext-ctrls-colorimetry.rst | 93 +++++++++++++++++++ .../media/v4l/vidioc-g-ext-ctrls.rst | 12 +++ .../media/videodev2.h.rst.exceptions | 2 + drivers/media/platform/qcom/venus/core.h | 2 + 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 | 75 ++++++++++++++- include/media/v4l2-ctrls.h | 4 + include/uapi/linux/v4l2-controls.h | 35 +++++++ include/uapi/linux/videodev2.h | 3 + 13 files changed, 298 insertions(+), 2 deletions(-) create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-colorimetry.rst