{"id":10632,"url":"https://patchwork.libcamera.org/api/patches/10632/?format=json","web_url":"https://patchwork.libcamera.org/patch/10632/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20201210133426.206679-1-naush@raspberrypi.com>","date":"2020-12-10T13:34:24","name":"[libcamera-devel,v5,1/3] libcamera: controls: Add frame duration control","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"a552974d81253ecfdff80f0e4798e9a25bbc8943","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/10632/mbox/","series":[{"id":1521,"url":"https://patchwork.libcamera.org/api/series/1521/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1521","date":"2020-12-10T13:34:24","name":"[libcamera-devel,v5,1/3] libcamera: controls: Add frame duration control","version":5,"mbox":"https://patchwork.libcamera.org/series/1521/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/10632/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/10632/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 6C09EBD80A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 10 Dec 2020 13:34:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D93D267F73;\n\tThu, 10 Dec 2020 14:34:33 +0100 (CET)","from mail-wm1-x342.google.com (mail-wm1-x342.google.com\n\t[IPv6:2a00:1450:4864:20::342])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E1EEA60323\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 10 Dec 2020 14:34:31 +0100 (CET)","by mail-wm1-x342.google.com with SMTP id g185so5328823wmf.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 10 Dec 2020 05:34:31 -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\tc129sm9395467wma.31.2020.12.10.05.34.29\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 10 Dec 2020 05:34:30 -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=\"NxysY8v8\"; 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:mime-version\n\t:content-transfer-encoding;\n\tbh=0XmahIui07uad1w2cKJmJV42yI1wNEaPc/ltP541NpA=;\n\tb=NxysY8v8IYb5YOELk5ixk95DlUKzdJ26mAW8hiLJ1kpH3SnjrXUenJbjc+7RZt1NoG\n\tj2K2VPPti3+Of4AHhdlFSBHEOA/c+goghGW/5fj0HaT700X2TGCNrSRxAL27kLoKBz25\n\toBtDAj4nuXKsmUreCh6IIUe8nR3ciiHMkgtqt9ftvdP5tPEu4Ry6MELEiThjwVgQDBC2\n\tndueRQMuFzn8kAW+g1v2/utSERIohehgOghUSwPuKLIWTfVaZeKC27fTRD2xrKGvCGbq\n\tC9D2/AsC1V1HOTrcoCKzXw4qqTUEUPfr4DBBzfTSbvjpDKGeItziLEoyMC8jW7tR4j+0\n\tsz4g==","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:mime-version\n\t:content-transfer-encoding;\n\tbh=0XmahIui07uad1w2cKJmJV42yI1wNEaPc/ltP541NpA=;\n\tb=RYvp2gPk7RZWGALVD7cQT+7K6UWLpdHJ/SYuVkG24Bmp6BlUPaeeoBQozEYmXoq0qs\n\tvK5ixAJ4iPKLg6zl4J/BQKmvYwJC0Zuf0sP+M8jVWoUVDqdD6/LZ/+LwCqyyGqmFb1KA\n\tm+w0b8/xV33VUDItnYo8HaxhlI7i/A/BhJU/jJ/Dj7LnDLw5pSF0GLIZHWT0k4EmhrIP\n\tCLpfJOCsphm9UtkacKYxTPhhDEv8a19YLNTzf+ilApgYmRJBYSgS4BguxuwTa4wuFW5D\n\tPWc5y3GRE4/42AqaiBFmfqGofltaW6CpmuFySgyI0zONQ9f6XnWLTXTgLJR3tXqbhI8e\n\tH9Vw==","X-Gm-Message-State":"AOAM530KQaWE1Eft3QVm5tKSbf9XwdcnXoXyv2pPNkENw1s1bsYQR4oD\n\tMKYHXPBq/swfgmYVamWfCDv8Baxgz2UdHQ==","X-Google-Smtp-Source":"ABdhPJyYPqOWpsbTA7SpcXSgDbtfZVRL2oTsce+gzKqCkMKPnprhTyyZYlvHLjyC3vB/eaJIwksKvw==","X-Received":"by 2002:a1c:4e0a:: with SMTP id g10mr8264882wmh.51.1607607271126;\n\tThu, 10 Dec 2020 05:34:31 -0800 (PST)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 10 Dec 2020 13:34:24 +0000","Message-Id":"<20201210133426.206679-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v5 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>\nReviewed-by: David Plowman <david.plowman@raspberrypi.com>\nTested-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)","diff":"diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 6d6f0fee..7f1f8624 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -554,4 +554,19 @@ 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+        A fixed frame duration is achieved by setting the minimum and maximum\n+        values to be the same. Note that the sensor may not always be able to\n+        provide the requested frame duration limits depending on its mode\n+        configuration.\n+\n+        \\sa ExposureTime\n+      size: [2]\n ...\n","prefixes":["libcamera-devel","v5","1/3"]}