Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp113013pxb; Tue, 17 Nov 2020 22:58:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+cINFjauSJRpr3Wx76y2XCVuldd/4XSkKGwIz52eR0ny+/eEClqZWjfLgyhTZb3bymHrm X-Received: by 2002:a17:906:ad8e:: with SMTP id la14mr19490446ejb.264.1605682695215; Tue, 17 Nov 2020 22:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605682695; cv=none; d=google.com; s=arc-20160816; b=ZqMI+UOuKZ6wkaKOH49n0CnofIllSzuCWNOjOFUISb0sacMer9zPrzmxC8Ygvwbvbm GHVcTceWOllI+4kLV816I5Z21oDH7rmYdTP7R8tzPdpQWrbf+MX+9utppb6EtcjoG4v5 g9oe2iZ3rlG0CyCncvszgIIrdZ+xdTkS4WMcq8J9g1dfRRrffWapKF/eBbhQpZ5EdzhU OyaQnUep+6ENMhyvNd1DPliFfaaWW10p9V6qzqCtdlrPfhFjThsV+6E9oc7STodcehAL YpKHA0EMNCN53+trh5RG/SUWphJUks2D4fjUGMDUn5fHnbDgvEo8uXWHKDKYOL4dwUeA kaVQ== 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=GJtdFTvwoPfg6xT3T2FJzFws3YoJ5buHJIM06FUQVMg=; b=uw+uQq9Y5YQ8G7aAO3Aj9Qfn5GG8GJvbOM5IAxRXGhnkb/Mh79jR8DAjRZefscr5nd aq4McG0rV6XDDUXTyFbnZlDnMsiyRKVZK9avlszHoDayW/m8DM9BYFEAbpMkTIYIJZNT dXdeNnQ93lHZQ9WUOklfNXtS/flJQBmYvU0Rr11vduD5P2n3O3wHXlb1IMSlra7hBCMX I/TOABk4TAYmnzZLyE42MJgNBdDI+YOaX92zKIQ4Y4ThJulyO7nVlgUxoa5Wn03KVexq Yl4Gez+hpWtZlP7IBt1AqHjhvecP7K1efUTMGW7GR+yXDk1qopdpdYTwXiUawYZUBZvH W8TQ== 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 bu4si6183049ejb.195.2020.11.17.22.57.53; Tue, 17 Nov 2020 22:58:15 -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 S1726640AbgKRGz3 (ORCPT + 99 others); Wed, 18 Nov 2020 01:55:29 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:48123 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgKRGz2 (ORCPT ); Wed, 18 Nov 2020 01:55:28 -0500 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 17 Nov 2020 22:55:28 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 17 Nov 2020 22:55:26 -0800 X-QCInternal: smtphost Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg01-blr.qualcomm.com with ESMTP; 18 Nov 2020 12:25:10 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id 5EEB0212C6; Wed, 18 Nov 2020 12:25:09 +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 v3 0/3] Add new controls for QP and layer bitrate Date: Wed, 18 Nov 2020 12:24:54 +0530 Message-Id: <1605682497-29273-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: - addressed comments. - 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 | 51 +++++++++++++++ drivers/media/v4l2-core/v4l2-ctrls.c | 15 +++++ include/uapi/linux/v4l2-controls.h | 17 +++++ 6 files changed, 187 insertions(+), 7 deletions(-) -- 2.7.4