From 4284bfab4594d4babb23123001ef63db7bebeccb Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Wed, 26 Sep 2018 15:33:15 +0100 Subject: COMPMID-287: NEON colour convert to U8 Change-Id: I47033fa70881fd32b13266adb6ccbf10c202aabc Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/150344 Tested-by: bsgcomp Reviewed-by: Pablo Tello --- tests/validation/reference/ColorConvert.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/validation/reference/ColorConvert.cpp') diff --git a/tests/validation/reference/ColorConvert.cpp b/tests/validation/reference/ColorConvert.cpp index 8047b34688..9090319a86 100644 --- a/tests/validation/reference/ColorConvert.cpp +++ b/tests/validation/reference/ColorConvert.cpp @@ -46,6 +46,7 @@ inline std::vector> create_image_planes(const TensorShape &shape switch(format) { + case Format::U8: case Format::RGB888: case Format::RGBA8888: case Format::YUYV422: @@ -102,6 +103,9 @@ std::vector> color_convert(const TensorShape &shape, const std:: case Format::RGBA8888: colorconvert_helper::detail::colorconvert_rgb_to_rgbx(tensor_planes[0], dst[0]); break; + case Format::U8: + colorconvert_helper::detail::colorconvert_rgb_to_u8(tensor_planes[0], dst[0]); + break; case Format::NV12: colorconvert_helper::detail::colorconvert_rgb_to_nv12(tensor_planes[0], dst); break; -- cgit v1.2.1