The rkisp1 IPA has some utility functions to convert between fixed and floating point numbers. Move those to libipa so they're available for use in other IPA modules too. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
18 lines
682 B
Meson
18 lines
682 B
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
libipa_test = [
|
|
{'name': 'fixedpoint', 'sources': ['fixedpoint.cpp']},
|
|
{'name': 'interpolator', 'sources': ['interpolator.cpp']},
|
|
{'name': 'vector', 'sources': ['vector.cpp']},
|
|
]
|
|
|
|
foreach test : libipa_test
|
|
exe = executable(test['name'], test['sources'],
|
|
dependencies : [libcamera_private, libipa_dep],
|
|
implicit_include_directories : false,
|
|
link_with : [test_libraries],
|
|
include_directories : [test_includes_internal,
|
|
'../../../src/ipa/libipa/'])
|
|
|
|
test(test['name'], exe, suite : 'ipa')
|
|
endforeach
|