From patchwork Mon Jan 4 05:09:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dikshita Agarwal X-Patchwork-Id: 11996157 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=-11.8 required=3.0 tests=BAYES_00, 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 2EC28C433E0 for ; Mon, 4 Jan 2021 05:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0637D21D7A for ; Mon, 4 Jan 2021 05:10:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727288AbhADFKc (ORCPT ); Mon, 4 Jan 2021 00:10:32 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:7178 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbhADFKc (ORCPT ); Mon, 4 Jan 2021 00:10:32 -0500 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 03 Jan 2021 21:09:52 -0800 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 03 Jan 2021 21:09:50 -0800 X-QCInternal: smtphost Received: from dikshita-linux.qualcomm.com ([10.204.65.237]) by ironmsg02-blr.qualcomm.com with ESMTP; 04 Jan 2021 10:39:34 +0530 Received: by dikshita-linux.qualcomm.com (Postfix, from userid 347544) id 164EE214AA; Mon, 4 Jan 2021 10:39:34 +0530 (IST) From: Dikshita Agarwal To: linux-media@vger.kernel.org, hverkuil-cisco@xs4all.nl, stanimir.varbanov@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Dikshita Agarwal Subject: [PATCH v5 0/2] Add encoder ctrls for long term reference Date: Mon, 4 Jan 2021 10:39:29 +0530 Message-Id: <1609736971-14454-1-git-send-email-dikshita@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series add the encoder controls for long term reference (LTR) and support for the same in venus driver. changes since v4: - Rebased the changes on latest media tree - Addressed the comments - Added driver side implementation for new controls. Dikshita Agarwal (2): media: v4l2-ctrl: add control for long term reference. venus: venc: Add support for Long Term Reference (LTR) controls .../userspace-api/media/v4l/ext-ctrls-codec.rst | 18 ++++++++ drivers/media/platform/qcom/venus/venc_ctrls.c | 49 +++++++++++++++++++++- drivers/media/v4l2-core/v4l2-ctrls.c | 14 +++++++ include/uapi/linux/v4l2-controls.h | 3 ++ 4 files changed, 83 insertions(+), 1 deletion(-)