diff options
author | Abe Mbise <abe.mbise@arm.com> | 2017-12-19 13:00:58 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:46:07 +0000 |
commit | 25a340f84cdecb2c15fde251e59cc1af48648031 (patch) | |
tree | fc64ba0ed6d814bd91bd88124ba52596dc99d8e1 /src/runtime/CL/functions/CLFastCorners.cpp | |
parent | 40df1e9b770393a77afc2ebb94ff7e8f6f8696ed (diff) | |
download | ComputeLibrary-25a340f84cdecb2c15fde251e59cc1af48648031.tar.gz |
COMPMID-578: Implement FAST corners for CL/NEON
Change-Id: Ifa74e2bf05546de9a49aa185e22fba50438d8ad6
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/113946
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLFastCorners.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLFastCorners.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/CL/functions/CLFastCorners.cpp b/src/runtime/CL/functions/CLFastCorners.cpp index 7a0dd09fbe..d6cda91cea 100644 --- a/src/runtime/CL/functions/CLFastCorners.cpp +++ b/src/runtime/CL/functions/CLFastCorners.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -52,7 +52,7 @@ CLFastCorners::CLFastCorners(std::shared_ptr<IMemoryManager> memory_manager) { } -void CLFastCorners::configure(const ICLImage *input, float threshold, bool nonmax_suppression, CLKeyPointArray *const corners, +void CLFastCorners::configure(const ICLImage *input, float threshold, bool nonmax_suppression, ICLKeyPointArray *corners, unsigned int *num_corners, BorderMode border_mode, uint8_t constant_border_value) { ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D(input); @@ -76,7 +76,7 @@ void CLFastCorners::configure(const ICLImage *input, float threshold, bool nonma if(!_non_max) { - _copy_array_kernel.configure(&_output, update_number, corners, &_num_buffer); + _copy_array_kernel.configure(&_output, update_number, _corners, &_num_buffer); } else { @@ -84,7 +84,7 @@ void CLFastCorners::configure(const ICLImage *input, float threshold, bool nonma _memory_group.manage(&_suppr); _suppr_func.configure(&_output, &_suppr, border_mode); - _copy_array_kernel.configure(&_suppr, update_number, corners, &_num_buffer); + _copy_array_kernel.configure(&_suppr, update_number, _corners, &_num_buffer); _suppr.allocator()->allocate(); } |