From patchwork Thu Sep 15 11:47:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rishikesh Donadkar X-Patchwork-Id: 17368 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E538FC3272 for ; Thu, 15 Sep 2022 11:47:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CFF6861FAB; Thu, 15 Sep 2022 13:47:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1663242473; bh=iZE/P0c6UleCuMENyQhjEAuFIribAvhOlbCFyKK7fDU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=zQgYQV/p0lQVOhQsQ36qYX1upU/QrqPHG0EGSpYH7C36ySVuJ4Po3poDbOIczuAlj aNWHiV5D3qfDpXX98DKovoljd/4qSaKkiF3vciNKoQP6krO6Ms3mebdHY1xbttTBPS Isn8jzyUQhB/cOS7fbfHk7b4comdbF0QubNxonnY6pmRfOkVfZ8SVHCinmaT7azuBl VGeXC41nMxemHkdL0ZD9keNQt39cI1XiEmrQdoRutve13P1soQCrNQ6r3sIGRAIb/e kxbaFRo+VLjWFmzsE6LKDXD71ki5GnXw0+sKShtjufmeVgf9A2efu1GtK/yuJbPXAp zXyiBoGOqDqKA== Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3B3756099D for ; Thu, 15 Sep 2022 13:47:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="D+Z2HWSB"; dkim-atps=neutral Received: by mail-pf1-x434.google.com with SMTP id u132so17785552pfc.6 for ; Thu, 15 Sep 2022 04:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=ges2/uDoCDkpyjbgQQhJ4bObTcglwj99fEstRvuOVb0=; b=D+Z2HWSBo9zqql2vZQDDsb53TIItMrSOCInwky1zOHlWxoNbCqvXq+7Y6mvj5IRTqO rWTvvbNcTKOuHJ5SMVCtqWtV5YaL4GLxztWPlEMver4MkAX+RWPJl9zuHvax8zbdqm1D aG1L1UXGyeDmiT+KgB3TooAcs+Omx622ZDR7osVcivAA0SPylW+tFMTWRUPMgokUunyS /L0ey6uzTOquwPFDTIXf9Ow0XjhH4MEvoOrpioYdsVDIpAsSmUerrI4Y4oO1h/nz7sVZ V8wJ69uU/Kkus8C3VuJDd7wg+ipmJqPUu8/oBrQAbyJtEDIDWIpDa9Ltv9jmnd7Vu418 4Gtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=ges2/uDoCDkpyjbgQQhJ4bObTcglwj99fEstRvuOVb0=; b=k/c3vuQNxCprrXp4MmH5Wsk3IAQ5nqJf+bkUNFo2cCx9ZzqE3grh/4UzfOaQ0XUHWG LAqVDNIJc5HS8k6Ouy0suGJM1EMRwWMC93mBsTB4Zhup6iIdnb5KbDInM9Ra0d+MvODT ux73KwE8eND8bMHB4y2jYIoJKiZLuKcKEW1Bb5519pkqHNpjj4TJWEeTDPPdHJwKwFTO uieF+TXvRliI771crAXTAZlXFoVrPDzSz7y6xAZyqZi1urrpb0pOIKcsVYIZ4BaBfW/h 7uj69SazZ/voJFKWjpFqVPhsD5mn/N/5iQ0xf4+PruTQKT5QWHdM1J5QPY5ReFbcMgZy FZdQ== X-Gm-Message-State: ACrzQf1dwRoxyZb7FzFrFL9EoBDDgVbHIUrrbLVi4vPh6NQWkxs3f/Cm 4/6LQXzAHwojUYH/lhu+aEUkEZcT/f393A== X-Google-Smtp-Source: AMsMyM4DNJtI1bG4dgFcA9ywSQfgAgm+BUebwRyBzqT6t/sMzBN4WJl7ryoppgxLRdRhzUOuQvpfwg== X-Received: by 2002:a05:6a02:282:b0:439:7a97:ccd with SMTP id bk2-20020a056a02028200b004397a970ccdmr4722471pgb.297.1663242468187; Thu, 15 Sep 2022 04:47:48 -0700 (PDT) Received: from localhost.localdomain ([49.36.99.120]) by smtp.googlemail.com with ESMTPSA id x15-20020a170902a38f00b001785dddc703sm3718994pla.120.2022.09.15.04.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 04:47:47 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Thu, 15 Sep 2022 17:17:32 +0530 Message-Id: <20220915114734.115572-1-rishikeshdonadkar@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/2] Provide framerate support for libcamerasrc X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Rishikesh Donadkar via libcamera-devel From: Rishikesh Donadkar Reply-To: Rishikesh Donadkar Cc: nicolas.dufresne@collabora.com, vedantparanjape160201@gmail.com Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series aims to add framerate support to libcamerasrc. With this libcamerasrc can negotiate framerate and stream with the requested framerate, provided that the framerate requested is in bounds of the limits supported by the camera. Rishikesh Donadkar (2): gstreamer: Configure the camera before exposing the caps. gstreamer: Provide framerate support for libcamerasrc. src/gstreamer/gstlibcamera-utils.cpp | 70 ++++++++++++++++++++++++++++ src/gstreamer/gstlibcamera-utils.h | 6 +++ src/gstreamer/gstlibcamerasrc.cpp | 35 ++++++++++---- 3 files changed, 101 insertions(+), 10 deletions(-)