From patchwork Sun Jul 5 12:11:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 11644355 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93D1713BD for ; Sun, 5 Jul 2020 12:13:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DC2B20724 for ; Sun, 5 Jul 2020 12:13:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BGgrVn3T"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RwtX5+90" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6DC2B20724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=XgKD3FZMhk9+3VkrZM68y1+poT9n2N0VTMiwZuGWEkY=; b=BGgrVn3TtynUwldHpEymJsmlDk YDT6Fea9mKBWjQXMujFWXrsWHFAkJSkzmvB+p35n2UMgOPSsPjcos1U9JeYql5zgryC2mn31OP+8Z fzvN/r7LYBHiw8fhNnKOZK++W+86GJFf8i3CkQDub0UuFK47bffo8yWBaxBQYksdGH86s3NakJL+V aifs9ggTb3QlD8gCIfzTc5/KQsnv8wu6DvQgDSwqtKD2J6AbqbsTfp+aIPB/BS/qpiQy4++OpO8f7 Zo5qVTpmRqAbPL+br/OmxOOoTDWU4KCoKUfCbrf8s5Vs/66LXG5HCaF2p+X9luI/BZ95NBgur4QLH yTJX+A6w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1js3V5-0006jn-VR; Sun, 05 Jul 2020 12:12:04 +0000 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1js3V2-0006j1-SC for linux-arm-kernel@lists.infradead.org; Sun, 05 Jul 2020 12:12:02 +0000 Received: by mail-ej1-x642.google.com with SMTP id w16so39536906ejj.5 for ; Sun, 05 Jul 2020 05:11:58 -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; bh=isrInYoUXrbFffPc47IJyxGU9lKhBtrchnU6KHdwR2M=; b=RwtX5+900ZFC8SeHyTCdRlw3uUTyMSGBW7Q7hy8nF2oeq5HqT/Y5rxC1oKlf4+LTyh NpcwaASIJldFKLJa9sGubeQpgRm9FS1bAhwyZ7E1J2wX0Vh5hzKU3etEKoH+m8MRcBy4 RUSqPUMGmFngCpVf79vVvoPXieVtbWUxevTsDyu2q4fsoIZHqE1qOofyp4FFbGsKuPW/ B7bIi3NRRI3/u8iMOd03aTqKPpn7lhD6WOj3N76552CdNKuFS/406twIt8pORcbP1Msm 9HL9fhDqLMlSD1OEcuC8rh1XeUGzCzVNXWOEYPK+C/9MGduuCXDO511fH5rs4S4W5sal +ZoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=isrInYoUXrbFffPc47IJyxGU9lKhBtrchnU6KHdwR2M=; b=o0kr6JA3uoIfzDrWq0BZA6rBfq0iesbBisZMkXqCDOizLCnFw1p5rRk4u4po6ysa/j LcRb/hsj2rXxW4TRYcUwwDXuiX+y6UL7XiMkGEemTesRE2lkNqoukHQMn5sqHxJEC2bX bmP/hKE+q9t5ed3qbGdRZTRRqqDpcb9viO94w6idzQqojF+eRGp80qmxC9d1X8vFcJnX 1Ty+sAbLmjJsBSTM71ytp5QKApoYaFLQo3YpzkxgowKJL+9NfHfW1MOvn9nPnZPHs0fr j6Krgfh6trtRroqwjvFesojEF2imj0W24CxijeGhg27iRdAgA5ttHmo9is1KyvN++/GV VGRQ== X-Gm-Message-State: AOAM530zJnd5PGMzbODKCm/vIxEf3nY+8enVCPoB0IjcFxT2zGKvTGKp BXVwMPNfhG3l61zMdAAvRtBjmA== X-Google-Smtp-Source: ABdhPJz7vzannraogjdgriWNq5/RhT6Q0BO5Oyk8QjUHuW2mXs/JhrqP+IIoHk9maSx2np3HDe1OxQ== X-Received: by 2002:a17:906:1747:: with SMTP id d7mr31399376eje.39.1593951117954; Sun, 05 Jul 2020 05:11:57 -0700 (PDT) Received: from localhost.localdomain (212-5-158-133.ip.btc-net.bg. [212.5.158.133]) by smtp.gmail.com with ESMTPSA id j64sm1517458edd.61.2020.07.05.05.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2020 05:11:57 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] Make Frame Skip Mode control a standard Date: Sun, 5 Jul 2020 15:11:24 +0300 Message-Id: <20200705121128.5250-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200705_081201_177517_8B374ABC X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:642 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maheshwar Ajja , Andrzej Hajda , Kamil Debski , Stanimir Varbanov , Jeongtae Park , Kyungmin Park , Hans Verkuil MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello, Suggested by Hans at [1], this patchset is promoting a standard control for frame skip mode. The original private V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE control is applicable and can be used by Venus driver too (and probably other drivers). In order to make that possible make a new V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE standard menu control (a copy of the private one). Also, to keep mfc driver backward compatible kept the private one, and mark it as depricated in docs. regards, Stan [1] https://lkml.org/lkml/2020/5/19/122 Stanimir Varbanov (4): media: v4l2-ctrl: Add frame-skip std encoder control venus: venc: Add support for frame-skip mode v4l2 control media: s5p-mfc: Use standard frame skip mode control media: docs: Depricate mfc frame skip control .../media/v4l/ext-ctrls-codec.rst | 37 +++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/venc.c | 6 ++- .../media/platform/qcom/venus/venc_ctrls.c | 12 +++++- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 6 +++ drivers/media/v4l2-core/v4l2-ctrls.c | 10 +++++ include/uapi/linux/v4l2-controls.h | 6 +++ 7 files changed, 75 insertions(+), 3 deletions(-)