blob: c823715558993259a84127653f6028a7bc2e5ed9 [file] [log] [blame]
Anthony Barbier871448e2017-03-24 14:54:29 +00001<!-- HTML header for doxygen 1.8.9.1-->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6<meta http-equiv="X-UA-Compatible" content="IE=9"/>
Anthony Barbier8140e1e2017-12-14 23:48:46 +00007<meta name="generator" content="Doxygen 1.8.11"/>
Anthony Barbier871448e2017-03-24 14:54:29 +00008<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
Anthony Barbierdbdab852017-06-23 15:42:00 +01009<title>Compute Library: examples/neon_convolution.cpp File Reference</title>
Anthony Barbier871448e2017-03-24 14:54:29 +000010<link href="tabs.css" rel="stylesheet" type="text/css"/>
11<script type="text/javascript" src="jquery.js"></script>
12<script type="text/javascript" src="dynsections.js"></script>
13<link href="navtree.css" rel="stylesheet" type="text/css"/>
14<script type="text/javascript" src="resize.js"></script>
Anthony Barbier8140e1e2017-12-14 23:48:46 +000015<script type="text/javascript" src="navtreedata.js"></script>
Anthony Barbier871448e2017-03-24 14:54:29 +000016<script type="text/javascript" src="navtree.js"></script>
17<script type="text/javascript">
18 $(document).ready(initResizable);
19 $(window).load(resizeHeight);
20</script>
21<link href="search/search.css" rel="stylesheet" type="text/css"/>
Anthony Barbier8140e1e2017-12-14 23:48:46 +000022<script type="text/javascript" src="search/searchdata.js"></script>
Anthony Barbier871448e2017-03-24 14:54:29 +000023<script type="text/javascript" src="search/search.js"></script>
24<script type="text/javascript">
Anthony Barbier8140e1e2017-12-14 23:48:46 +000025 $(document).ready(function() { init_search(); });
Anthony Barbier871448e2017-03-24 14:54:29 +000026</script>
27<script type="text/x-mathjax-config">
28 MathJax.Hub.Config({
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
31});
Anthony Barbier8140e1e2017-12-14 23:48:46 +000032</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
Anthony Barbier871448e2017-03-24 14:54:29 +000033<link href="doxygen.css" rel="stylesheet" type="text/css" />
34</head>
35<body>
36<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37<div id="titlearea">
38<table cellspacing="0" cellpadding="0">
39 <tbody>
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
Anthony Barbierdbdab852017-06-23 15:42:00 +010042 <div id="projectname">Compute Library
Jenkins52ba29e2018-08-29 15:32:11 +000043 &#160;<span id="projectnumber">18.08</span>
Anthony Barbier871448e2017-03-24 14:54:29 +000044 </div>
45 </td>
46 </tr>
47 </tbody>
48</table>
49</div>
50<!-- end header part -->
Anthony Barbier8140e1e2017-12-14 23:48:46 +000051<!-- Generated by Doxygen 1.8.11 -->
Anthony Barbier871448e2017-03-24 14:54:29 +000052<script type="text/javascript">
53var searchBox = new SearchBox("searchBox", "search",false,'Search');
54</script>
55 <div id="navrow1" class="tabs">
56 <ul class="tablist">
57 <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
Anthony Barbierdbdab852017-06-23 15:42:00 +010058 <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
Anthony Barbier871448e2017-03-24 14:54:29 +000059 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60 <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
61 <li class="current"><a href="files.xhtml"><span>Files</span></a></li>
62 <li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
64 <span class="left">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
68 alt=""/>
69 <input type="text" id="MSearchField" value="Search" accesskey="S"
70 onfocus="searchBox.OnSearchFieldFocus(true)"
71 onblur="searchBox.OnSearchFieldFocus(false)"
72 onkeyup="searchBox.OnSearchFieldChange(event)"/>
73 </span><span class="right">
74 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
75 </span>
76 </div>
77 </li>
78 </ul>
79 </div>
80 <div id="navrow2" class="tabs2">
81 <ul class="tablist">
82 <li><a href="files.xhtml"><span>File&#160;List</span></a></li>
83 <li><a href="globals.xhtml"><span>Globals</span></a></li>
84 </ul>
85 </div>
86</div><!-- top -->
87<div id="side-nav" class="ui-resizable side-nav-resizable">
88 <div id="nav-tree">
89 <div id="nav-tree-contents">
90 <div id="nav-sync" class="sync"></div>
91 </div>
92 </div>
93 <div id="splitbar" style="-moz-user-select:none;"
94 class="ui-resizable-handle">
95 </div>
96</div>
97<script type="text/javascript">
98$(document).ready(function(){initNavTree('neon__convolution_8cpp.xhtml','');});
99</script>
100<div id="doc-content">
101<!-- window showing the filter options -->
102<div id="MSearchSelectWindow"
103 onmouseover="return searchBox.OnSearchSelectShow()"
104 onmouseout="return searchBox.OnSearchSelectHide()"
105 onkeydown="return searchBox.OnSearchSelectKey(event)">
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000106</div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000107
108<!-- iframe showing the search results (closed by default) -->
109<div id="MSearchResultsWindow">
110<iframe src="javascript:void(0)" frameborder="0"
111 name="MSearchResults" id="MSearchResults">
112</iframe>
113</div>
114
115<div class="header">
116 <div class="summary">
117<a href="#func-members">Functions</a> &#124;
118<a href="#var-members">Variables</a> </div>
119 <div class="headertitle">
120<div class="title">neon_convolution.cpp File Reference</div> </div>
121</div><!--header-->
122<div class="contents">
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000123<div class="textblock"><code>#include &quot;<a class="el" href="_n_e_functions_8h_source.xhtml">arm_compute/runtime/NEON/NEFunctions.h</a>&quot;</code><br />
124<code>#include &quot;<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">arm_compute/core/Types.h</a>&quot;</code><br />
Jenkins52ba29e2018-08-29 15:32:11 +0000125<code>#include &quot;<a class="el" href="_image_loader_8h_source.xhtml">utils/ImageLoader.h</a>&quot;</code><br />
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000126<code>#include &quot;<a class="el" href="utils_2_utils_8h_source.xhtml">utils/Utils.h</a>&quot;</code><br />
Anthony Barbier871448e2017-03-24 14:54:29 +0000127</div>
128<p><a href="neon__convolution_8cpp_source.xhtml">Go to the source code of this file.</a></p>
129<table class="memberdecls">
130<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
131Functions</h2></td></tr>
Anthony Barbierf45d5a92018-01-24 16:23:15 +0000132<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="neon__convolution_8cpp.xhtml#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
133<tr class="memdesc:a3c04138a5bfe5d72780bb7e82a18e627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main program for convolution test. <a href="#a3c04138a5bfe5d72780bb7e82a18e627">More...</a><br /></td></tr>
134<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000135</table><table class="memberdecls">
136<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
137Variables</h2></td></tr>
138<tr class="memitem:a741ba5321da40184f8653e0a50ace070"><td class="memItemLeft" align="right" valign="top">const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="neon__convolution_8cpp.xhtml#a741ba5321da40184f8653e0a50ace070">gaussian3x3</a> []</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000139<tr class="memdesc:a741ba5321da40184f8653e0a50ace070"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gaussian 3x3 matrix. <a href="#a741ba5321da40184f8653e0a50ace070">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000140<tr class="separator:a741ba5321da40184f8653e0a50ace070"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:a565013cf7e49a591bacd548571951f94"><td class="memItemLeft" align="right" valign="top">const int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="neon__convolution_8cpp.xhtml#a565013cf7e49a591bacd548571951f94">gaussian5x5</a> []</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000142<tr class="memdesc:a565013cf7e49a591bacd548571951f94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gaussian 5x5 matrix. <a href="#a565013cf7e49a591bacd548571951f94">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000143<tr class="separator:a565013cf7e49a591bacd548571951f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
144</table>
145<h2 class="groupheader">Function Documentation</h2>
Anthony Barbierf45d5a92018-01-24 16:23:15 +0000146<a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
Anthony Barbier871448e2017-03-24 14:54:29 +0000147<div class="memitem">
148<div class="memproto">
149 <table class="memname">
150 <tr>
151 <td class="memname">int main </td>
152 <td>(</td>
153 <td class="paramtype">int&#160;</td>
154 <td class="paramname"><em>argc</em>, </td>
155 </tr>
156 <tr>
157 <td class="paramkey"></td>
158 <td></td>
Anthony Barbierf45d5a92018-01-24 16:23:15 +0000159 <td class="paramtype">char **&#160;</td>
Anthony Barbier871448e2017-03-24 14:54:29 +0000160 <td class="paramname"><em>argv</em>&#160;</td>
161 </tr>
162 <tr>
163 <td></td>
164 <td>)</td>
165 <td></td><td></td>
166 </tr>
167 </table>
168</div><div class="memdoc">
169
170<p>Main program for convolution test. </p>
171<dl class="params"><dt>Parameters</dt><dd>
172 <table class="params">
173 <tr><td class="paramdir">[in]</td><td class="paramname">argc</td><td>Number of arguments </td></tr>
174 <tr><td class="paramdir">[in]</td><td class="paramname">argv</td><td>Arguments ( [optional] Path to PPM image to process ) </td></tr>
175 </table>
176 </dd>
177</dl>
178
Jenkins52ba29e2018-08-29 15:32:11 +0000179<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00127">127</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
180<div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;{</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> utils::run_example&lt;NEONConvolutionExample&gt;(argc, argv);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;}</div></div><!-- fragment -->
Anthony Barbier871448e2017-03-24 14:54:29 +0000181</div>
182</div>
183<h2 class="groupheader">Variable Documentation</h2>
184<a class="anchor" id="a741ba5321da40184f8653e0a50ace070"></a>
185<div class="memitem">
186<div class="memproto">
187 <table class="memname">
188 <tr>
189 <td class="memname">const int16_t gaussian3x3[]</td>
190 </tr>
191 </table>
192</div><div class="memdoc">
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000193<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line"> 1, 2, 1,</div><div class="line"> 2, 4, 2,</div><div class="line"> 1, 2, 1</div><div class="line">}</div></div><!-- fragment -->
Anthony Barbier871448e2017-03-24 14:54:29 +0000194<p>Gaussian 3x3 matrix. </p>
195
Jenkins52ba29e2018-08-29 15:32:11 +0000196<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00035">35</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000197
Anthony Barbier871448e2017-03-24 14:54:29 +0000198</div>
199</div>
200<a class="anchor" id="a565013cf7e49a591bacd548571951f94"></a>
201<div class="memitem">
202<div class="memproto">
203 <table class="memname">
204 <tr>
205 <td class="memname">const int16_t gaussian5x5[]</td>
206 </tr>
207 </table>
208</div><div class="memdoc">
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000209<b>Initial value:</b><div class="fragment"><div class="line">=</div><div class="line">{</div><div class="line"> 1, 4, 6, 4, 1,</div><div class="line"> 4, 16, 24, 16, 4,</div><div class="line"> 6, 24, 36, 24, 6,</div><div class="line"> 4, 16, 24, 16, 4,</div><div class="line"> 1, 4, 6, 4, 1</div><div class="line">}</div></div><!-- fragment -->
Anthony Barbier871448e2017-03-24 14:54:29 +0000210<p>Gaussian 5x5 matrix. </p>
211
Jenkins52ba29e2018-08-29 15:32:11 +0000212<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00044">44</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000213
Anthony Barbier871448e2017-03-24 14:54:29 +0000214</div>
215</div>
216</div><!-- contents -->
217</div><!-- doc-content -->
218<!-- start footer part -->
219<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
220 <ul>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000221 <li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.xhtml">examples</a></li><li class="navelem"><a class="el" href="neon__convolution_8cpp.xhtml">neon_convolution.cpp</a></li>
Jenkins52ba29e2018-08-29 15:32:11 +0000222 <li class="footer">Generated on Wed Aug 29 2018 15:31:37 for Compute Library by
Anthony Barbier871448e2017-03-24 14:54:29 +0000223 <a href="http://www.doxygen.org/index.html">
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000224 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
Anthony Barbier871448e2017-03-24 14:54:29 +0000225 </ul>
226</div>
227</body>
228</html>