X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=documentation%2F_n_e_sobel3x3_kernel_8h_source.xhtml;h=301c11b50e74560efb39bfaf57f9f31c5c3d85c9;hb=HEAD;hp=6365681614463f69b1d77aef03256d49f0623236;hpb=67c8c91522e5be8156b77f57e63c0253535c902a;p=platform%2Fupstream%2Farmcl.git diff --git a/documentation/_n_e_sobel3x3_kernel_8h_source.xhtml b/documentation/_n_e_sobel3x3_kernel_8h_source.xhtml index 6365681..301c11b 100644 --- a/documentation/_n_e_sobel3x3_kernel_8h_source.xhtml +++ b/documentation/_n_e_sobel3x3_kernel_8h_source.xhtml @@ -40,7 +40,7 @@
Compute Library -  18.03 +  18.05
@@ -117,7 +117,7 @@ $(document).ready(function(){initNavTree('_n_e_sobel3x3_kernel_8h_source.xhtml',
NESobel3x3Kernel.h
-Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016-2018 ARM Limited.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to
8  * deal in the Software without restriction, including without limitation the
9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10  * sell copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all
14  * copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  * SOFTWARE.
23  */
24 #ifndef __ARM_COMPUTE_NESOBEL3x3KERNEL_H__
25 #define __ARM_COMPUTE_NESOBEL3x3KERNEL_H__
26 
28 
29 namespace arm_compute
30 {
31 class ITensor;
32 
44 {
45 public:
46  const char *name() const override
47  {
48  return "NESobel3x3Kernel";
49  }
53  NESobel3x3Kernel(const NESobel3x3Kernel &) = delete;
55  NESobel3x3Kernel &operator=(const NESobel3x3Kernel &) = delete;
57  NESobel3x3Kernel(NESobel3x3Kernel &&) = default;
61  ~NESobel3x3Kernel() = default;
62 
72  void configure(const ITensor *input, ITensor *output_x, ITensor *output_y, bool border_undefined);
73 
74  // Inherited methods overridden:
75  void run(const Window &window, const ThreadInfo &info) override;
76  BorderSize border_size() const override;
77 
78 private:
79  bool _run_sobel_x;
80  bool _run_sobel_y;
81  const ITensor *_input;
82  ITensor *_output_x;
83  ITensor *_output_y;
84 };
85 } // namespace arm_compute
86 #endif /*__ARM_COMPUTE_NESOBEL3x3KERNEL_H__ */
Container for 2D border size.
Definition: Types.h:229
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016-2018 ARM Limited.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to
8  * deal in the Software without restriction, including without limitation the
9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10  * sell copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all
14  * copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  * SOFTWARE.
23  */
24 #ifndef __ARM_COMPUTE_NESOBEL3x3KERNEL_H__
25 #define __ARM_COMPUTE_NESOBEL3x3KERNEL_H__
26 
28 
29 namespace arm_compute
30 {
31 class ITensor;
32 
44 {
45 public:
46  const char *name() const override
47  {
48  return "NESobel3x3Kernel";
49  }
53  NESobel3x3Kernel(const NESobel3x3Kernel &) = delete;
55  NESobel3x3Kernel &operator=(const NESobel3x3Kernel &) = delete;
57  NESobel3x3Kernel(NESobel3x3Kernel &&) = default;
61  ~NESobel3x3Kernel() = default;
62 
72  void configure(const ITensor *input, ITensor *output_x, ITensor *output_y, bool border_undefined);
73 
74  // Inherited methods overridden:
75  void run(const Window &window, const ThreadInfo &info) override;
76  BorderSize border_size() const override;
77 
78 private:
79  bool _run_sobel_x;
80  bool _run_sobel_y;
81  const ITensor *_input;
82  ITensor *_output_x;
83  ITensor *_output_y;
84 };
85 } // namespace arm_compute
86 #endif /*__ARM_COMPUTE_NESOBEL3x3KERNEL_H__ */
Container for 2D border size.
Definition: Types.h:291
Common interface for all kernels implemented in C++.
Definition: ICPPKernel.h:35
NESobel3x3Kernel()
Default constructor.
Interface for NEON tensor.
Definition: ITensor.h:36
@@ -127,7 +127,7 @@ $(document).ready(function(){initNavTree('_n_e_sobel3x3_kernel_8h_source.xhtml',
const char * name() const override
Name of the kernel.
Interface for the kernel to run a 3x3 Sobel X filter on a tensor.
NESobel3x3Kernel & operator=(const NESobel3x3Kernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
- +
Information about executing thread and CPU.
Definition: CPPTypes.h:131
~NESobel3x3Kernel()=default
Default destructor.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
@@ -140,7 +140,7 @@ $(document).ready(function(){initNavTree('_n_e_sobel3x3_kernel_8h_source.xhtml',