summaryrefslogtreecommitdiff
path: root/include/ipa/ipa_controls.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-02-26 10:43:50 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-06 18:10:07 +0200
commit3a48f525f9f09300dac47413f9130860c47acbde (patch)
treeb0753f8850ad06073e95ed15e1df37d958ffa250 /include/ipa/ipa_controls.h
parentca2ea056066ff8cdf4d6849d482414d6fd739e59 (diff)
libcamera: ipa: Remove unused IPA control types
The ipa_control_range_data structure is only used to document the IPA control serialization format, but isn't used in code at all as the ControlRange entries are directly serialized to a byte stream buffer. This applies to the ipa_control_value_data structure that is solely used by ipa_control_range_data. Expand the documentation of the IPA control serialization format to describe the layout of the control range data in words and diagrams instead of through a C structure. Remove the unused structures as a result. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/ipa/ipa_controls.h')
-rw-r--r--include/ipa/ipa_controls.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/ipa/ipa_controls.h b/include/ipa/ipa_controls.h
index de3a017b..426d9968 100644
--- a/include/ipa/ipa_controls.h
+++ b/include/ipa/ipa_controls.h
@@ -36,17 +36,6 @@ struct ipa_control_range_entry {
uint32_t padding[1];
};
-union ipa_control_value_data {
- bool b;
- int32_t i32;
- int64_t i64;
-};
-
-struct ipa_control_range_data {
- union ipa_control_value_data min;
- union ipa_control_value_data max;
-};
-
#ifdef __cplusplus
}
#endif