Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp968631pxb; Fri, 22 Apr 2022 15:34:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9j1UQ3ifvbT9xoMqhKuXZh5+0RFxTAkUEe1Qo6CR6Es6rR2NgEZjRdVeTkxRyI4jf4MIG X-Received: by 2002:a65:554a:0:b0:3aa:670e:b733 with SMTP id t10-20020a65554a000000b003aa670eb733mr5718102pgr.562.1650666875696; Fri, 22 Apr 2022 15:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650666875; cv=none; d=google.com; s=arc-20160816; b=V7DkkaPv1ZRGpdHHF7X1IuZoeNDpGOWWQg8Pyo8sj4LXbcSykpUy1SQQh0s2Jv03Ow rbBPkr8SF4+a+UnSzB1vQX0Jhk0F24sDb3jEI4rE31lohZO03852DhsxR28poW1uH69+ RY2EgPLEEPmNUPgLv9UZW3aIQyIER8/WBvaLdf+c81CAuQID1VY2GuGw6A027PQpbueT m+CWxa39PApLf30l1exz3ajc7SoegbSUtqtLR7Qbg2U/FxsoR7sNu2ZnSO3RtMMW9LKL etSC6Xwy3XqfO5yiwYdiDZC4F95QeWCfaK9VNVng3wn/soWsy6j+Nuh5bMeBkdi7agBc 9EtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=j9v+bg8k7RA4LH8F4uiECLoS6Or0HyKFR68rUp70rg0=; b=Vbg7ctotFLyj6CATYanf8g7ZhQuuG8628gcm7tqXltPVDbaYcQyDx6PEajYaECODe7 EMpSqrExTSPthiGxbjQ5Op284fIrGoqxdiyGD5hrjqr7V2/pc+7aiM+pTv5nW8CLVx/h DsJ6auQL6IoMdjJA13ahn5DoL4pv/m4qkQ28HnhatsXeIzHdyvVPDWfKCHfEB340mSig jfz03fytBq3mteXep5YS5csg0Mv2Eorfm/r7B2GO9k14SdYZGljeKb7kiGEd+IJ2t538 AWgpFY0xsZZnuUEjAxFnB5DhiELGn7RkH80ICwQq2gfxvJSuAo5sWzzfHzUJcubVreWP fVCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtT22V0c; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v21-20020a17090abb9500b001cba40415easi11761204pjr.72.2022.04.22.15.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:34:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rtT22V0c; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 279FF25C640; Fri, 22 Apr 2022 13:22:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379991AbiDTPKI (ORCPT + 99 others); Wed, 20 Apr 2022 11:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236171AbiDTPKF (ORCPT ); Wed, 20 Apr 2022 11:10:05 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7CAB3B3C2 for ; Wed, 20 Apr 2022 08:07:18 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id s18so4270567ejr.0 for ; Wed, 20 Apr 2022 08:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j9v+bg8k7RA4LH8F4uiECLoS6Or0HyKFR68rUp70rg0=; b=rtT22V0cDoanqCuujkQpoaT0yhDYBLgiimNx0juuhBoRiMut7z917HHz6d+MKEQXHl z00kp8IR8E9kM/wmiadEhXBh35eohO+nALg9MtNBbX3HRz9qbrsAKR2FfFnYNFbiuINx KUMazrAPQy+TX/Y3dxm0nldDr0XuqiFu+J56Q/vyCTj3enXrf8kxa0do/tseSM6zYayQ fGeGM8HzlATsqcUy+LO9uJa/WwSLbuSh1qk1Pi4Mpc5SAFi4BbKy02oKwjV2kKzWEw7O gHdHdzmf6k7qXvTzviJ4yauLltYgHDrYcBte05jroztpm+do6DCy5h/YSsRKWLNjlMmf xfgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j9v+bg8k7RA4LH8F4uiECLoS6Or0HyKFR68rUp70rg0=; b=vqBSPP3EGJkg3RIv5Qj6z0kU3NvsXDSvxlAFYnVJN+kudF4L9CTPYZgi7gYKZUthnb kLduywMz3do4ZL0H9y+0+F1fTFrMMC03cx94HItDKiakceDjcVeNcim53CiEOUhHjTIR kl3E3aNSYOMRaCgRVE3WlGRu779k5yCvv4wJgm7Mb3N33fFjb+qWf2kvcteguXz7aC3d ueC6RzzXxb6f95RjQLXlm9lRnQbqd+vbVfh4qVKRL8Ovp80SjskikGpvXmQ+zlTCF96o v1MWeceVlSho/9TOaNjTrqqEcOJGCDBsB7yJfigkpL0SjrvpmA984N96iQZcjbbJ89b7 G0Dw== X-Gm-Message-State: AOAM532FLFBm8eroI2pwAO+7J0OMsPLQHeq8p7RQK5GfJDpLVSR5JQhf 8IVqnbWdSZHAtcPS48qsV7rzRA16rUfmsPu0 X-Received: by 2002:a17:907:7f24:b0:6e8:b5a9:3434 with SMTP id qf36-20020a1709077f2400b006e8b5a93434mr18524193ejc.254.1650467237366; Wed, 20 Apr 2022 08:07:17 -0700 (PDT) Received: from localhost.localdomain (hst-208-209.medicom.bg. [84.238.208.209]) by smtp.gmail.com with ESMTPSA id zk19-20020a17090733d300b006f00e918483sm415262ejb.84.2022.04.20.08.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 08:07:15 -0700 (PDT) From: Stanimir Varbanov 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 Subject: [PATCH v6 0/2] Introduce Intra-refresh type control Date: Wed, 20 Apr 2022 18:07:02 +0300 Message-Id: <20220420150704.144000-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 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. Change since v3: Addressed comments from Hans in v4l2 patch. Enabled the support for cyclic intra refresh in venus driver. Change since v4: fixed typos in v4l2 patch. fix mask value in venus driver patch (Hans). Change since v5: change in patch subject mode -> type in 2/2 regards, Stan Dikshita Agarwal (2): media: v4l2-ctrls: Add intra-refresh type control venus: venc: Add support for intra-refresh type .../media/v4l/ext-ctrls-codec.rst | 22 +++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/venc.c | 6 ++++- .../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, 50 insertions(+), 1 deletion(-) -- 2.25.1