summaryrefslogtreecommitdiff
path: root/src/libcamera/ipa_controls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/ipa_controls.cpp')
-rw-r--r--src/libcamera/ipa_controls.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libcamera/ipa_controls.cpp b/src/libcamera/ipa_controls.cpp
index dd3ff9a0..fc5ccd42 100644
--- a/src/libcamera/ipa_controls.cpp
+++ b/src/libcamera/ipa_controls.cpp
@@ -153,6 +153,9 @@
* Reserved for future extensions
*/
+static_assert(sizeof(ipa_controls_header) == 32,
+ "Invalid ABI size change for struct ipa_control_header");
+
/**
* \struct ipa_control_value_entry
* \brief Description of a serialized ControlValue entry
@@ -167,6 +170,9 @@
* value data (shall be a multiple of 8 bytes).
*/
+static_assert(sizeof(ipa_control_value_entry) == 16,
+ "Invalid ABI size change for struct ipa_control_value_entry");
+
/**
* \struct ipa_control_range_entry
* \brief Description of a serialized ControlRange entry
@@ -180,3 +186,6 @@
* \var ipa_control_range_entry::padding
* Padding bytes (shall be set to 0)
*/
+
+static_assert(sizeof(ipa_control_range_entry) == 16,
+ "Invalid ABI size change for struct ipa_control_range_entry");