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: 234826 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3932546ilg; Sun, 5 Jul 2020 05:12:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxkf8beyodd0c5Yrsb5P6zy64SuCL6ehY+lSEq3LZvj4f/KHDwz83r7UexTGkoYnbvpDPq X-Received: by 2002:a17:906:328d:: with SMTP id 13mr40241866ejw.71.1593951124712; Sun, 05 Jul 2020 05:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593951124; cv=none; d=google.com; s=arc-20160816; b=H2enLRIdYjH3Ae21E5wug6XnxiMD99BHNhKEr5/mGfwzboeo9jcyhlOSF7fohrTha3 dezJvFWHOM2EHsvjctA9Hwr7yMZxI7DvVFtjUWpDT/yzEk1igz8Bc4JH7e69nRvM2W/K 7Yw+thGnuGKPlr6m16UI+mzntab6vJy4dVNyQ2hxAFfu4M3VoF+ZwvqQo6ZE5h4iSY+8 OwqzgYhyHUL5S2SRU/bWTALoZ6GhM7Di5rg02z9oHmtSDNWGPapLqNc44PZ5Hcz0A8SW MZjQBOFuDsdPpjt+JzjLHxEkPVMXFJGcVhqnLlw+F2SJn+ppFI1a9LGeLeSI5WiJwoJ5 ecaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=isrInYoUXrbFffPc47IJyxGU9lKhBtrchnU6KHdwR2M=; b=gzZLKoA5Oqc6/FuteAxnfGl8iTDNlU54C9RB0Uohyir72DIsTMfHMScHAgyzGwLhWJ CwhXBpBXIMjZlKjmEHkTZKJdo8MxtIGotZsZ20RtgCALjEFo1RFihkhQaVFTXnxv6P/w roBlLrpKgVaNNrIWtQzBYMMMBv4rkFJefq4P+lXw+Y6TXlaooFhCHYANiXbzruKlYzG9 waGfCXuro5vOvdtcLNDGo6H49ayHkyJjBFttQhB5BwjWDpbJDnlRI4rIzeXIxjrt8Ljf OmO9oJ9eAqhidnuT6VbZQ4R21LGg8I1snPA845TBKDV+rtoRPDwvFbWqX8UVoSxbG90v Z+Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RwtX5+90; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si11037154eja.4.2020.07.05.05.12.04; Sun, 05 Jul 2020 05:12:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RwtX5+90; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726915AbgGEMMA (ORCPT + 4 others); Sun, 5 Jul 2020 08:12:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726833AbgGEMMA (ORCPT ); Sun, 5 Jul 2020 08:12:00 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0ED3C08C5DF for ; Sun, 5 Jul 2020 05:11:59 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id p20so39491643ejd.13 for ; Sun, 05 Jul 2020 05:11:59 -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=dQJg8kjmbbMLV2A49Eh4Y77957hPCrVP5FjaCeKGkeyB8OIiBHXgOr055m7sLgUhj/ eCJ2TdHJKieGaHaC9/iyg7WE1k/8QY+WiSPnwus3XPmre5S52QwlvT8VEbsm89KGIeuo lmvGojuYTf4KdRBYdIGZ4LPUrAm/6z9mdJSong57lNPgbqUHP4wH422OsnsCGcOakjLJ NeBbS+eDyJdAOI2M7V5OfHrzR9J/MWACtCZIPp7KSZE085Ff1fJeVn3Hc7ZVqZfLUZZd FtC+ZlIsSGH2TaG+BVRXCp/PYK5BUBG/386IuQutOKc8CaD+oUC1t6DLAE4r5GlzspB+ vgbg== X-Gm-Message-State: AOAM532v2RtVf3FByDU7tK8/iL8wqawe7NbLL2GwptLPbASeGlYX7YCC MO3rYQAndVDQ2F1WjayRGlwdm4ZOtq+few== 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 Cc: Kyungmin Park , Kamil Debski , Jeongtae Park , Andrzej Hajda , Hans Verkuil , Maheshwar Ajja , Stanimir Varbanov 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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(-) -- 2.17.1