Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3733138ybt; Sun, 5 Jul 2020 05:12:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLLz3jv99ls58jdK99Fnf5CDJt8lRnCIRX612hw27/TCWnJ9Fysm0uZ+w463p6ah5fEICn X-Received: by 2002:a17:906:5203:: with SMTP id g3mr38404530ejm.58.1593951153054; Sun, 05 Jul 2020 05:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593951153; cv=none; d=google.com; s=arc-20160816; b=bDMWAY1HRazi0Llk1lBbalnBzioBhaVtp6k1WgqYXXAeS1y/v3/0rPOxO5TrTwYw9d CGxB19CcW0ULexs0PBz4yZ/V4Vllpf4fnZRw06Y9gtOIRZ8x5dVRoqgKnTXGrMoSI2wM ugdBvw4GaHAxiTrkRNO4DCGi0AKqBZ5bVFqFzw30ha6CWaIXCCqBQtL10z+zuEt/Mr6+ DuhmX3p6xuRh6FFrEs4rb693yDFMqYD9H6YODPZOP5WZY7kS54AjDhPNICp2NK4Dwqt4 /tB27zW9TgtQUxEXPxnDx/6hC4AE/wiDnDR1nba315LGwn87wisQYq60LyCWanTJyFS/ dRzg== 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=sT9bQ3hWT0F/RJ2a3me0XdouUZl3bCqsCiFMOoJEc1HPBQ0N4yUj8pOw/SSeR/LASr cdpPZGxCF2xDl+SGBHHGTfftOQbqjhsXGkKNzOGQvK59ccgxhsJe7gIl9HaKDYYcs4cK lG6UDNQUNOTGHmG2QboEjF4esbEs9v9Nq2yZ01aDPrsu/F6W0nA+uMsJU1Xjy8fkel0M yjT1uyv6zwsdcffENp/YxdzP49cWoDsbt6jd2WuR85QrOrivBwfz1e49jKix95MLPeH6 2miesuMZBrwSQq7ZcVxybaVjrx9SZbGFXwqNv7akGsip3AVxdiGQ/EdLjDcZP+x+f8va 8GmA== 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-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si10954671eji.192.2020.07.05.05.12.08; Sun, 05 Jul 2020 05:12:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726898AbgGEMMA (ORCPT + 99 others); Sun, 5 Jul 2020 08:12:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgGEML7 (ORCPT ); Sun, 5 Jul 2020 08:11:59 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F2A5C061794 for ; Sun, 5 Jul 2020 05:11:59 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id o18so35109730eje.7 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=bSzu2hEkzJeSaAuWNA5rFe40s7ys4Pft+oWnjjMLZzdAse2vY57CmuY4CH8h4b8G70 H55dyRI8pTJj+DgcgF++HmHTLF2+VbHHL/xy5XyBwG+FBoWw4Wd5xUWYYy5F5MzNKHv8 OUzjIPLXOUuAsOig5ZODK5sADk2jEMi7S0fmd6aY4fbE2Yzl4jJZb7tChW2EYuGNhnS6 lcKut+HOF0Plb43mdhoQGkWu7m9SXGXvRgCRscCgdTFv6ZXPTocdjcYzSVv2d9lBiVXY T6IgJPkmUaWoGHBmpkZUywVFUyDeEzsTvzHxj9qzVIqEDmy4cGtYIZUKE6NiNEMX6L/D AurA== X-Gm-Message-State: AOAM531IetdHJ084jZZaReyJCzXpPY7DmIsDRZMVaXDsbAsBpDM/2w9/ pbXvIoyLo6A/t90hcyJ3dc/PiKFNUJpEjA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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