diff options
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEOpticalFlow.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEOpticalFlow.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEOpticalFlow.h b/arm_compute/runtime/NEON/functions/NEOpticalFlow.h index ad703f0788..320247d260 100644 --- a/arm_compute/runtime/NEON/functions/NEOpticalFlow.h +++ b/arm_compute/runtime/NEON/functions/NEOpticalFlow.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -86,17 +86,17 @@ public: void run() override; private: - MemoryGroup _memory_group; - std::unique_ptr<NEScharr3x3[]> _func_scharr; - std::unique_ptr<NELKTrackerKernel[]> _kernel_tracker; - std::unique_ptr<Tensor[]> _scharr_gx; - std::unique_ptr<Tensor[]> _scharr_gy; - IKeyPointArray *_new_points; - const IKeyPointArray *_new_points_estimates; - const IKeyPointArray *_old_points; - LKInternalKeypointArray _new_points_internal; - LKInternalKeypointArray _old_points_internal; - unsigned int _num_levels; + MemoryGroup _memory_group; + std::vector<std::unique_ptr<NEScharr3x3>> _func_scharr; + std::vector<std::unique_ptr<NELKTrackerKernel>> _kernel_tracker; + std::vector<std::unique_ptr<Tensor>> _scharr_gx; + std::vector<std::unique_ptr<Tensor>> _scharr_gy; + IKeyPointArray *_new_points; + const IKeyPointArray *_new_points_estimates; + const IKeyPointArray *_old_points; + LKInternalKeypointArray _new_points_internal; + LKInternalKeypointArray _old_points_internal; + unsigned int _num_levels; }; } #endif /*__ARM_COMPUTE_NEOPTICALFLOW_H__ */ |