aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-09-18 16:04:42 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitd910ffa3ae6433404649f91ac53c8fa08bd6e196 (patch)
treee747f90256abca807c2f112e29f166b751ff8275 /arm_compute/runtime/NEON/functions/NEHarrisCorners.h
parent8b3b5facea202a2105081a85cd177666c2fb158d (diff)
downloadComputeLibrary-d910ffa3ae6433404649f91ac53c8fa08bd6e196.tar.gz
COMPMID-534: Port MemoryManager to NEON functions (Images)
Adds support to: -NEHarrisCorners -NEFastCorners Change-Id: I21eeb9961092d20f69e82f447fe1faa48b0f4ad8 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88113 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEHarrisCorners.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEHarrisCorners.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEHarrisCorners.h b/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
index a709871153..a9a6786db5 100644
--- a/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
+++ b/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
@@ -31,6 +31,8 @@
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/Array.h"
#include "arm_compute/runtime/IFunction.h"
+#include "arm_compute/runtime/IMemoryManager.h"
+#include "arm_compute/runtime/MemoryGroup.h"
#include "arm_compute/runtime/NEON/functions/NENonMaximaSuppression3x3.h"
#include "arm_compute/runtime/Tensor.h"
@@ -63,7 +65,7 @@ public:
*
* Initialize _sobel, _harris_score and _corner_list to nullptr.
*/
- NEHarrisCorners();
+ NEHarrisCorners(std::shared_ptr<IMemoryManager> memory_manager = nullptr);
/** Initialize the function's source, destination, conv and border_mode.
*
* @param[in, out] input Source image. Data type supported: U8. (Written to only for @p border_mode != UNDEFINED)
@@ -85,6 +87,7 @@ public:
void run() override;
private:
+ MemoryGroup _memory_group; /**< Function's memory group */
std::unique_ptr<IFunction> _sobel; /**< Sobel function */
std::unique_ptr<INEHarrisScoreKernel> _harris_score; /**< Harris score kernel */
NENonMaximaSuppression3x3 _non_max_suppr; /**< Non-maxima suppression function */