{"id":11516,"url":"https://patchwork.libcamera.org/api/1.1/covers/11516/?format=json","web_url":"https://patchwork.libcamera.org/cover/11516/","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":"<20210308170728.2212649-1-jacopo@jmondi.org>","date":"2021-03-08T17:07:25","name":"[libcamera-devel,0/3] android: Fix capture templates for video recording","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/1.1/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/cover/11516/mbox/","series":[{"id":1770,"url":"https://patchwork.libcamera.org/api/1.1/series/1770/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1770","date":"2021-03-08T17:07:25","name":"android: Fix capture templates for video recording","version":1,"mbox":"https://patchwork.libcamera.org/series/1770/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11516/comments/","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 ED33EBD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  8 Mar 2021 17:07:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1B44168AAD;\n\tMon,  8 Mar 2021 18:07:09 +0100 (CET)","from relay12.mail.gandi.net (relay12.mail.gandi.net\n\t[217.70.178.232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6D7A368A9C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  8 Mar 2021 18:07:07 +0100 (CET)","from uno.homenet.telecomitalia.it\n\t(host-79-22-58-175.retail.telecomitalia.it [79.22.58.175])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay12.mail.gandi.net (Postfix) with ESMTPSA id CFC42200002\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  8 Mar 2021 17:07:06 +0000 (UTC)"],"From":"Jacopo Mondi <jacopo@jmondi.org>","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\n\tvideo recording","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":"This small series fixes two CTS tests that checks for the correctness of\nthe capture templates generated by\nCameraDevice::constructDefaultRequestSettings():\n\nandroid.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRecordingTemplate\nandroid.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceManualTemplate\n\nThe video capture templates are equal to the preview templates but require\na fixed FPS range, while the capture template for the manual capture intent\nis currently not supported (and not mandatory).\n\nThanks\n   j\n\nJacopo Mondi (3):\n  android: camera_device: Refuse unsupported templates\n  android: camera_device: Fail template on no FPS range\n  android: camera_device: Generate template for Video\n\n src/android/camera_device.cpp | 72 ++++++++++++++++++++++++-----------\n src/android/camera_device.h   |  1 +\n 2 files changed, 51 insertions(+), 22 deletions(-)\n\n--\n2.30.0"}