From patchwork Mon Nov 23 23:02:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 330729 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=ham 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 509ACC63697 for ; Mon, 23 Nov 2020 23:04:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1254420691 for ; Mon, 23 Nov 2020 23:04:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OiNTiGSS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388124AbgKWXDT (ORCPT ); Mon, 23 Nov 2020 18:03:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388122AbgKWXDT (ORCPT ); Mon, 23 Nov 2020 18:03:19 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFBBDC061A4D for ; Mon, 23 Nov 2020 15:03:18 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id s13so1060813wmh.4 for ; Mon, 23 Nov 2020 15:03:18 -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=iQ5bInMQHEd3mry/pnJUmeAGZvhgJKRP74BEVfnU10U=; b=OiNTiGSS5/LF9CfoR+WnFhenvR/4NniWfWQwswHpPxLxZUsQ0a+wRzk+uXc7J5dhHv miy02vvzYop//5DKzFtHgqUXk1zfIDc0LZLyv6V8ftwzeFeWn+Fj12381zIe8g+Uku/X V28evtG18FULftcR7O6FsssAaIf1OCBAd34IqsH3CnDcKV2smLRYfJThbE6esY/m0xvz 94ODSao14NPUcPJlq4sz39B3Td6i0OeeGqiVZ678J2FbXooJ0w46zMWXadEVCdxc9Kut nfih8ajhVVBc9ebXJLNxTa5kr4xvjO/b+DGEsTVWklds95K4Z/XjD6lZlrMx8HSqR45j 8caQ== 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=iQ5bInMQHEd3mry/pnJUmeAGZvhgJKRP74BEVfnU10U=; b=q7aLOHx/o2U4dweTq6L5dhZ6RJaI+3tqPUinMhQAzG9N4QdZ4o8QDD7rGgibUmtPHI EnNB1rGMVpjpFrhS8EujgxPEpU+HIRo0RnccvIGSUbgEfiOmgxSFILwZtsbU20+dFZio dPwU8aD8heAI+1EUz+B+fK2HtjxaEZ8zDo+R4j0peo8OomSEfxJRyCQB+gFf9EREh9CA GHavaFweAzubQm1DouBaB4E1Q7eC96UwjzW3RbQeTy+OgYjadTL1VajpKM//SrUIo+dj LmfFxFCIdUxPUGdLQRUxJvrCJWACmQlNs0Wv83PdvPvuyV18RSEI/CuH+pYggbyeLBec Ku0Q== X-Gm-Message-State: AOAM531fSHKzZN6ihDoFY00T+FVFHS+CKy/Di6CPsbjIrkBxlbXIJJys 80Mg52LuEQkNPJG7lTiyiXZRoP7eFxQ71yS0 X-Google-Smtp-Source: ABdhPJyA0nf7pxUIMJ28zOQAgOgSLORmK9/qdRewiPJ94F284kqUl1gm7GQIPWuJXSwKKzwLh9f0Ng== X-Received: by 2002:a1c:a986:: with SMTP id s128mr1158308wme.94.1606172597529; Mon, 23 Nov 2020 15:03:17 -0800 (PST) Received: from localhost.localdomain (hst-221-74.medicom.bg. [84.238.221.74]) by smtp.gmail.com with ESMTPSA id q66sm1501463wme.6.2020.11.23.15.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 15:03:16 -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 v2 0/3] HDR10 static metadata Date: Tue, 24 Nov 2020 01:02:54 +0200 Message-Id: <20201123230257.31690-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 v1: * moved the controls in hdr10-ctrls.h header. * the structure fields documentation clearer. * fixed some typos. Some thoughts, because these two CLL and Mastering Display controls are borrowed from SEI messages we can introduce sei-ctrls.h instead of hdr10-ctrls.h. What you think? Comments are welcome! regards, Stan 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 .../media/v4l/ext-ctrls-codec.rst | 71 +++++++++++++++++++ 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 | 62 ++++++++++++++++ include/media/hdr10-ctrls.h | 55 ++++++++++++++ include/media/v4l2-ctrls.h | 3 + 9 files changed, 266 insertions(+), 1 deletion(-) create mode 100644 include/media/hdr10-ctrls.h