diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-28 17:37:23 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-06 18:10:13 +0200 |
commit | 8c051160e7a36d57493b25016f94a900b1260c04 (patch) | |
tree | 07fb68020547715e543c3ec990e2d76e923105c9 /test/ipa/ipa_interface_test.cpp | |
parent | 3f04152d56acadceaf0db8b9afa9b784d111452f (diff) |
libcamera: ipa: Test control structure size with static_assert
The control-related structures ipa_controls_header,
ipa_control_value_entry and ipa_control_range_entry define the IPA
protocol and are thus part of the ABI. To avoid breaking it
inadvertently, use static_assert() to check the size of the structures.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/ipa/ipa_interface_test.cpp')
0 files changed, 0 insertions, 0 deletions