From patchwork Wed Dec 9 10:26:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10625 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 96261BD80A for ; Wed, 9 Dec 2020 10:26:40 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4DD7E67F08; Wed, 9 Dec 2020 11:26:40 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="AhStix6Q"; dkim-atps=neutral Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 93298635D3 for ; Wed, 9 Dec 2020 11:26:38 +0100 (CET) Received: by mail-wr1-x441.google.com with SMTP id r14so1149945wrn.0 for ; Wed, 09 Dec 2020 02:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jG72yOz7YpEktAqM6mP6CVbcv2wd3x8o1jWKX33swsA=; b=AhStix6QEzTVBsSXix8fPL7rpZ+bjAXcJWi/fxcqPSL9bW67xkyRCmW50kpZEDLTS2 g/686Y/dkxfEat6xo0qSqnlVfxXX+zR0+31O3vp1Eqw8OUFgfXdaZSNkB/WMtLwhj6aZ bvCA9o2Gz5rJ8kfI9K+7QEdZjh9BPCOcNFOTsNrzA1gTLgP1E+JyrmkQ4M3jJEPG4NPx 2OAhUi+GRXRuB2g0PRsMOgj4VPFIZcngvvg3HDA4qFRNf+6XJzd7cilWoImUQsVCZ909 RWmZOnaqHtdoOifg9Kq4KmOHQaZoObrBs/dFxfN4Sjs+QOh3MR6nivKtA84/bC99BB8M KWqQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jG72yOz7YpEktAqM6mP6CVbcv2wd3x8o1jWKX33swsA=; b=bqzZILz8eLGdMIqBIYZhcYswkvPfzyzcczpx4GsZGjaEUMh+K58LgOYKAFuOWI40be y/eYj4e2oIFjjBMt74xP3ZUz9TnBcqCix8QhQbhIwTNcIoCelysuSBRxg3FJZGzZllj1 gSH4n22I+Ys6tX0iy1zIu0rsxY5nV5uV1qB0aaZH83LJElC03DG8dAP0nQ+4t1UYHCNg tXtFG/CTdypJVMDvCVXaB8x3m2eid3SlXUrpjpuDKiOU24chiq0yjLcxhkt+k2XScMLQ W7u+NVlIDLzWZVtryZHa7S1FQaYyVMOpOZeSin3W03bOIYRQP+o8QeqyfT7UDdBJ7uqr yrdQ== X-Gm-Message-State: AOAM532pRUmSO0kVGOVRmwWvMJb13EYcX+MP8bVDIPtbtVZ046V+W7Le 22uteUk6ZeO1Ku9M2xiGQ0EbgZM6ENOB5g== X-Google-Smtp-Source: ABdhPJw22GnXd20NynHarIlQ50FGPu3kX1sprJnBPERM2cGx1LI90kFc/B7AeOmKkKfvfa3KJh/4Gw== X-Received: by 2002:adf:9167:: with SMTP id j94mr1879274wrj.249.1607509598069; Wed, 09 Dec 2020 02:26:38 -0800 (PST) Received: from naushir-VirtualBox.pitowers.org ([2a00:1098:3142:14:a00:27ff:fe4d:f6a2]) by smtp.gmail.com with ESMTPSA id q73sm2636035wme.44.2020.12.09.02.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 02:26:37 -0800 (PST) From: Naushir Patuck 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 duration control 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a float array control (controls::FrameDurations) to specify the minimum and maximum (in that order) frame duration to be used by the camera sensor. Signed-off-by: Naushir Patuck Reviewed-by: David Plowman Tested-by: David Plowman --- src/libcamera/control_ids.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml index 6d6f0fee..cd44a620 100644 --- a/src/libcamera/control_ids.yaml +++ b/src/libcamera/control_ids.yaml @@ -554,4 +554,17 @@ controls: detection, additional format conversions etc) count as an additional pipeline stage. + - FrameDurations: + type: float + description: | + Specifies the minimum and maximum (in that order) allowable frame + duration, in micro-seconds, for the sensor to use. This could also limit + the largest exposure times the sensor can use. For example, if a maximum + frame duration of 33ms is requested (corresponding to 30 frames per + second), the sensor will not be able raise the exposure time above 33ms. + Note that the sensor may not always be able to provide the requested + frame duration limits depending on its mode configuration. + + \sa ExposureTime + size: [2] ...