From patchwork Fri Feb 21 16:31:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 2866 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C4E9E625B1 for ; Fri, 21 Feb 2020 17:31:34 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2A15D563; Fri, 21 Feb 2020 17:31:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1582302694; bh=F0EceZ7ZrfmGxq2avS11Dftv3TjmuqbPYn5fSpHRSTA=; h=From:To:Cc:Subject:Date:From; b=boXIQjmHECIIBsFD+sOZPhbdoH/Owuesb3thD76WGv6vSU96Ae/dJVSG7ADli0FbM ZOud2yyeliP1wgM+SUb9FeEtOkdqNtSvDYih8wY/c1BbWGGHWzhmiGJU2Etauq4Dmf w5mfdyO5VbTrGyA+inncOf2xVZIlYsqicXnDFQBw= From: Kieran Bingham To: libcamera devel Date: Fri, 21 Feb 2020 16:31:24 +0000 Message-Id: <20200221163130.4791-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/6] Support loading IPAs from the build tree 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: , X-List-Received-Date: Fri, 21 Feb 2020 16:31:35 -0000 So, the pain didn't end at v3, but now I think we have a good implementation. v4 brings some considerable changes and reworks from v3, including: - A now posix compatible dirname implementation with tests - Dropping of "libcamera: ipa_manager: Split path handling" - Introduction of "libcamera: ipa_manager: Simplify addDir() usage" - Reordering of patches to make things a bit clean/clearer. The rework of addPath/addDir removes the addPath implementation which added little value and instead simplifies addDir and parseDir to ignore errors, and instead concentrate only on the number of successfully added IPA modules. Kieran Bingham (6): libcamera: utils: Add a C++ dirname implementation libcamera: ipa_manager: Re-arrange IPA precedence libcamera: ipa_manager: Simplify addDir() usage libcamera: ipa_manager: Allow recursive parsing libcamera: ipa_manager: Search for IPA libraries in build tree tests: Remove IPA_MODULE_PATH environment variable src/libcamera/include/ipa_manager.h | 4 +- src/libcamera/include/utils.h | 1 + src/libcamera/ipa_manager.cpp | 142 ++++++++++++++++++++++------ src/libcamera/meson.build | 6 ++ src/libcamera/utils.cpp | 48 ++++++++++ test/libtest/test.cpp | 4 - test/utils.cpp | 54 +++++++++++ 7 files changed, 223 insertions(+), 36 deletions(-)