From 21efeb4491feab09dc246f4da0023d7ca79b1d32 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 4 Jul 2017 12:47:17 +0100 Subject: COMPMID-417: DepthConvert NEON for QS8/QS16. Change-Id: Ieb120bccf146045b3a0001ceb3893d4e67fd19df Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79763 Tested-by: Kaizen Reviewed-by: Steven Niu --- src/core/NEON/kernels/NEIm2ColKernel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/NEON/kernels/NEIm2ColKernel.cpp') diff --git a/src/core/NEON/kernels/NEIm2ColKernel.cpp b/src/core/NEON/kernels/NEIm2ColKernel.cpp index 5bb8b1c22a..e4de60df80 100644 --- a/src/core/NEON/kernels/NEIm2ColKernel.cpp +++ b/src/core/NEON/kernels/NEIm2ColKernel.cpp @@ -136,11 +136,11 @@ inline void linearize_volume(const uint8_t *const in_ptr, { if(std::is_same::value) { - *out_ptr = scvt_qs8_f32(1.0f, fixed_point_position); + *out_ptr = sqcvt_qs8_f32(1.0f, fixed_point_position); } else if(std::is_same::value) { - *out_ptr = scvt_qs16_f32(1.0f, fixed_point_position); + *out_ptr = sqcvt_qs16_f32(1.0f, fixed_point_position); } else { @@ -255,11 +255,11 @@ void NEIm2ColKernel::run_reduced(const Window &window) { if(std::is_same::value) { - *(reinterpret_cast(out_ptr) + out_width - 1) = scvt_qs8_f32(1.0f, _input->info()->fixed_point_position()); + *(reinterpret_cast(out_ptr) + out_width - 1) = sqcvt_qs8_f32(1.0f, _input->info()->fixed_point_position()); } else if(std::is_same::value) { - *(reinterpret_cast(out_ptr) + out_width - 1) = scvt_qs16_f32(1.0f, _input->info()->fixed_point_position()); + *(reinterpret_cast(out_ptr) + out_width - 1) = sqcvt_qs16_f32(1.0f, _input->info()->fixed_point_position()); } else { -- cgit v1.2.1