From patchwork Mon Sep 12 09:56:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rishikesh Donadkar X-Patchwork-Id: 17361 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 89E59C3272 for ; Mon, 12 Sep 2022 09:57:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 07D4761F8C; Mon, 12 Sep 2022 11:57:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1662976647; bh=sJEOB4zdUZquqFxr595E+PVH2Z0ua1TMtgeNpJfFDNg=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=j+Y462lhgnuICDLJIM/WiX/48zGdOvP2MNSMvhwnVAG7gIWme/z6PowJRaACKqOHk z9Hr/oBm7dSU9kY4ppg30sVwk0sbGJaBUa4p/35PwXRvB0gf78PkKLz21PAeTs4UQ4 PZA1N91Gske6K4wTAtkrjLZhcsDGTbSagtNAPaNjExnhlj7zLYl3MbCz37GmDyKM6z 1zhbAOnCl6owUquXsRYo9U1PXauGG6R8m+hFTsvOZqixnYnpI2VmV/ESKa1jr91MIQ v1Xr/i0VMXDVO3lUXFhWGLMOODX4x0epcNkdlt24bGm1x3Oxg6Lzglg5czc7BsaIQt 0lPgV2RNTs3bg== Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CD0736099F for ; Mon, 12 Sep 2022 11:57:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qHK21M/f"; dkim-atps=neutral Received: by mail-pg1-x52f.google.com with SMTP id t70so7780474pgc.5 for ; Mon, 12 Sep 2022 02:57:25 -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=ONP9NOIE1bMEnaZkog4uJCjMBZcGDH6Aj4ck/t9NtDA=; b=qHK21M/fjowi2kavOoAS8u0goBiNZg/qZIYEZYRRvrhvZq2ChMR5ljoxQRFIC6YyR+ tPp8VJXKcUqDs1+4yrMvDjUU2zRw1TXcn59zcJXzihKv+s+vXjPwH/z6m4XF+3jhdOwI i1+t4XlMCcHuLIndtOvbU1ghOg2OYhoo3TFKIgyS+YEOmpsNo5uuOiig2s3t+3XAxvJi g7dyASnZBlk9MU8PU+Pp+DDEOlKIlMrRxgUzagGJIfzhAZUBoJVNeIpzKoEPyPY0RJcB ZXVGOioD5UFu11k+7CLJE/zijCkp8r7/KGLA6+zgGB7dHLXPOzwm75F/J+Q+U2ankj/l vHfw== 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=ONP9NOIE1bMEnaZkog4uJCjMBZcGDH6Aj4ck/t9NtDA=; b=g2hQ/QapwMD+zhQAQzcO+XJLzKgW9UG9uBk8QHEzcgR8YgjmAdDUA86CsZy1TR4cge q0JlAgEVq7k2PZ7TvoRR60EOvt0cI1wlksdy3p1I1tLCf6Vify9rHRrUGe6I1YRyAhOi 9lDfNHjcDlLPlva8qRcG74SBC5YL4H2T1cDhLvt42pJ6gwOj5lR6STF1SHCQjQtSer+/ CGhg9ztUAtmFhseAR0l34RKiuvdp5KuHutRr6SSY8k47eyhwG8Ay16D1DrRLOFUxtZzu SvZHHAlF06NWAecCVtobGXL87iFOPX3WPfHoNrJpKIWLff2tSJIiHp39/FNkpxXjVHx2 Zi5g== X-Gm-Message-State: ACgBeo2kCZz+umOQ1TT/zI7khfXa1HZfU+1JQLZu113AG3SFN2sR91wI OrOp6xKZ2UGy/79NiG0kz6O5B/fYy5esCg== X-Google-Smtp-Source: AA6agR4p4Y7gxt7GFL9bG8UoYlxYlRw4zvl7RHrM3Qa07HdFgcjqTZAYJZ6TbiAbYnwYm13N5xVrsg== X-Received: by 2002:a63:1a46:0:b0:42c:414a:95ee with SMTP id a6-20020a631a46000000b0042c414a95eemr22275137pgm.386.1662976643984; Mon, 12 Sep 2022 02:57:23 -0700 (PDT) Received: from localhost.localdomain ([49.36.99.4]) by smtp.googlemail.com with ESMTPSA id t14-20020aa7946e000000b00540dbae6272sm4959495pfq.213.2022.09.12.02.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 02:57:23 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 12 Sep 2022 15:26:54 +0530 Message-Id: <20220912095656.19013-1-rishikeshdonadkar@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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 | 69 ++++++++++++++++++++++++++++ src/gstreamer/gstlibcamera-utils.h | 7 +++ src/gstreamer/gstlibcamerasrc.cpp | 34 ++++++++++---- 3 files changed, 100 insertions(+), 10 deletions(-)