{"id":8545,"url":"https://patchwork.libcamera.org/api/1.1/covers/8545/?format=json","web_url":"https://patchwork.libcamera.org/cover/8545/","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":"<20200701210948.999363-1-niklas.soderlund@ragnatech.se>","date":"2020-07-01T21:09:46","name":"[libcamera-devel,v2,0/2] libcamera: utils: Add map_keys() function","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/8545/mbox/","series":[{"id":1069,"url":"https://patchwork.libcamera.org/api/1.1/series/1069/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1069","date":"2020-07-01T21:09:46","name":"libcamera: utils: Add map_keys() function","version":2,"mbox":"https://patchwork.libcamera.org/series/1069/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8545/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 53F4FBFFE2\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  1 Jul 2020 21:10:06 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7E43B60C5B;\n\tWed,  1 Jul 2020 23:10:05 +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 D92B6609A9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  1 Jul 2020 23:10:03 +0200 (CEST)","from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 3424f6c8-bbdf-11ea-933e-005056917a89;\n\tWed, 01 Jul 2020 23:10:01 +0200 (CEST)"],"X-Halon-ID":"3424f6c8-bbdf-11ea-933e-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":"Wed,  1 Jul 2020 23:09:46 +0200","Message-Id":"<20200701210948.999363-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/2] libcamera: utils: Add map_keys()\n\tfunction","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\nThis is mostly Laurent's work that I fished out of the ML so I could \nsend out the last IPU3 patches I have locally which makes of Laurent's \nwork.\n\nI have modified 1/2 so that the utils::map_keys() helper returns a \nstd::vector instead of a std::set after some discussions on v1 and on \nIRC.\n\nLaurent Pinchart (1):\n  libcamera: utils: Add map_keys() function\n\nNiklas Söderlund (1):\n  libcamera: ipu3: cio2: Make use of utils::map_keys() helper\n\n include/libcamera/internal/utils.h   | 10 ++++++++++\n src/libcamera/pipeline/ipu3/cio2.cpp | 19 +++----------------\n src/libcamera/utils.cpp              |  7 +++++++\n test/utils.cpp                       | 22 ++++++++++++++++++++++\n 4 files changed, 42 insertions(+), 16 deletions(-)"}