From patchwork Wed Jul 1 21:09:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 8545 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 53F4FBFFE2 for ; Wed, 1 Jul 2020 21:10:06 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7E43B60C5B; Wed, 1 Jul 2020 23:10:05 +0200 (CEST) Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D92B6609A9 for ; Wed, 1 Jul 2020 23:10:03 +0200 (CEST) X-Halon-ID: 3424f6c8-bbdf-11ea-933e-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de [79.202.46.202]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 3424f6c8-bbdf-11ea-933e-005056917a89; Wed, 01 Jul 2020 23:10:01 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= 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() function X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, This is mostly Laurent's work that I fished out of the ML so I could send out the last IPU3 patches I have locally which makes of Laurent's work. I have modified 1/2 so that the utils::map_keys() helper returns a std::vector instead of a std::set after some discussions on v1 and on IRC. Laurent Pinchart (1): libcamera: utils: Add map_keys() function Niklas Söderlund (1): libcamera: ipu3: cio2: Make use of utils::map_keys() helper include/libcamera/internal/utils.h | 10 ++++++++++ src/libcamera/pipeline/ipu3/cio2.cpp | 19 +++---------------- src/libcamera/utils.cpp | 7 +++++++ test/utils.cpp | 22 ++++++++++++++++++++++ 4 files changed, 42 insertions(+), 16 deletions(-)