From patchwork Mon Nov 30 09:08:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 334686 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp4466521ilb; Mon, 30 Nov 2020 01:11:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3p3WD8qS9pZQqOeXRUU0bxla5f5eXMDoMQ5BLLv5OVqFpi0DOkc19dilgsXDXuRXvQPhK X-Received: by 2002:a17:906:4d52:: with SMTP id b18mr3271132ejv.405.1606727498078; Mon, 30 Nov 2020 01:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606727498; cv=none; d=google.com; s=arc-20160816; b=sa5GTchSw11EXXchMBC1M0qgydXJhXmAElb5/yVg5gDSyxP0H6DZFUl2W8hVK5cumk m8cnp5LT8X65vcxbR7PYpnZGnvx1LVh1vs1z8e/5Ae9A+/UVLRpHFILN5Ux34ps18wkg XiBHsSGA9DuJhIWtI5bQzMulHiJILfgz+GZiPNpxittkCntWIKGaZtrQ5maAxETKbr3M Zp4bj4WFqT6al8gkSwCmTuo1sNk7g92/+7Tosyr+Slr5rVrgIPXM0fgWb4aL936mLk/E VYkIcwuEnUbgp/r1uQi3/ouIfI6J3ZCs6b6BC0dwX7KeJfU/ucJUN71V5mQFDmqMCj/w oGkA== 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=rc35Q1VlEBz4DZkEUhnETxh4yN2ILIjRb8LpyvVldHA=; b=sT0sj+ynZpsNGE0Sw9ctbBJdDU4QokBN+y7uBKnnffzoyI0wtxFu3AYFShxNWYbcJv qwTJHFuXwJFWQ/9/PXDwKoZLQf+twKheR0Ef1psP2fiDQh3H8t6mEIRWhEcM69ZtFu4w 2C8228UtyWPQaK6nvi69GkFvpOQOshcpn6e+pTxwYGKy5ypDiCtGoDZulgVxHTPvyVcS oWmAZlFV26/4fDtaE8InmMRLXtiM4uA31NNDzca5flNsFMzPM2BXVEmy1NBDzABcQJL+ 8v//J2fRNykWm9kXnQtVwiPOd5yY3CoyWUvw3iIF8YA//zmahzqsEDl/dslcsimtxpJu BDWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zVmRhdZ9; 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 du15si11159467ejc.471.2020.11.30.01.11.37; Mon, 30 Nov 2020 01:11:38 -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=zVmRhdZ9; 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 S1727620AbgK3JKO (ORCPT + 15 others); Mon, 30 Nov 2020 04:10:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgK3JKN (ORCPT ); Mon, 30 Nov 2020 04:10:13 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDDD3C0613CF for ; Mon, 30 Nov 2020 01:09:26 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id qw4so10172169ejb.12 for ; Mon, 30 Nov 2020 01:09:26 -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=rc35Q1VlEBz4DZkEUhnETxh4yN2ILIjRb8LpyvVldHA=; b=zVmRhdZ9DAHfRencSfuk8bOn0/LL/W9E05KpXxESrjcZhAaaojgquk/wI0J+LgexGM nnzsuXir44wiShKdAYzSHHXKvb5uLftkj0YD1KLJqVZKNSjxi16DE1PCoSVgxESz1tSd N3pk5k7qKkm08QCBZXbjsJ8zaYbo6A9puwM2siZTO4Uvd2R3FE4qS9O72lx63rJGs9Ql GI43lbfVQp2yn0ut3wbeCAzVa2+5vs5mgefmFAEy0jX6hMpmSdsHb6FQNl56+043ayb+ 0IfbYEIHEmbhl5wJOMfi8T8x+GSp89AQtw1VZ7hyQR/fJGuNyYkq3kTjvbJralPhqAds FrvQ== 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=rc35Q1VlEBz4DZkEUhnETxh4yN2ILIjRb8LpyvVldHA=; b=tmMy526XRR0nUIOFiUKblXw3qhjxnO2tALX+zIntx0cG0iAwizyCK8ikOspJIbKJ9p 8/Cn4fq1OtkiR3aCm8CEhbaXM8VC3asMo5YU8U+BuhoQCs8cZIoRcsOAdqwNFFDCbmwH YXQ9KTWCBr7ZmWOxmqEIoVyKfYpLjM0ZKKd8yS2ClEam6McS+H/hsru2xv7zHpDjInmj vyw6eEpqYu+F8+55f/eSANk3O49E5A5qIZezPcE2YfKwg+5te7TI1ODqR+AqyxvdVeLA P8uCz8NGr+k47LoYJRRl84UZlDTXMX++nHljcJ4Ru46aHxjDJkAw+rypNjTs+jVVAE5h tJew== X-Gm-Message-State: AOAM5330jkGR+CyIBUQGUypvAmhSjZ98X1oyf0T2/SrCBZthHKZIpkS6 52KI8Qu7qojUD7VzZKatasy5Pg== X-Received: by 2002:a17:906:dbd8:: with SMTP id yc24mr9159869ejb.313.1606727365646; Mon, 30 Nov 2020 01:09:25 -0800 (PST) Received: from localhost.localdomain (hst-221-92.medicom.bg. [84.238.221.92]) by smtp.gmail.com with ESMTPSA id t19sm8239101eje.86.2020.11.30.01.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:09:24 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Ezequiel Garcia , Nicolas Dufresne , Maheshwar Ajja , Hans Verkuil , Stanimir Varbanov Subject: [PATCH 0/4] Add random IR and AUD encoder controls Date: Mon, 30 Nov 2020 11:08:55 +0200 Message-Id: <20201130090859.25272-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 Hi, Here we introduce two new v4l2 controls for encoders: * V4L2_CID_MPEG_VIDEO_RANDOM_INTRA_REFRESH_MB * V4L2_CID_MPEG_VIDEO_AU_DELIMITER The patchset also includes implementation in Venus driver. Comments are welcome! regards, Stan Stanimir Varbanov (4): media: v4l2-ctrls: Add random intra-refresh control venus: venc: Add support for intra-refresh modes media: v4l2-ctrls: Add control for AUD generation venus: venc: Add support for AUD NALU control .../media/v4l/ext-ctrls-codec.rst | 11 ++++++++ drivers/media/platform/qcom/venus/core.h | 3 +++ drivers/media/platform/qcom/venus/venc.c | 26 +++++++++++++++++++ .../media/platform/qcom/venus/venc_ctrls.c | 16 +++++++++++- drivers/media/v4l2-core/v4l2-ctrls.c | 3 +++ include/uapi/linux/v4l2-controls.h | 2 ++ 6 files changed, 60 insertions(+), 1 deletion(-) -- 2.17.1