Add scaling converters and secondary converters.
Scaling converters scale, as the name implies.
The two wrapping converters, map & ranged sanitize
data for sending to V4L2, either converting a value
to be within a map, or within a range, respectively.
(These are intended for use with V4L2 int menu and int
controls, respectively).
TEST: Unit tests pass
BUG: 30140438
Change-Id: Ie7d86118e00c0b59e6457fc16449228706098952
diff --git a/modules/camera/3_4/Android.mk b/modules/camera/3_4/Android.mk
index 4c77968..820a993 100644
--- a/modules/camera/3_4/Android.mk
+++ b/modules/camera/3_4/Android.mk
@@ -55,8 +55,10 @@
metadata/enum_converter_test.cpp \
metadata/fixed_property_test.cpp \
metadata/ignored_control_test.cpp \
+ metadata/map_converter_test.cpp \
metadata/metadata_test.cpp \
metadata/optioned_control_test.cpp \
+ metadata/ranged_converter_test.cpp \
metadata/v4l2_enum_control_test.cpp \
# V4L2 Camera HAL.