Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6476294pxu; Thu, 24 Dec 2020 03:28:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIUTUUqJR7Zpx4bf2Mjb2SIprnQs73Y5eZY61tC0GF59pjwqOIr6MbS+TSjyN4eSZEfUb9 X-Received: by 2002:a17:906:7fcf:: with SMTP id r15mr28721202ejs.79.1608809296140; Thu, 24 Dec 2020 03:28:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608809296; cv=none; d=google.com; s=arc-20160816; b=s644kQyqRKBG24xannJgNNNloUbwmxkGRWvoUyEspE+Zwr0Z9DXyn7XX57vmSil/yN hKlUjS7iRopgWDefa/oDiDJjRkAx6E1T/Rp5cYbTMKHpG3AvYEko3eMvz8BYpRl4+8pk 7lYqwhQzGr08FOZnruPRZRvt0tO029w2/Bw7U6CucXQq6Gu61QMDAWTuIFNB5aZdH8NB Z+uVPDVXQ/GYZi5Yfg58hvnRPEbje5FE0f0A5WWeaeOWlecD0CptHezHqrv3vJUnqSG1 4ElWtjLZuIN05hFldhzcEDUXRa1qHaKK/sGQV0JjyPSr/Y7WdDmX1I7dga+0P6+CKN1q omJw== 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; bh=XGd1ITpt6v8qGCiJ0SJgMM94mFYjNONXW7cfMAalBHk=; b=TejSVNNrsdztDjnhoWDzLNKLE3TPtZv9Gda+DR7hLSn5sSess/zKdHkD9RiAgJI3l2 f7qVann9xvyA+MGr89dw5llDTo36Zv8mBwFGuuK2vrFCsVMUMlJisZksmhvJU/mgrgrI j2QZtT1RADGp07tzHBhJ9Z1atEPp2XSpwzfELFpoTPfNYdu2ke+qTAFQ14fVM8mHhJ/o 0JiQsnUrCjnFEaXv7ST6f1rubUw5zqRex5VfUKaRxp1T6vSX9r4UR6VMjAyxhi/FvXI7 afsrpjRg0JioSKzPe9Mp70MeDhx/h9PgzKTMEUqnkq9S4h1Zfb418hrk/qpEmYvQac3i 1miA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m14si10083137ejj.422.2020.12.24.03.27.53; Thu, 24 Dec 2020 03:28:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727901AbgLXL1S (ORCPT + 99 others); Thu, 24 Dec 2020 06:27:18 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:27632 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbgLXL1R (ORCPT ); Thu, 24 Dec 2020 06:27:17 -0500 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 24 Dec 2020 03:26:23 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 24 Dec 2020 03:26:21 -0800 X-QCInternal: smtphost Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg01-blr.qualcomm.com with ESMTP; 24 Dec 2020 16:56:03 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id E3A502146B; Thu, 24 Dec 2020 16:56:01 +0530 (IST) From: Dikshita Agarwal To: linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, nicolas@ndufresne.ca, stanimir.varbanov@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Dikshita Agarwal Subject: [PATCH v4 0/3] Add new controls for QP and layer bitrate Date: Thu, 24 Dec 2020 16:55:32 +0530 Message-Id: <1608809135-26061-1-git-send-email-dikshita@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds frame specific min/max qp controls for hevc and layer wise bitrate control for h264. Chnages since v2: - Rebased the changes on latest media tree - Added driver side implementation for new controls. Dikshita Agarwal (3): media: v4l2-ctrl: Add frame-specific min/max qp controls for hevc media: v4l2-ctrl: Add layer wise bitrate controls for h264 venus: venc: Add support for frame-specific min/max qp controls .../userspace-api/media/v4l/ext-ctrls-codec.rst | 72 ++++++++++++- drivers/media/platform/qcom/venus/core.h | 18 ++++ drivers/media/platform/qcom/venus/venc.c | 21 +++- drivers/media/platform/qcom/venus/venc_ctrls.c | 114 +++++++++++++++++++-- drivers/media/v4l2-core/v4l2-ctrls.c | 15 +++ include/uapi/linux/v4l2-controls.h | 16 +++ 6 files changed, 243 insertions(+), 13 deletions(-) -- 2.7.4