{"id":394,"url":"https://patchwork.libcamera.org/api/1.1/covers/394/?format=json","web_url":"https://patchwork.libcamera.org/cover/394/","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":"<20190125212154.26950-1-niklas.soderlund@ragnatech.se>","date":"2019-01-25T21:21:52","name":"[libcamera-devel,RFC,0/2] cam: make the --format option take arguments","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/394/mbox/","series":[{"id":135,"url":"https://patchwork.libcamera.org/api/1.1/series/135/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=135","date":"2019-01-25T21:21:52","name":"cam: make the --format option take arguments","version":1,"mbox":"https://patchwork.libcamera.org/series/135/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/394/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 468D260C65\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Jan 2019 22:22:13 +0100 (CET)","from bismarck.berto.se (unknown [89.233.230.99])\n\tby bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 3b681174-20e7-11e9-9adf-005056917a89;\n\tFri, 25 Jan 2019 22:22:06 +0100 (CET)"],"X-Halon-ID":"3b681174-20e7-11e9-9adf-005056917a89","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, 25 Jan 2019 22:21:52 +0100","Message-Id":"<20190125212154.26950-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [RFC 0/2] cam: make the --format option take\n\targuments","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Fri, 25 Jan 2019 21:22:13 -0000"},"content":"Hi,\n\nThis is a RFC to how the cam tool could be extended to take a list of \nkey=value pairs to specify how to configure a camera before starting a \ncapture. This series depends on [1].\n\nLet me know what you all think and if this is a good path to take for \nhow to handle format descriptions for the tool. The format is inspired \nfrom v4l2-ctl, I though a familiar format would be good when bringing in \na new tool :-)\n\nIf this series gets out of RFC before [1] is merged, or if all but the \ncam tool patch (7/7) from [1] is merged this series 2/2 should be merged \nwith that patch.\n\n1. [PATCH v2 0/7] libcamera: add basic support for Streams and format \n   configuration\n\nNiklas Söderlund (2):\n  cam: options: add parser for suboptions\n  cam: make the --format option take arguments\n\n src/cam/main.cpp    | 71 ++++++++++++++++++++++++++++++++++++++++-----\n src/cam/options.cpp | 68 +++++++++++++++++++++++++++++++++++++++++++\n src/cam/options.h   | 24 +++++++++++++++\n 3 files changed, 155 insertions(+), 8 deletions(-)"}