{"id":8983,"url":"https://patchwork.libcamera.org/api/covers/8983/?format=json","web_url":"https://patchwork.libcamera.org/cover/8983/","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":"<20200724174827.757493-1-niklas.soderlund@ragnatech.se>","date":"2020-07-24T17:48:24","name":"[libcamera-devel,v2,0/3] cam: Add options to make batch testing with cam easier","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/8983/mbox/","series":[{"id":1141,"url":"https://patchwork.libcamera.org/api/series/1141/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1141","date":"2020-07-24T17:48:24","name":"cam: Add options to make batch testing with cam easier","version":2,"mbox":"https://patchwork.libcamera.org/series/1141/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8983/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 8A06EBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 17:48:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 16B796123B;\n\tFri, 24 Jul 2020 19:48:42 +0200 (CEST)","from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 721196039B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 19:48:40 +0200 (CEST)","from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid e641ab5b-cdd5-11ea-8fb8-005056917f90;\n\tFri, 24 Jul 2020 19:48:39 +0200 (CEST)"],"X-Halon-ID":"e641ab5b-cdd5-11ea-8fb8-005056917f90","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 24 Jul 2020 19:48:24 +0200","Message-Id":"<20200724174827.757493-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/3] cam: Add options to make batch\n\ttesting with cam easier","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=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nAs we lack a compliance tool that is easy to run on target I had the\nneed to extant cam to be able to be run in a batch fashion to be able to\ntest different stream configurations.\n\nThe changes turn out to be small and I think they bring value to cam\neven if we later do add a compliance tool.\n\nNiklas Söderlund (3):\n  cam: Add option to disallow adjusting of requested formats\n  cam: capture: Cache the EventLoop handler\n  cam: Add optional argument to --capture to specify how many frames to\n    capture\n\n src/cam/capture.cpp | 25 ++++++++++++++++++++-----\n src/cam/capture.h   |  7 +++++--\n src/cam/main.cpp    | 22 +++++++++++++++++++---\n src/cam/main.h      |  1 +\n 4 files changed, 45 insertions(+), 10 deletions(-)"}