[libcamera-devel] [PATCH v4 0/6] Support loading IPAs from the build tree

Kieran Bingham kieran.bingham at ideasonboard.com
Fri Feb 21 17:31:24 CET 2020


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(-)

-- 
2.20.1



More information about the libcamera-devel mailing list