Laurent Pinchart
f305cacc9c
meson: Group libipa and libipa_includes in a dependency object
...
Many build targets link with libipa and need libipa_includes. Group them
in a libipa_dep dependency object to simplify the users.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com >
2024-06-11 16:39:22 +03:00
Paul Elder
f3caea0ff7
test: ipa: rkisp1: utils: Fix floating and fixed point conversion test
...
There was an issue where using map to store the test cases meant that
the test for ignoring unused bits was skipped because of clashing keys.
Fix this by moving the offending test out of the loop.
While at it, also change the arbitrary floating comparison precision to
be more precise.
Also fix a missing documentation brief.
Fixes: 9d152e9c66 ("ipa: rkisp1: Add a helper to convert floating-point to fixed-point")
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com >
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2024-06-10 22:05:52 +09:00
Laurent Pinchart
1020b6be51
test: ipa: rkisp1-utils: Fix coding style for template arguments
...
The coding style names template arguments using CamelCase with an
uppercase initial letter. Fix the template arguments in the rkisp1-utils
test.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2024-06-03 11:59:45 +03:00
Paul Elder
9b29eba7a2
test: ipa: rkisp1-utils: Fix capitalization of hex numbers
...
Fix capitalization of the hexdecimal numbers in the test for conversion
between floating point and fixed point numbers.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
2024-05-31 23:29:41 +09:00
Paul Elder
9d152e9c66
ipa: rkisp1: Add a helper to convert floating-point to fixed-point
...
Add helper functions for converting between floating point and fixed
point numbers. Also add tests for them.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com >
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2024-05-31 17:12:48 +09:00