From patchwork Mon Nov 9 17:31:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 321599 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=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no 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 C11ADC2D0A3 for ; Mon, 9 Nov 2020 17:32:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D0C32083B for ; Mon, 9 Nov 2020 17:32:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lD9EKUCy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731778AbgKIRcR (ORCPT ); Mon, 9 Nov 2020 12:32:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729814AbgKIRcR (ORCPT ); Mon, 9 Nov 2020 12:32:17 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C7DEC0613CF for ; Mon, 9 Nov 2020 09:32:15 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id f23so6798224ejk.2 for ; Mon, 09 Nov 2020 09:32:15 -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=3GbLYzMwvp6EZcDPr1mAsVCZayr8g+ANCOELRW9x3oI=; b=lD9EKUCy7oUECftLGz0pJuJXfWUST9vdn8zNy7aZ0sJ1i2+htwpMpx18p1su3Hvqa7 KKWbeffmklr0iutDQZf5HVJhX6zpyJ2Jtfj+SlbscdNWWQBZETnFK6oabvbul+7HyWv3 iqUV4WCq2d6jBbBPdL2h+n62FPZ795ybRj/Y/LQI7KY47A9dPPFcXf/xEWuafxfJUew2 6z9mwI/ApECmiPKdiVDemmddiR07Flf/AF6B0urxkpX+RC0nobTwavyHBq3qIXOZ5yQW qxLrdxpOe3XjZFBWgbTmhLWEOUUcyTxcJutA/lpOyZDJmL2/sOzN1Wbmdx3JTEQncVs+ IPAw== 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=3GbLYzMwvp6EZcDPr1mAsVCZayr8g+ANCOELRW9x3oI=; b=dKdvFuxDYioV4G7TKaqtGJbZICXj7HP11zuCF4E2/r34BwekKtYaPYfvluHWPBoGPJ 6COkmd5x/rbnOM0TxOqvtXAk2xh5tP8jjpZIeFbLIQwPzTfPfBonWLkcJqHDVaUy33ih jGM2t6JFtWUsk9mpLqQIHriZaobsneriqe9EZQd6yEIe+y8/iw9+vaEhUlUkVT50pAuD yDLsGlu0KbpWtwl6YWJL4eiV8HI0cPRhp0GNCo5xkZ1g2UrIV4L9EHa3NHOanNBxM7NC uj8T1l8uxu/EKwWWnIUfZEVfRhyKmBgN7ERenpSsI2honPrqUMnF+PJdQyQ2WPcmBunD 3uKA== X-Gm-Message-State: AOAM531io+eHWjQ3x0gKITTyKxhxVDhoMTlqzjGJjY0EGI4aYIHPRMXY YOttx9SEJg2rhn8VdLE/dwz7D5gcJf+0K/8k X-Google-Smtp-Source: ABdhPJxX5c+OTDNapq6/UahETFkImzuMZoJ3WkHepRM8Jo8FjtVUZvBKfvF6IxDMzUP2zR9aTpFDTQ== X-Received: by 2002:a17:906:a149:: with SMTP id bu9mr15636458ejb.115.1604943133905; Mon, 09 Nov 2020 09:32:13 -0800 (PST) Received: from localhost.localdomain (hst-221-32.medicom.bg. [84.238.221.32]) by smtp.gmail.com with ESMTPSA id w18sm5037005edq.43.2020.11.09.09.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 09:32:12 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Nicolas Dufresne , Ezequiel Garcia , Hans Verkuil , Stanimir Varbanov Subject: [PATCH 0/3] HDR10 static metadata Date: Mon, 9 Nov 2020 19:31:50 +0200 Message-Id: <20201109173153.23720-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 Hello, This patchset adds two HDR10 HEVC v4l2 controls for Content Light Level and Mastering display colour volume plus implenmentation in Venus encoder driver. Comments are welcome! regards, Stan Stanimir Varbanov (3): v4l: Add HDR10 HEVC static metadata controls docs: media: Document CLL and Mastering display venus: venc: Add support for CLL and Mastering display controls .../media/v4l/ext-ctrls-codec.rst | 61 +++++++++++++++++++ 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 | 61 +++++++++++++++++++ include/media/hevc-ctrls.h | 41 +++++++++++++ include/media/v4l2-ctrls.h | 2 + 9 files changed, 240 insertions(+), 1 deletion(-)