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

Message ID 20200221163130.4791-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • Support loading IPAs from the build tree
Related show

Message

Kieran Bingham Feb. 21, 2020, 4:31 p.m. UTC
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(-)