From patchwork Thu Jul 2 23:11:05 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: 8566 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 E91C8BE905 for ; Thu, 2 Jul 2020 23:11:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6BAFE60C5B; Fri, 3 Jul 2020 01:11:14 +0200 (CEST) Received: from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C698E603B3 for ; Fri, 3 Jul 2020 01:11:12 +0200 (CEST) X-Halon-ID: 4ff7d6bd-bcb9-11ea-8fb8-005056917f90 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de [79.202.46.202]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id 4ff7d6bd-bcb9-11ea-8fb8-005056917f90; Fri, 03 Jul 2020 01:11:11 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Fri, 3 Jul 2020 01:11:05 +0200 Message-Id: <20200702231107.1800602-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 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(-) Reviewed-by: Jacopo Mondi