diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/controls.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index 3cfe2de5..fd5005bc 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -29,6 +29,7 @@ enum ControlType { ControlTypeNone, ControlTypeBool, ControlTypeByte, + ControlTypeUnsigned32, ControlTypeInteger32, ControlTypeInteger64, ControlTypeFloat, @@ -63,6 +64,12 @@ struct control_type<uint8_t> { }; template<> +struct control_type<uint32_t> { + static constexpr ControlType value = ControlTypeUnsigned32; + static constexpr std::size_t size = 0; +}; + +template<> struct control_type<int32_t> { static constexpr ControlType value = ControlTypeInteger32; static constexpr std::size_t size = 0; |