From patchwork Mon Mar 14 07:53:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dikshita Agarwal X-Patchwork-Id: 12779705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58435C433F5 for ; Mon, 14 Mar 2022 07:53:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235810AbiCNHyk (ORCPT ); Mon, 14 Mar 2022 03:54:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbiCNHyj (ORCPT ); Mon, 14 Mar 2022 03:54:39 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 028623192F; Mon, 14 Mar 2022 00:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647244410; x=1678780410; h=from:to:cc:subject:date:message-id; bh=o1UQvzKZoiUWF4YP06oEd55LjzuE1zwUru0Akp28pt0=; b=QmsYVPcvb+hbwdcuRcfs8AC00rXyXGWM4QHNgbYdbJSACGVa6wQWmriW IGyvlkJZkvFCHfMPOqN3WfuICMZvbWe47FUmD9lpcTRndoPJmrmcmvp/P Xd/iKmeXvWxZnsOaqUsnSr3UUN3pPWHcht1M0cP5vT7phSPsKUXU2Lnbk Q=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 14 Mar 2022 00:53:29 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Mar 2022 00:53:28 -0700 X-QCInternal: smtphost Received: from hu-dikshita-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.110.13]) by ironmsg02-blr.qualcomm.com with ESMTP; 14 Mar 2022 13:23:14 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 347544) id 9F77E4679; Mon, 14 Mar 2022 13:23:12 +0530 (+0530) From: quic_dikshita@quicinc.com To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, hverkuil-cisco@xs4all.nl Cc: linux-arm-msm@vger.kernel.org, ezequiel@collabora.com, stanimir.varbanov@linaro.org, quic_vgarodia@quicinc.com, quic_majja@quicinc.com, quic_jdas@quicinc.com, Dikshita Agarwal Subject: [PATCH v2 0/2] Intra-refresh type control Date: Mon, 14 Mar 2022 13:23:02 +0530 Message-Id: <1647244384-19918-1-git-send-email-quic_dikshita@quicinc.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Dikshita Agarwal Hi, This series add a new intra-refresh type control for encoders. this can be used to specify which intra refresh to be enabled, random, cyclic or none. Change since v0: Dropped INTRA_REFRESH_TYPE_NONE as it was not needed. Intra refresh period value as zero will disable the intra refresh. Change since v1: Updated the control name for better undestanding. Also updated the documentation accordingly. Thanks, Dikshita Dikshita Agarwal (2): media: v4l2-ctrls: Add intra-refresh type control venus: venc: Add support for intra-refresh mode .../userspace-api/media/v4l/ext-ctrls-codec.rst | 27 ++++++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/venc.c | 3 ++- drivers/media/platform/qcom/venus/venc_ctrls.c | 8 +++++++ drivers/media/v4l2-core/v4l2-ctrls-defs.c | 9 ++++++++ include/uapi/linux/v4l2-controls.h | 5 ++++ 6 files changed, 52 insertions(+), 1 deletion(-)