summaryrefslogtreecommitdiff
path: root/test/py/unittests.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-20 02:30:32 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 17:21:03 +0300
commitd1934c6490e335c273838a960657652bfe6d7546 (patch)
treeebfdb61d43cfe5debace3048a4bb1c118f2a42f2 /test/py/unittests.py
parent5f94b262da99428fa18d7b33a4230536c86f2ec8 (diff)
ipa: libipa: algorithm: Add an algorithm registration mechanism
In order to allow dynamic instantiation of algorithms based on tuning data files, add a mechanism to register algorithms with the IPA module. The implementation relies on an AlgorithmFactory class and a registration macro, similar to the pipeline handler registration mechanism. The main difference is that the algorithm registration and instantiation are implemented in the Module class instead of the AlgorithmFactory class, making the factory an internal implementation detail. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/py/unittests.py')
0 files changed, 0 insertions, 0 deletions