From patchwork Wed May 13 09:11:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 3785 Return-Path: Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0F4A1603DE for ; Wed, 13 May 2020 11:12:42 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="RBxIQZeq"; dkim-atps=neutral Received: by mail-wm1-x342.google.com with SMTP id m24so16132897wml.2 for ; Wed, 13 May 2020 02:12:42 -0700 (PDT) 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; bh=wxsjKjlCPtzzs1hFmz66P/oj6BqY9Ix+krx70nAjceU=; b=RBxIQZeq3TwFN5qe6gSj3A6LmiB4qrU/di8f7393Low51yZm6LEK9DNOpmHfXyBONx NLr+QQfbmVQlSguIUfKNnMbMWaaqe95YfT5PyQo/494tJoaFNmQ3PPvnD5cGzHWM3zIU sRwSwa1t1yNiDXrKFTEQvhDjXys5pQIAlBifw76/Heb/1aJWjC7iV7JexYYtiagpeDpC Hec7DO22eL/SFzFHvr3h9dHwLhh9lD8QOa3hhwr80aNHWp1vM/0K5/8nE7ALe2hygIpo 6mDotYr5jR0EgIdOwarA1Cu5xaT77sz7Wq95Ks3iBOzhEYYsCydM62fvvrGdvH/cNN6L Qhrw== 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; bh=wxsjKjlCPtzzs1hFmz66P/oj6BqY9Ix+krx70nAjceU=; b=dpnQ2OC16DjNFz7re4rQtnSsBTDwPKYLVKAxJLELBV8WXlrBsHL3pFwM4tq4TtpDo3 ClCXcNavM8em4qoTMSrBfiQ6UQvZl34X6vcV5/aRZKHV8sPZMeJe0j3RmKw0CTn5+Km7 lV5VGFKx//o1QPi6lCEszlniASs189zG3M4zRaLgVyXUjyq+YZA3w5mruFKN2ncJ2Tm1 t9p3cLuUKrokJO8OOk1VGhp9goUOuD+MtBl2CN0tyTJ/fKgSNABnoGQyDhmppddnRIfZ /Q5jB2/LK86LTDBAb9b8LQ+QjtekkY4LIcesvZEX8EVf7/Ky5orXt4zVhDOdjKZ4Negc i4QA== X-Gm-Message-State: AGi0PuaKeTY9BG3lQbh9xf0IyxSFbOOeKteZzAGj4LlwrDs5hsjt234c xsjXcG7M0c+kMT6DOrK9yCD0CBBxXAytmw== X-Google-Smtp-Source: APiQypI2S0nrOt3WHCaFGCSrFcXM86NBZdKhxMIC0xdr0Fe9E8KpXsDt2IwzVv9g3w/WE+GW8GmpmA== X-Received: by 2002:a05:600c:218e:: with SMTP id e14mr44109366wme.140.1589361161598; Wed, 13 May 2020 02:12:41 -0700 (PDT) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id n128sm8500184wmb.47.2020.05.13.02.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 02:12:41 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 13 May 2020 10:11:18 +0100 Message-Id: <20200513091120.1653-2-naush@raspberrypi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513091120.1653-1-naush@raspberrypi.com> References: <20200513091120.1653-1-naush@raspberrypi.com> Subject: [libcamera-devel] [PATCH v2 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: , X-List-Received-Date: Wed, 13 May 2020 09:12:42 -0000 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 --- src/libcamera/control_ids.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml index 77ebc3f9..42694fc7 100644 --- a/src/libcamera/control_ids.yaml +++ b/src/libcamera/control_ids.yaml @@ -239,4 +239,18 @@ controls: pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels control can only be returned in metadata. size: [4] + + - 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] ...