{"id":10625,"url":"https://patchwork.libcamera.org/api/1.1/patches/10625/?format=json","web_url":"https://patchwork.libcamera.org/patch/10625/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20201209102630.5562-2-naush@raspberrypi.com>","date":"2020-12-09T10:26:28","name":"[libcamera-devel,v4,1/3] libcamera: controls: Add frame duration control","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"95c35ce1d512dc2987a61b14616d18cd16b55a27","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/10625/mbox/","series":[{"id":1519,"url":"https://patchwork.libcamera.org/api/1.1/series/1519/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1519","date":"2020-12-09T10:26:27","name":"raspberrypi: FPS control","version":4,"mbox":"https://patchwork.libcamera.org/series/1519/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/10625/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/10625/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 96261BD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  9 Dec 2020 10:26:40 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4DD7E67F08;\n\tWed,  9 Dec 2020 11:26:40 +0100 (CET)","from mail-wr1-x441.google.com (mail-wr1-x441.google.com\n\t[IPv6:2a00:1450:4864:20::441])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 93298635D3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  9 Dec 2020 11:26:38 +0100 (CET)","by mail-wr1-x441.google.com with SMTP id r14so1149945wrn.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 09 Dec 2020 02:26:38 -0800 (PST)","from naushir-VirtualBox.pitowers.org\n\t([2a00:1098:3142:14:a00:27ff:fe4d:f6a2])\n\tby smtp.gmail.com with ESMTPSA id\n\tq73sm2636035wme.44.2020.12.09.02.26.37\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 09 Dec 2020 02:26:37 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"AhStix6Q\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=jG72yOz7YpEktAqM6mP6CVbcv2wd3x8o1jWKX33swsA=;\n\tb=AhStix6QEzTVBsSXix8fPL7rpZ+bjAXcJWi/fxcqPSL9bW67xkyRCmW50kpZEDLTS2\n\tg/686Y/dkxfEat6xo0qSqnlVfxXX+zR0+31O3vp1Eqw8OUFgfXdaZSNkB/WMtLwhj6aZ\n\tbvCA9o2Gz5rJ8kfI9K+7QEdZjh9BPCOcNFOTsNrzA1gTLgP1E+JyrmkQ4M3jJEPG4NPx\n\t2OAhUi+GRXRuB2g0PRsMOgj4VPFIZcngvvg3HDA4qFRNf+6XJzd7cilWoImUQsVCZ909\n\tRWmZOnaqHtdoOifg9Kq4KmOHQaZoObrBs/dFxfN4Sjs+QOh3MR6nivKtA84/bC99BB8M\n\tKWqQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=jG72yOz7YpEktAqM6mP6CVbcv2wd3x8o1jWKX33swsA=;\n\tb=bqzZILz8eLGdMIqBIYZhcYswkvPfzyzcczpx4GsZGjaEUMh+K58LgOYKAFuOWI40be\n\ty/eYj4e2oIFjjBMt74xP3ZUz9TnBcqCix8QhQbhIwTNcIoCelysuSBRxg3FJZGzZllj1\n\tgSH4n22I+Ys6tX0iy1zIu0rsxY5nV5uV1qB0aaZH83LJElC03DG8dAP0nQ+4t1UYHCNg\n\ttXtFG/CTdypJVMDvCVXaB8x3m2eid3SlXUrpjpuDKiOU24chiq0yjLcxhkt+k2XScMLQ\n\tW7u+NVlIDLzWZVtryZHa7S1FQaYyVMOpOZeSin3W03bOIYRQP+o8QeqyfT7UDdBJ7uqr\n\tyrdQ==","X-Gm-Message-State":"AOAM532pRUmSO0kVGOVRmwWvMJb13EYcX+MP8bVDIPtbtVZ046V+W7Le\n\t22uteUk6ZeO1Ku9M2xiGQ0EbgZM6ENOB5g==","X-Google-Smtp-Source":"ABdhPJw22GnXd20NynHarIlQ50FGPu3kX1sprJnBPERM2cGx1LI90kFc/B7AeOmKkKfvfa3KJh/4Gw==","X-Received":"by 2002:adf:9167:: with SMTP id\n\tj94mr1879274wrj.249.1607509598069; \n\tWed, 09 Dec 2020 02:26:38 -0800 (PST)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  9 Dec 2020 10:26:28 +0000","Message-Id":"<20201209102630.5562-2-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20201209102630.5562-1-naush@raspberrypi.com>","References":"<20201209102630.5562-1-naush@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v4 1/3] libcamera: controls: Add frame\n\tduration control","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add a float array control (controls::FrameDurations) to specify the\nminimum and maximum (in that order) frame duration to be used by the\ncamera sensor.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 13 +++++++++++++\n 1 file changed, 13 insertions(+)","diff":"diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 6d6f0fee..cd44a620 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -554,4 +554,17 @@ controls:\n         detection, additional format conversions etc) count as an additional\n         pipeline stage.\n \n+  - FrameDurations:\n+      type: float\n+      description: |\n+        Specifies the minimum and maximum (in that order) allowable frame\n+        duration, in micro-seconds, for the sensor to use. This could also limit\n+        the largest exposure times the sensor can use. For example, if a maximum\n+        frame duration of 33ms is requested (corresponding to 30 frames per\n+        second), the sensor will not be able raise the exposure time above 33ms.\n+        Note that the sensor may not always be able to provide the requested\n+        frame duration limits depending on its mode configuration.\n+\n+        \\sa ExposureTime\n+      size: [2]\n ...\n","prefixes":["libcamera-devel","v4","1/3"]}