From a69958fcd6c7bf394859f5c5177c4a685f512f45 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 15 Aug 2022 23:38:19 +0300 Subject: libcamera: yaml_parser: Enable YamlObject::get() for int8_t and uint8_t The YamlObject::get() function template is implemented for 16-bit and 32-bit integers. Add an 8-bit specialization that will be used in the rkisp1 IPA module, and extend the unit tests accordingly. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Reviewed-by: Jacopo Mondi --- include/libcamera/internal/yaml_parser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h index 5ba777d3..8ca71df8 100644 --- a/include/libcamera/internal/yaml_parser.h +++ b/include/libcamera/internal/yaml_parser.h @@ -166,6 +166,8 @@ public: std::enable_if_t< std::is_same_v || std::is_same_v || + std::is_same_v || + std::is_same_v || std::is_same_v || std::is_same_v || std::is_same_v || @@ -188,6 +190,8 @@ public: std::enable_if_t< std::is_same_v || std::is_same_v || + std::is_same_v || + std::is_same_v || std::is_same_v || std::is_same_v || std::is_same_v || -- cgit v1.2.1