{"id":460,"url":"https://patchwork.libcamera.org/api/1.1/covers/460/?format=json","web_url":"https://patchwork.libcamera.org/cover/460/","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":"<20190131234721.22606-1-laurent.pinchart@ideasonboard.com>","date":"2019-01-31T23:47:13","name":"[libcamera-devel,v2,0/8] cam: add --format option to configure a stream","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/460/mbox/","series":[{"id":158,"url":"https://patchwork.libcamera.org/api/1.1/series/158/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=158","date":"2019-01-31T23:47:13","name":"cam: add --format option to configure a stream","version":2,"mbox":"https://patchwork.libcamera.org/series/158/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/460/comments/","headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3B74960DB4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  1 Feb 2019 00:47:34 +0100 (CET)","from pendragon.ideasonboard.com (85-76-34-136-nat.elisa-mobile.fi\n\t[85.76.34.136])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AC04F41;\n\tFri,  1 Feb 2019 00:47:30 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1548978452;\n\tbh=OtNure1HitndVwIN4aiwAzyf0HbMU3G4Jio0didd9+g=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=Xgpe5qVBa693FsavAlUtB0E8IrtXgelxX4Hfe4Kn/f9E9fRCiKvv2PBeJTjs4KPVH\n\tDHIeGkbSP32Xxbnh8eIrjWM6ZYaiuBYFt4fD2TKSAwHa2zvpHzNTFWFQ4tBbYdEmTq\n\tDa19QxXtRb0idMvP3fW6rBmD+swwT8LIhEQ6st6k=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  1 Feb 2019 01:47:13 +0200","Message-Id":"<20190131234721.22606-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.19.2","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/8] cam: add --format option to\n\tconfigure a stream","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":"Thu, 31 Jan 2019 23:47:34 -0000"},"content":"Hello,\n\nThis series is a rework of Niklas' previous series of the same name. It\nadds a new key=value parser and integrates it in the cam utility\nOptionsParser, and extend the cam utility to set stream format.\n\nCompared to v1 the options parser has been extended with a variant\nOptionValue type that integrates with the new key=value parser. Please\nsee individual patches for details.\n\nThe series depends on [1] for 6/6 which needs the stream API in the\ncamera object to actually set the requested format.\n\n[1] [PATCH v3 0/6] libcamera: add basic support for streams and format\n   configuration\n\nLaurent Pinchart (3):\n  cam: options: Move struct Option\n  cam: options: Store options in a list instead of a vector\n  cam: options: Add option type handling to options parser\n\nNiklas Söderlund (5):\n  cam: options: Move enum OptionArgument\n  cam: options: Create a template class for options\n  cam: options: Return whether addOption() succeeds or not\n  cam: options: Add a key=value parser\n  cam: Add --format option to configure a stream\n\n src/cam/main.cpp    | 114 +++++++++++---\n src/cam/options.cpp | 354 ++++++++++++++++++++++++++++++++++++++++----\n src/cam/options.h   | 121 +++++++++++----\n 3 files changed, 517 insertions(+), 72 deletions(-)"}