From patchwork Mon Mar 8 17:07:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11516 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 ED33EBD1F1 for ; Mon, 8 Mar 2021 17:07:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1B44168AAD; Mon, 8 Mar 2021 18:07:09 +0100 (CET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6D7A368A9C for ; Mon, 8 Mar 2021 18:07:07 +0100 (CET) Received: from uno.homenet.telecomitalia.it (host-79-22-58-175.retail.telecomitalia.it [79.22.58.175]) (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id CFC42200002 for ; Mon, 8 Mar 2021 17:07:06 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 8 Mar 2021 18:07:25 +0100 Message-Id: <20210308170728.2212649-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] android: Fix capture templates for video recording 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" This small series fixes two CTS tests that checks for the correctness of the capture templates generated by CameraDevice::constructDefaultRequestSettings(): android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRecordingTemplate android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceManualTemplate The video capture templates are equal to the preview templates but require a fixed FPS range, while the capture template for the manual capture intent is currently not supported (and not mandatory). Thanks j Jacopo Mondi (3): android: camera_device: Refuse unsupported templates android: camera_device: Fail template on no FPS range android: camera_device: Generate template for Video src/android/camera_device.cpp | 72 ++++++++++++++++++++++++----------- src/android/camera_device.h | 1 + 2 files changed, 51 insertions(+), 22 deletions(-) --- 2.30.0