Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2762100pxp; Mon, 14 Mar 2022 04:34:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxloyGh7P8SBMXjbGXDkpT4LCCR8Op+IHyCROpnXBS2iYl6TcIyQbU9DnMo5FppjVRz0umG X-Received: by 2002:a05:6402:42d4:b0:412:c26b:789 with SMTP id i20-20020a05640242d400b00412c26b0789mr20000279edc.232.1647257642529; Mon, 14 Mar 2022 04:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647257642; cv=none; d=google.com; s=arc-20160816; b=mFMpOawQp9l/6bnM+oHmcextJxixf+oJcKyHeCCe4z1VmPzLfYROyMUzGA8/1U7JTz Do/C9K6FnSJ8wJNAijZguh2RyhGL7d0nNV+TWa59cXWooUxgYgxpekZ3hPeEp1h+M3rZ YumB8/GGLP54G5hrUL11v/ZkUaDQSTIw5jtDJLYU30bhj3CJruGcKR0TMUsEM8Tv9nUc S5676k6IBcL+093FLJ6cO1mun/pn/Uhy9tAcFL7l7mvK/aeSxA4yw8pWQYBKTz7RWROe EvXxTk6a5v/Z1uXBQyv7r/E5UgAkAio7sYXiy7YCBIpvZqcYu01nkfl4ahCvroQMxkIe 9Ckg== 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=DqWxpScnBDztL5jnHz6eeDB3KndGF4j2DaOaSkh8I1w=; b=wg6RUm5NElvKlu3yGxaTmT1LTn/VrQttnlatc5MgcYAisVP/WpNFGXq76PyvSlIHEQ korR0R0FEWc8X+hJT9z3N/kdqG2s278Oxf8N9IugiqBvNMP5b8fiRsbQv0O5ASDqEdSm L0Ww6XpDKhl2/y1/IxJ7I5p1l6tfXHcSrolv3cCbbsyQkDWjzrYD1xhjhdOOgyE7Zejs p/qcGsZtPJYY/t8fiqB34HqtrUuelm1N/QHbc5nrEFoBFt+fKzUH7Lbm0sjXsOAID98j m/autyEZJIpO/eEMYu7flvSU95s+r1h6xp23YN2zbJ7k1nmDMZYNVQjAi5WJ4SRx4cma 3a1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=otag3ted; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zj24-20020a170907339800b006b51c81ffe2si9082368ejb.938.2022.03.14.04.33.37; Mon, 14 Mar 2022 04:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=otag3ted; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236964AbiCNIGX (ORCPT + 99 others); Mon, 14 Mar 2022 04:06:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238561AbiCNIEN (ORCPT ); Mon, 14 Mar 2022 04:04:13 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 642094738E; Mon, 14 Mar 2022 01:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647244906; x=1678780906; h=from:to:cc:subject:date:message-id; bh=DqWxpScnBDztL5jnHz6eeDB3KndGF4j2DaOaSkh8I1w=; b=otag3tedl+y97xCfI/nB3nEvNGQ8yKSF1dq65hW+G/OyycJhgQUjR2eD NaGHO2kBMgLlORsRYwnphZIFyqat9VQ08GAcMsMQGcDllYIWP9nMYbM/4 OuvpMQzPuRgRDJn3jxkvKGuogh4psMJmM1F+klg2pDLk1R7EyHuV4oi5G g=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 14 Mar 2022 01:00:17 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Mar 2022 01:00:16 -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:30:13 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 347544) id 7A5144679; Mon, 14 Mar 2022 13:30: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 v3 0/2] Intra-refresh type control Date: Mon, 14 Mar 2022 13:30:07 +0530 Message-Id: <1647244809-25340-1-git-send-email-quic_dikshita@quicinc.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Change since v2: Updated the venus driver implementation as well to use the correct control name. Missed in v2. 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 | 4 +++- 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, 53 insertions(+), 1 deletion(-) -- 2.7.4