blob: e56c1a7e1201812436f5cd141a05a93376709fca [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: src/core/CL/cl_kernels/convolution7x7.cl 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
Jenkinsb3a371b2018-05-23 11:36:53 +010043 &#160;<span id="projectnumber">18.05</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('convolution7x7_8cl.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="#define-members">Macros</a> &#124;
118<a href="#func-members">Functions</a> </div>
119 <div class="headertitle">
120<div class="title">convolution7x7.cl 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="helpers_8h_source.xhtml">helpers.h</a>&quot;</code><br />
Anthony Barbier871448e2017-03-24 14:54:29 +0000124</div>
125<p><a href="convolution7x7_8cl_source.xhtml">Go to the source code of this file.</a></p>
126<table class="memberdecls">
127<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
128Macros</h2></td></tr>
129<tr class="memitem:afb8c72ce35c4a1f4a2588d6573e54aa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>&#160;&#160;&#160;short</td></tr>
130<tr class="separator:afb8c72ce35c4a1f4a2588d6573e54aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="memitem:a26babb0c719990ecbdf3abc6de920875"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a>&#160;&#160;&#160;int</td></tr>
132<tr class="separator:a26babb0c719990ecbdf3abc6de920875"><td class="memSeparator" colspan="2">&#160;</td></tr>
133<tr class="memitem:ac06f3e24d3fffd3c465d8b2a6e7c985e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a>&#160;&#160;&#160;uchar</td></tr>
134<tr class="separator:ac06f3e24d3fffd3c465d8b2a6e7c985e"><td class="memSeparator" colspan="2">&#160;</td></tr>
135</table><table class="memberdecls">
136<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
137Functions</h2></td></tr>
138<tr class="memitem:a7cedca46bfb1e16a870477a88ce93b9c"><td class="memItemLeft" align="right" valign="top">short8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a> (__global const uchar *left_pixel, const short left1_coeff, const short left2_coeff, const short left3_coeff, const short middle_coeff, const short right1_coeff, const short right2_coeff, const short right3_coeff)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000139<tr class="memdesc:a7cedca46bfb1e16a870477a88ce93b9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a 1D horizontal convolution of size 7 for 8 bytes assuming the input is made of 1 channel of 1 byte (i.e 8 pixels). <a href="#a7cedca46bfb1e16a870477a88ce93b9c">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000140<tr class="separator:a7cedca46bfb1e16a870477a88ce93b9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:a8946e11bc6019e8dd7d06b00d27a5b1b"><td class="memItemLeft" align="right" valign="top">int8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#a8946e11bc6019e8dd7d06b00d27a5b1b">convolution7x1</a> (<a class="el" href="struct_image.xhtml">Image</a> *src, const short up1_coeff, const short up2_coeff, const short up3_coeff, const short middle_coeff, const short down1_coeff, const short down2_coeff, const short down3_coeff)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000142<tr class="memdesc:a8946e11bc6019e8dd7d06b00d27a5b1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a 1D vertical convolution of size 7 for 8 bytes assuming the input is made of 1 channel of 1 byte (i.e 8 pixels). <a href="#a8946e11bc6019e8dd7d06b00d27a5b1b">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000143<tr class="separator:a8946e11bc6019e8dd7d06b00d27a5b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:abda5491f14bab2d88026e3174a2151c2"><td class="memItemLeft" align="right" valign="top">short8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#abda5491f14bab2d88026e3174a2151c2">convolution7x7</a> (<a class="el" href="struct_image.xhtml">Image</a> *src, const short mat0, const short mat1, const short mat2, const short mat3, const short mat4, const short mat5, const short mat6, const short mat7, const short mat8, const short mat9, const short mat10, const short mat11, const short mat12, const short mat13, const short mat14, const short mat15, const short mat16, const short mat17, const short mat18, const short mat19, const short mat20, const short mat21, const short mat22, const short mat23, const short mat24, const short mat25, const short mat26, const short mat27, const short mat28, const short mat29, const short mat30, const short mat31, const short mat32, const short mat33, const short mat34, const short mat35, const short mat36, const short mat37, const short mat38, const short mat39, const short mat40, const short mat41, const short mat42, const short mat43, const short mat44, const short mat45, const short mat46, const short mat47, const short mat48, uint scale)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000145<tr class="memdesc:abda5491f14bab2d88026e3174a2151c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a 7x7 convolution matrix to a single channel U8 input image and return the result. <a href="#abda5491f14bab2d88026e3174a2151c2">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000146<tr class="separator:abda5491f14bab2d88026e3174a2151c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:af82c3330f3fbf7caa9229ffd9a4149fb"><td class="memItemLeft" align="right" valign="top">__kernel void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#af82c3330f3fbf7caa9229ffd9a4149fb">convolution_separable1x7_static</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000148<tr class="memdesc:af82c3330f3fbf7caa9229ffd9a4149fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a 1x7 static convolution matrix to a single channel U8 input image and output a single temporary channel image. <a href="#af82c3330f3fbf7caa9229ffd9a4149fb">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000149<tr class="separator:af82c3330f3fbf7caa9229ffd9a4149fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:a27d964d8bf6620c7e9960e895df40ade"><td class="memItemLeft" align="right" valign="top">__kernel void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#a27d964d8bf6620c7e9960e895df40ade">convolution_separable7x1_static</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000151<tr class="memdesc:a27d964d8bf6620c7e9960e895df40ade"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a 7x1 static convolution matrix to a single channel U8 input image and output a single channel image. <a href="#a27d964d8bf6620c7e9960e895df40ade">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000152<tr class="separator:a27d964d8bf6620c7e9960e895df40ade"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:aac65ae3322d90d7b270614f331ef600e"><td class="memItemLeft" align="right" valign="top">__kernel void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convolution7x7_8cl.xhtml#aac65ae3322d90d7b270614f331ef600e">convolution7x7_static</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes)</td></tr>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000154<tr class="memdesc:aac65ae3322d90d7b270614f331ef600e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a static 7x7 convolution matrix to a single channel U8 input image and output a single channel U8 image including the borders. <a href="#aac65ae3322d90d7b270614f331ef600e">More...</a><br /></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000155<tr class="separator:aac65ae3322d90d7b270614f331ef600e"><td class="memSeparator" colspan="2">&#160;</td></tr>
156</table>
157<h2 class="groupheader">Macro Definition Documentation</h2>
158<a class="anchor" id="a26babb0c719990ecbdf3abc6de920875"></a>
159<div class="memitem">
160<div class="memproto">
161 <table class="memname">
162 <tr>
163 <td class="memname">#define COMPUTE_TYPE&#160;&#160;&#160;int</td>
164 </tr>
165 </table>
166</div><div class="memdoc">
167
168<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00031">31</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
169
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000170<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00052">convolution1x7()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00097">convolution7x1()</a>, and <a class="el" href="convolution7x7_8cl_source.xhtml#l00287">convolution_separable7x1_static()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000171
172</div>
173</div>
174<a class="anchor" id="afb8c72ce35c4a1f4a2588d6573e54aa1"></a>
175<div class="memitem">
176<div class="memproto">
177 <table class="memname">
178 <tr>
179 <td class="memname">#define DATA_TYPE&#160;&#160;&#160;short</td>
180 </tr>
181 </table>
182</div><div class="memdoc">
183
184<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00027">27</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
185
186<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00052">convolution1x7()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00097">convolution7x1()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00202">convolution7x7()</a>, and <a class="el" href="convolution7x7_8cl_source.xhtml#l00254">convolution_separable1x7_static()</a>.</p>
187
188</div>
189</div>
190<a class="anchor" id="ac06f3e24d3fffd3c465d8b2a6e7c985e"></a>
191<div class="memitem">
192<div class="memproto">
193 <table class="memname">
194 <tr>
195 <td class="memname">#define DATA_TYPE_OUT&#160;&#160;&#160;uchar</td>
196 </tr>
197 </table>
198</div><div class="memdoc">
199
200<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00035">35</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
201
202<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00323">convolution7x7_static()</a>, and <a class="el" href="convolution7x7_8cl_source.xhtml#l00287">convolution_separable7x1_static()</a>.</p>
203
204</div>
205</div>
206<h2 class="groupheader">Function Documentation</h2>
207<a class="anchor" id="a7cedca46bfb1e16a870477a88ce93b9c"></a>
208<div class="memitem">
209<div class="memproto">
210 <table class="memname">
211 <tr>
212 <td class="memname">short8 convolution1x7 </td>
213 <td>(</td>
214 <td class="paramtype">__global const uchar *&#160;</td>
215 <td class="paramname"><em>left_pixel</em>, </td>
216 </tr>
217 <tr>
218 <td class="paramkey"></td>
219 <td></td>
220 <td class="paramtype">const short&#160;</td>
221 <td class="paramname"><em>left1_coeff</em>, </td>
222 </tr>
223 <tr>
224 <td class="paramkey"></td>
225 <td></td>
226 <td class="paramtype">const short&#160;</td>
227 <td class="paramname"><em>left2_coeff</em>, </td>
228 </tr>
229 <tr>
230 <td class="paramkey"></td>
231 <td></td>
232 <td class="paramtype">const short&#160;</td>
233 <td class="paramname"><em>left3_coeff</em>, </td>
234 </tr>
235 <tr>
236 <td class="paramkey"></td>
237 <td></td>
238 <td class="paramtype">const short&#160;</td>
239 <td class="paramname"><em>middle_coeff</em>, </td>
240 </tr>
241 <tr>
242 <td class="paramkey"></td>
243 <td></td>
244 <td class="paramtype">const short&#160;</td>
245 <td class="paramname"><em>right1_coeff</em>, </td>
246 </tr>
247 <tr>
248 <td class="paramkey"></td>
249 <td></td>
250 <td class="paramtype">const short&#160;</td>
251 <td class="paramname"><em>right2_coeff</em>, </td>
252 </tr>
253 <tr>
254 <td class="paramkey"></td>
255 <td></td>
256 <td class="paramtype">const short&#160;</td>
257 <td class="paramname"><em>right3_coeff</em>&#160;</td>
258 </tr>
259 <tr>
260 <td></td>
261 <td>)</td>
262 <td></td><td></td>
263 </tr>
264 </table>
265</div><div class="memdoc">
266
267<p>Compute a 1D horizontal convolution of size 7 for 8 bytes assuming the input is made of 1 channel of 1 byte (i.e 8 pixels). </p>
268<dl class="params"><dt>Parameters</dt><dd>
269 <table class="params">
270 <tr><td class="paramdir">[in]</td><td class="paramname">left_pixel</td><td>Pointer to the left pixel </td></tr>
271 <tr><td class="paramdir">[in]</td><td class="paramname">left1_coeff</td><td>Weight of the most left pixel </td></tr>
272 <tr><td class="paramdir">[in]</td><td class="paramname">left2_coeff</td><td>Weight of the second left pixel </td></tr>
273 <tr><td class="paramdir">[in]</td><td class="paramname">left3_coeff</td><td>Weight of the left pixel </td></tr>
274 <tr><td class="paramdir">[in]</td><td class="paramname">middle_coeff</td><td>Weight of the middle pixel </td></tr>
275 <tr><td class="paramdir">[in]</td><td class="paramname">right1_coeff</td><td>Weight of the right pixel </td></tr>
276 <tr><td class="paramdir">[in]</td><td class="paramname">right2_coeff</td><td>Weight of the second right pixel </td></tr>
277 <tr><td class="paramdir">[in]</td><td class="paramname">right3_coeff</td><td>Weight of the most right pixel</td></tr>
278 </table>
279 </dd>
280</dl>
281<dl class="section return"><dt>Returns</dt><dd>a short8 containing 8 convoluted values. </dd></dl>
282
283<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00052">52</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
284
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000285<p>References <a class="el" href="convolution7x7_8cl_source.xhtml#l00031">COMPUTE_TYPE</a>, <a class="el" href="fixed__point_8h_source.xhtml#l00098">CONVERT</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00027">DATA_TYPE</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000286
287<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00202">convolution7x7()</a>, <a class="el" href="convolution__rectangle_8cl_source.xhtml#l00064">convolution_rectangle()</a>, and <a class="el" href="convolution7x7_8cl_source.xhtml#l00254">convolution_separable1x7_static()</a>.</p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000288<div class="fragment"><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;{</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; uchar16 temp = vload16(0, left_pixel);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8)</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; left1 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s01234567, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8));</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; left2 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s12345678, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; left3 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s23456789, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; middle = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s3456789a, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; right1 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s456789ab, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; right2 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s56789abc, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8)</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; right3 = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(temp.s6789abcd, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8));</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; return left1 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))left1_coeff + left2 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))left2_coeff + left3 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))left3_coeff + middle * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; 8))middle_coeff + right1 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))right1_coeff + right2 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))right2_coeff + right3 * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 8))right3_coeff;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;}</div><div class="ttc" id="fixed__point_8h_xhtml_aa8d95ba04fc73845abc6045952cae5be"><div class="ttname"><a href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a></div><div class="ttdeci">#define CONVERT(x, type)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00098">fixed_point.h:98</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +0100289<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000290<div class="ttc" id="convolution7x7_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00027">convolution7x7.cl:27</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000291</div><!-- fragment -->
292</div>
293</div>
294<a class="anchor" id="a8946e11bc6019e8dd7d06b00d27a5b1b"></a>
295<div class="memitem">
296<div class="memproto">
297 <table class="memname">
298 <tr>
299 <td class="memname">int8 convolution7x1 </td>
300 <td>(</td>
301 <td class="paramtype"><a class="el" href="struct_image.xhtml">Image</a> *&#160;</td>
302 <td class="paramname"><em>src</em>, </td>
303 </tr>
304 <tr>
305 <td class="paramkey"></td>
306 <td></td>
307 <td class="paramtype">const short&#160;</td>
308 <td class="paramname"><em>up1_coeff</em>, </td>
309 </tr>
310 <tr>
311 <td class="paramkey"></td>
312 <td></td>
313 <td class="paramtype">const short&#160;</td>
314 <td class="paramname"><em>up2_coeff</em>, </td>
315 </tr>
316 <tr>
317 <td class="paramkey"></td>
318 <td></td>
319 <td class="paramtype">const short&#160;</td>
320 <td class="paramname"><em>up3_coeff</em>, </td>
321 </tr>
322 <tr>
323 <td class="paramkey"></td>
324 <td></td>
325 <td class="paramtype">const short&#160;</td>
326 <td class="paramname"><em>middle_coeff</em>, </td>
327 </tr>
328 <tr>
329 <td class="paramkey"></td>
330 <td></td>
331 <td class="paramtype">const short&#160;</td>
332 <td class="paramname"><em>down1_coeff</em>, </td>
333 </tr>
334 <tr>
335 <td class="paramkey"></td>
336 <td></td>
337 <td class="paramtype">const short&#160;</td>
338 <td class="paramname"><em>down2_coeff</em>, </td>
339 </tr>
340 <tr>
341 <td class="paramkey"></td>
342 <td></td>
343 <td class="paramtype">const short&#160;</td>
344 <td class="paramname"><em>down3_coeff</em>&#160;</td>
345 </tr>
346 <tr>
347 <td></td>
348 <td>)</td>
349 <td></td><td></td>
350 </tr>
351 </table>
352</div><div class="memdoc">
353
354<p>Compute a 1D vertical convolution of size 7 for 8 bytes assuming the input is made of 1 channel of 1 byte (i.e 8 pixels). </p>
355<dl class="params"><dt>Parameters</dt><dd>
356 <table class="params">
357 <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>Pointer to source image. </td></tr>
358 <tr><td class="paramdir">[in]</td><td class="paramname">up1_coeff</td><td>Weight of the most up pixel </td></tr>
359 <tr><td class="paramdir">[in]</td><td class="paramname">up2_coeff</td><td>Weight of the second up pixel </td></tr>
360 <tr><td class="paramdir">[in]</td><td class="paramname">up3_coeff</td><td>Weight of the up pixel </td></tr>
361 <tr><td class="paramdir">[in]</td><td class="paramname">middle_coeff</td><td>Weight of the middle pixel </td></tr>
362 <tr><td class="paramdir">[in]</td><td class="paramname">down1_coeff</td><td>Weight of the down pixel </td></tr>
363 <tr><td class="paramdir">[in]</td><td class="paramname">down2_coeff</td><td>Weight of the second down pixel </td></tr>
364 <tr><td class="paramdir">[in]</td><td class="paramname">down3_coeff</td><td>Weight of the third down pixel</td></tr>
365 </table>
366 </dd>
367</dl>
368<dl class="section return"><dt>Returns</dt><dd>a short8 containing 8 convoluted values. </dd></dl>
369
370<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00097">97</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
371
Jenkinsb3a371b2018-05-23 11:36:53 +0100372<p>References <a class="el" href="convolution7x7_8cl_source.xhtml#l00031">COMPUTE_TYPE</a>, <a class="el" href="fixed__point_8h_source.xhtml#l00098">CONVERT</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="helpers_8h_source.xhtml#l00303">offset()</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000373
374<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00287">convolution_separable7x1_static()</a>.</p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000375<div class="fragment"><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;{</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a>, 8)</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; val;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a>, 8)</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; out = (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))0;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, -3)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))up1_coeff;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, -2)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))up2_coeff;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, -1)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))up3_coeff;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, 0)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))middle_coeff;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, 1)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))down1_coeff;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, 2)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))down2_coeff;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; val = <a class="code" href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(vload8(0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, 0, 3)), <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8));</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; out += val * (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(COMPUTE_TYPE, 8))down3_coeff;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; return out;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;}</div><div class="ttc" id="fixed__point_8h_xhtml_aa8d95ba04fc73845abc6045952cae5be"><div class="ttname"><a href="fixed__point_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a></div><div class="ttdeci">#define CONVERT(x, type)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00098">fixed_point.h:98</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +0100376<div class="ttc" id="convolution7x7_8cl_xhtml_a26babb0c719990ecbdf3abc6de920875"><div class="ttname"><a href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a></div><div class="ttdeci">#define COMPUTE_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00031">convolution7x7.cl:31</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +0100377<div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00303">helpers.h:303</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +0100378<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000379<div class="ttc" id="convolution7x7_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00027">convolution7x7.cl:27</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000380</div><!-- fragment -->
381</div>
382</div>
383<a class="anchor" id="abda5491f14bab2d88026e3174a2151c2"></a>
384<div class="memitem">
385<div class="memproto">
386 <table class="memname">
387 <tr>
388 <td class="memname">short8 convolution7x7 </td>
389 <td>(</td>
390 <td class="paramtype"><a class="el" href="struct_image.xhtml">Image</a> *&#160;</td>
391 <td class="paramname"><em>src</em>, </td>
392 </tr>
393 <tr>
394 <td class="paramkey"></td>
395 <td></td>
396 <td class="paramtype">const short&#160;</td>
397 <td class="paramname"><em>mat0</em>, </td>
398 </tr>
399 <tr>
400 <td class="paramkey"></td>
401 <td></td>
402 <td class="paramtype">const short&#160;</td>
403 <td class="paramname"><em>mat1</em>, </td>
404 </tr>
405 <tr>
406 <td class="paramkey"></td>
407 <td></td>
408 <td class="paramtype">const short&#160;</td>
409 <td class="paramname"><em>mat2</em>, </td>
410 </tr>
411 <tr>
412 <td class="paramkey"></td>
413 <td></td>
414 <td class="paramtype">const short&#160;</td>
415 <td class="paramname"><em>mat3</em>, </td>
416 </tr>
417 <tr>
418 <td class="paramkey"></td>
419 <td></td>
420 <td class="paramtype">const short&#160;</td>
421 <td class="paramname"><em>mat4</em>, </td>
422 </tr>
423 <tr>
424 <td class="paramkey"></td>
425 <td></td>
426 <td class="paramtype">const short&#160;</td>
427 <td class="paramname"><em>mat5</em>, </td>
428 </tr>
429 <tr>
430 <td class="paramkey"></td>
431 <td></td>
432 <td class="paramtype">const short&#160;</td>
433 <td class="paramname"><em>mat6</em>, </td>
434 </tr>
435 <tr>
436 <td class="paramkey"></td>
437 <td></td>
438 <td class="paramtype">const short&#160;</td>
439 <td class="paramname"><em>mat7</em>, </td>
440 </tr>
441 <tr>
442 <td class="paramkey"></td>
443 <td></td>
444 <td class="paramtype">const short&#160;</td>
445 <td class="paramname"><em>mat8</em>, </td>
446 </tr>
447 <tr>
448 <td class="paramkey"></td>
449 <td></td>
450 <td class="paramtype">const short&#160;</td>
451 <td class="paramname"><em>mat9</em>, </td>
452 </tr>
453 <tr>
454 <td class="paramkey"></td>
455 <td></td>
456 <td class="paramtype">const short&#160;</td>
457 <td class="paramname"><em>mat10</em>, </td>
458 </tr>
459 <tr>
460 <td class="paramkey"></td>
461 <td></td>
462 <td class="paramtype">const short&#160;</td>
463 <td class="paramname"><em>mat11</em>, </td>
464 </tr>
465 <tr>
466 <td class="paramkey"></td>
467 <td></td>
468 <td class="paramtype">const short&#160;</td>
469 <td class="paramname"><em>mat12</em>, </td>
470 </tr>
471 <tr>
472 <td class="paramkey"></td>
473 <td></td>
474 <td class="paramtype">const short&#160;</td>
475 <td class="paramname"><em>mat13</em>, </td>
476 </tr>
477 <tr>
478 <td class="paramkey"></td>
479 <td></td>
480 <td class="paramtype">const short&#160;</td>
481 <td class="paramname"><em>mat14</em>, </td>
482 </tr>
483 <tr>
484 <td class="paramkey"></td>
485 <td></td>
486 <td class="paramtype">const short&#160;</td>
487 <td class="paramname"><em>mat15</em>, </td>
488 </tr>
489 <tr>
490 <td class="paramkey"></td>
491 <td></td>
492 <td class="paramtype">const short&#160;</td>
493 <td class="paramname"><em>mat16</em>, </td>
494 </tr>
495 <tr>
496 <td class="paramkey"></td>
497 <td></td>
498 <td class="paramtype">const short&#160;</td>
499 <td class="paramname"><em>mat17</em>, </td>
500 </tr>
501 <tr>
502 <td class="paramkey"></td>
503 <td></td>
504 <td class="paramtype">const short&#160;</td>
505 <td class="paramname"><em>mat18</em>, </td>
506 </tr>
507 <tr>
508 <td class="paramkey"></td>
509 <td></td>
510 <td class="paramtype">const short&#160;</td>
511 <td class="paramname"><em>mat19</em>, </td>
512 </tr>
513 <tr>
514 <td class="paramkey"></td>
515 <td></td>
516 <td class="paramtype">const short&#160;</td>
517 <td class="paramname"><em>mat20</em>, </td>
518 </tr>
519 <tr>
520 <td class="paramkey"></td>
521 <td></td>
522 <td class="paramtype">const short&#160;</td>
523 <td class="paramname"><em>mat21</em>, </td>
524 </tr>
525 <tr>
526 <td class="paramkey"></td>
527 <td></td>
528 <td class="paramtype">const short&#160;</td>
529 <td class="paramname"><em>mat22</em>, </td>
530 </tr>
531 <tr>
532 <td class="paramkey"></td>
533 <td></td>
534 <td class="paramtype">const short&#160;</td>
535 <td class="paramname"><em>mat23</em>, </td>
536 </tr>
537 <tr>
538 <td class="paramkey"></td>
539 <td></td>
540 <td class="paramtype">const short&#160;</td>
541 <td class="paramname"><em>mat24</em>, </td>
542 </tr>
543 <tr>
544 <td class="paramkey"></td>
545 <td></td>
546 <td class="paramtype">const short&#160;</td>
547 <td class="paramname"><em>mat25</em>, </td>
548 </tr>
549 <tr>
550 <td class="paramkey"></td>
551 <td></td>
552 <td class="paramtype">const short&#160;</td>
553 <td class="paramname"><em>mat26</em>, </td>
554 </tr>
555 <tr>
556 <td class="paramkey"></td>
557 <td></td>
558 <td class="paramtype">const short&#160;</td>
559 <td class="paramname"><em>mat27</em>, </td>
560 </tr>
561 <tr>
562 <td class="paramkey"></td>
563 <td></td>
564 <td class="paramtype">const short&#160;</td>
565 <td class="paramname"><em>mat28</em>, </td>
566 </tr>
567 <tr>
568 <td class="paramkey"></td>
569 <td></td>
570 <td class="paramtype">const short&#160;</td>
571 <td class="paramname"><em>mat29</em>, </td>
572 </tr>
573 <tr>
574 <td class="paramkey"></td>
575 <td></td>
576 <td class="paramtype">const short&#160;</td>
577 <td class="paramname"><em>mat30</em>, </td>
578 </tr>
579 <tr>
580 <td class="paramkey"></td>
581 <td></td>
582 <td class="paramtype">const short&#160;</td>
583 <td class="paramname"><em>mat31</em>, </td>
584 </tr>
585 <tr>
586 <td class="paramkey"></td>
587 <td></td>
588 <td class="paramtype">const short&#160;</td>
589 <td class="paramname"><em>mat32</em>, </td>
590 </tr>
591 <tr>
592 <td class="paramkey"></td>
593 <td></td>
594 <td class="paramtype">const short&#160;</td>
595 <td class="paramname"><em>mat33</em>, </td>
596 </tr>
597 <tr>
598 <td class="paramkey"></td>
599 <td></td>
600 <td class="paramtype">const short&#160;</td>
601 <td class="paramname"><em>mat34</em>, </td>
602 </tr>
603 <tr>
604 <td class="paramkey"></td>
605 <td></td>
606 <td class="paramtype">const short&#160;</td>
607 <td class="paramname"><em>mat35</em>, </td>
608 </tr>
609 <tr>
610 <td class="paramkey"></td>
611 <td></td>
612 <td class="paramtype">const short&#160;</td>
613 <td class="paramname"><em>mat36</em>, </td>
614 </tr>
615 <tr>
616 <td class="paramkey"></td>
617 <td></td>
618 <td class="paramtype">const short&#160;</td>
619 <td class="paramname"><em>mat37</em>, </td>
620 </tr>
621 <tr>
622 <td class="paramkey"></td>
623 <td></td>
624 <td class="paramtype">const short&#160;</td>
625 <td class="paramname"><em>mat38</em>, </td>
626 </tr>
627 <tr>
628 <td class="paramkey"></td>
629 <td></td>
630 <td class="paramtype">const short&#160;</td>
631 <td class="paramname"><em>mat39</em>, </td>
632 </tr>
633 <tr>
634 <td class="paramkey"></td>
635 <td></td>
636 <td class="paramtype">const short&#160;</td>
637 <td class="paramname"><em>mat40</em>, </td>
638 </tr>
639 <tr>
640 <td class="paramkey"></td>
641 <td></td>
642 <td class="paramtype">const short&#160;</td>
643 <td class="paramname"><em>mat41</em>, </td>
644 </tr>
645 <tr>
646 <td class="paramkey"></td>
647 <td></td>
648 <td class="paramtype">const short&#160;</td>
649 <td class="paramname"><em>mat42</em>, </td>
650 </tr>
651 <tr>
652 <td class="paramkey"></td>
653 <td></td>
654 <td class="paramtype">const short&#160;</td>
655 <td class="paramname"><em>mat43</em>, </td>
656 </tr>
657 <tr>
658 <td class="paramkey"></td>
659 <td></td>
660 <td class="paramtype">const short&#160;</td>
661 <td class="paramname"><em>mat44</em>, </td>
662 </tr>
663 <tr>
664 <td class="paramkey"></td>
665 <td></td>
666 <td class="paramtype">const short&#160;</td>
667 <td class="paramname"><em>mat45</em>, </td>
668 </tr>
669 <tr>
670 <td class="paramkey"></td>
671 <td></td>
672 <td class="paramtype">const short&#160;</td>
673 <td class="paramname"><em>mat46</em>, </td>
674 </tr>
675 <tr>
676 <td class="paramkey"></td>
677 <td></td>
678 <td class="paramtype">const short&#160;</td>
679 <td class="paramname"><em>mat47</em>, </td>
680 </tr>
681 <tr>
682 <td class="paramkey"></td>
683 <td></td>
684 <td class="paramtype">const short&#160;</td>
685 <td class="paramname"><em>mat48</em>, </td>
686 </tr>
687 <tr>
688 <td class="paramkey"></td>
689 <td></td>
690 <td class="paramtype">uint&#160;</td>
691 <td class="paramname"><em>scale</em>&#160;</td>
692 </tr>
693 <tr>
694 <td></td>
695 <td>)</td>
696 <td></td><td></td>
697 </tr>
698 </table>
699</div><div class="memdoc">
700
701<p>Apply a 7x7 convolution matrix to a single channel U8 input image and return the result. </p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000702<p>Convolution matrix layout:<br />
703[ mat0, mat1, mat2, mat3 , mat4, mat5, mat6 ]<br />
704[ mat7, mat8, mat9, mat10, mat11, mat12, mat13 ]<br />
705[ mat14, mat15, mat16, mat17, mat18, mat19, mat20 ]<br />
706[ mat21, mat22, mat23, mat24, mat25, mat26, mat27 ]<br />
707[ mat28, mat29, mat30, mat31, mat32, mat33, mat34 ]<br />
708[ mat35, mat36, mat37, mat38, mat39, mat40, mat41 ]<br />
Anthony Barbier871448e2017-03-24 14:54:29 +0000709[ mat42, mat43, mat44, mat45, mat46, mat47, mat48 ]</p>
710<dl class="params"><dt>Parameters</dt><dd>
711 <table class="params">
712 <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>A pointer to source <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> structure. </td></tr>
713 <tr><td class="paramdir">[in]</td><td class="paramname">mat0</td><td>Coefficient from the convolution matrix </td></tr>
714 <tr><td class="paramdir">[in]</td><td class="paramname">mat1</td><td>Coefficient from the convolution matrix </td></tr>
715 <tr><td class="paramdir">[in]</td><td class="paramname">mat2</td><td>Coefficient from the convolution matrix </td></tr>
716 <tr><td class="paramdir">[in]</td><td class="paramname">mat3</td><td>Coefficient from the convolution matrix </td></tr>
717 <tr><td class="paramdir">[in]</td><td class="paramname">mat4</td><td>Coefficient from the convolution matrix </td></tr>
718 <tr><td class="paramdir">[in]</td><td class="paramname">mat5</td><td>Coefficient from the convolution matrix </td></tr>
719 <tr><td class="paramdir">[in]</td><td class="paramname">mat6</td><td>Coefficient from the convolution matrix </td></tr>
720 <tr><td class="paramdir">[in]</td><td class="paramname">mat0</td><td>Coefficient from the convolution matrix </td></tr>
721 <tr><td class="paramdir">[in]</td><td class="paramname">mat7</td><td>Coefficient from the convolution matrix </td></tr>
722 <tr><td class="paramdir">[in]</td><td class="paramname">mat8</td><td>Coefficient from the convolution matrix </td></tr>
723 <tr><td class="paramdir">[in]</td><td class="paramname">mat9</td><td>Coefficient from the convolution matrix </td></tr>
724 <tr><td class="paramdir">[in]</td><td class="paramname">mat10</td><td>Coefficient from the convolution matrix </td></tr>
725 <tr><td class="paramdir">[in]</td><td class="paramname">mat11</td><td>Coefficient from the convolution matrix </td></tr>
726 <tr><td class="paramdir">[in]</td><td class="paramname">mat12</td><td>Coefficient from the convolution matrix </td></tr>
727 <tr><td class="paramdir">[in]</td><td class="paramname">mat13</td><td>Coefficient from the convolution matrix </td></tr>
728 <tr><td class="paramdir">[in]</td><td class="paramname">mat14</td><td>Coefficient from the convolution matrix </td></tr>
729 <tr><td class="paramdir">[in]</td><td class="paramname">mat15</td><td>Coefficient from the convolution matrix </td></tr>
730 <tr><td class="paramdir">[in]</td><td class="paramname">mat16</td><td>Coefficient from the convolution matrix </td></tr>
731 <tr><td class="paramdir">[in]</td><td class="paramname">mat10</td><td>Coefficient from the convolution matrix </td></tr>
732 <tr><td class="paramdir">[in]</td><td class="paramname">mat17</td><td>Coefficient from the convolution matrix </td></tr>
733 <tr><td class="paramdir">[in]</td><td class="paramname">mat18</td><td>Coefficient from the convolution matrix </td></tr>
734 <tr><td class="paramdir">[in]</td><td class="paramname">mat19</td><td>Coefficient from the convolution matrix </td></tr>
735 <tr><td class="paramdir">[in]</td><td class="paramname">mat20</td><td>Coefficient from the convolution matrix </td></tr>
736 <tr><td class="paramdir">[in]</td><td class="paramname">mat21</td><td>Coefficient from the convolution matrix </td></tr>
737 <tr><td class="paramdir">[in]</td><td class="paramname">mat22</td><td>Coefficient from the convolution matrix </td></tr>
738 <tr><td class="paramdir">[in]</td><td class="paramname">mat23</td><td>Coefficient from the convolution matrix </td></tr>
739 <tr><td class="paramdir">[in]</td><td class="paramname">mat24</td><td>Coefficient from the convolution matrix </td></tr>
740 <tr><td class="paramdir">[in]</td><td class="paramname">mat25</td><td>Coefficient from the convolution matrix </td></tr>
741 <tr><td class="paramdir">[in]</td><td class="paramname">mat26</td><td>Coefficient from the convolution matrix </td></tr>
742 <tr><td class="paramdir">[in]</td><td class="paramname">mat27</td><td>Coefficient from the convolution matrix </td></tr>
743 <tr><td class="paramdir">[in]</td><td class="paramname">mat28</td><td>Coefficient from the convolution matrix </td></tr>
744 <tr><td class="paramdir">[in]</td><td class="paramname">mat29</td><td>Coefficient from the convolution matrix </td></tr>
745 <tr><td class="paramdir">[in]</td><td class="paramname">mat30</td><td>Coefficient from the convolution matrix </td></tr>
746 <tr><td class="paramdir">[in]</td><td class="paramname">mat31</td><td>Coefficient from the convolution matrix </td></tr>
747 <tr><td class="paramdir">[in]</td><td class="paramname">mat32</td><td>Coefficient from the convolution matrix </td></tr>
748 <tr><td class="paramdir">[in]</td><td class="paramname">mat33</td><td>Coefficient from the convolution matrix </td></tr>
749 <tr><td class="paramdir">[in]</td><td class="paramname">mat34</td><td>Coefficient from the convolution matrix </td></tr>
750 <tr><td class="paramdir">[in]</td><td class="paramname">mat35</td><td>Coefficient from the convolution matrix </td></tr>
751 <tr><td class="paramdir">[in]</td><td class="paramname">mat36</td><td>Coefficient from the convolution matrix </td></tr>
752 <tr><td class="paramdir">[in]</td><td class="paramname">mat37</td><td>Coefficient from the convolution matrix </td></tr>
753 <tr><td class="paramdir">[in]</td><td class="paramname">mat38</td><td>Coefficient from the convolution matrix </td></tr>
754 <tr><td class="paramdir">[in]</td><td class="paramname">mat39</td><td>Coefficient from the convolution matrix </td></tr>
755 <tr><td class="paramdir">[in]</td><td class="paramname">mat40</td><td>Coefficient from the convolution matrix </td></tr>
756 <tr><td class="paramdir">[in]</td><td class="paramname">mat41</td><td>Coefficient from the convolution matrix </td></tr>
757 <tr><td class="paramdir">[in]</td><td class="paramname">mat42</td><td>Coefficient from the convolution matrix </td></tr>
758 <tr><td class="paramdir">[in]</td><td class="paramname">mat43</td><td>Coefficient from the convolution matrix </td></tr>
759 <tr><td class="paramdir">[in]</td><td class="paramname">mat44</td><td>Coefficient from the convolution matrix </td></tr>
760 <tr><td class="paramdir">[in]</td><td class="paramname">mat45</td><td>Coefficient from the convolution matrix </td></tr>
761 <tr><td class="paramdir">[in]</td><td class="paramname">mat46</td><td>Coefficient from the convolution matrix </td></tr>
762 <tr><td class="paramdir">[in]</td><td class="paramname">mat47</td><td>Coefficient from the convolution matrix </td></tr>
763 <tr><td class="paramdir">[in]</td><td class="paramname">mat48</td><td>Coefficient from the convolution matrix </td></tr>
764 <tr><td class="paramdir">[in]</td><td class="paramname">scale</td><td>Convolution matrix scale (Sum of the coefficients, or 1 if the sum is 0) </td></tr>
765 </table>
766 </dd>
767</dl>
768
769<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00202">202</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
770
Jenkinsb3a371b2018-05-23 11:36:53 +0100771<p>References <a class="el" href="convolution7x7_8cl_source.xhtml#l00052">convolution1x7()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="helpers_8h_source.xhtml#l00303">offset()</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000772
773<p>Referenced by <a class="el" href="convolution7x7_8cl_source.xhtml#l00323">convolution7x7_static()</a>.</p>
Jenkinsb3a371b2018-05-23 11:36:53 +0100774<div class="fragment"><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;{</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8)</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; pixels;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; pixels = <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, -3), mat0, mat1, mat2, mat3, mat4, mat5, mat6);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, -2), mat7, mat8, mat9, mat10, mat11, mat12, mat13);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, -1), mat14, mat15, mat16, mat17, mat18, mat19, mat20);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, 0), mat21, mat22, mat23, mat24, mat25, mat26, mat27);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, 1), mat28, mat29, mat30, mat31, mat32, mat33, mat34);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, 2), mat35, mat36, mat37, mat38, mat39, mat40, mat41);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; pixels += <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(src, -3, 3), mat42, mat43, mat44, mat45, mat46, mat47, mat48);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; if(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#acec6d8ad52a28972fa74e071c1a63b6a">scale</a> &gt; 0)</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; pixels /= (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8))scale;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">return</span> convert_short8_sat(pixels);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;}</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00303">helpers.h:303</a></div></div>
775<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_acec6d8ad52a28972fa74e071c1a63b6a"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#acec6d8ad52a28972fa74e071c1a63b6a">arm_compute::test::validation::scale</a></div><div class="ttdeci">scale</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_o_n_2_pixel_wise_multiplication_8cpp_source.xhtml#l00178">PixelWiseMultiplication.cpp:178</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +0100776<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000777<div class="ttc" id="convolution7x7_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00027">convolution7x7.cl:27</a></div></div>
778<div class="ttc" id="convolution7x7_8cl_xhtml_a7cedca46bfb1e16a870477a88ce93b9c"><div class="ttname"><a href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a></div><div class="ttdeci">short8 convolution1x7(__global const uchar *left_pixel, const short left1_coeff, const short left2_coeff, const short left3_coeff, const short middle_coeff, const short right1_coeff, const short right2_coeff, const short right3_coeff)</div><div class="ttdoc">Compute a 1D horizontal convolution of size 7 for 8 bytes assuming the input is made of 1 channel of ...</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00052">convolution7x7.cl:52</a></div></div>
779</div><!-- fragment -->
780</div>
781</div>
782<a class="anchor" id="aac65ae3322d90d7b270614f331ef600e"></a>
783<div class="memitem">
784<div class="memproto">
785 <table class="memname">
786 <tr>
787 <td class="memname">__kernel void convolution7x7_static </td>
788 <td>(</td>
789 <td class="paramtype">__global uchar *&#160;</td>
790 <td class="paramname"><em>src_ptr</em>, </td>
791 </tr>
792 <tr>
793 <td class="paramkey"></td>
794 <td></td>
795 <td class="paramtype">uint&#160;</td>
796 <td class="paramname"><em>src_stride_x</em>, </td>
797 </tr>
798 <tr>
799 <td class="paramkey"></td>
800 <td></td>
801 <td class="paramtype">uint&#160;</td>
802 <td class="paramname"><em>src_step_x</em>, </td>
803 </tr>
804 <tr>
805 <td class="paramkey"></td>
806 <td></td>
807 <td class="paramtype">uint&#160;</td>
808 <td class="paramname"><em>src_stride_y</em>, </td>
809 </tr>
810 <tr>
811 <td class="paramkey"></td>
812 <td></td>
813 <td class="paramtype">uint&#160;</td>
814 <td class="paramname"><em>src_step_y</em>, </td>
815 </tr>
816 <tr>
817 <td class="paramkey"></td>
818 <td></td>
819 <td class="paramtype">uint&#160;</td>
820 <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td>
821 </tr>
822 <tr>
823 <td class="paramkey"></td>
824 <td></td>
825 <td class="paramtype">__global uchar *&#160;</td>
826 <td class="paramname"><em>dst_ptr</em>, </td>
827 </tr>
828 <tr>
829 <td class="paramkey"></td>
830 <td></td>
831 <td class="paramtype">uint&#160;</td>
832 <td class="paramname"><em>dst_stride_x</em>, </td>
833 </tr>
834 <tr>
835 <td class="paramkey"></td>
836 <td></td>
837 <td class="paramtype">uint&#160;</td>
838 <td class="paramname"><em>dst_step_x</em>, </td>
839 </tr>
840 <tr>
841 <td class="paramkey"></td>
842 <td></td>
843 <td class="paramtype">uint&#160;</td>
844 <td class="paramname"><em>dst_stride_y</em>, </td>
845 </tr>
846 <tr>
847 <td class="paramkey"></td>
848 <td></td>
849 <td class="paramtype">uint&#160;</td>
850 <td class="paramname"><em>dst_step_y</em>, </td>
851 </tr>
852 <tr>
853 <td class="paramkey"></td>
854 <td></td>
855 <td class="paramtype">uint&#160;</td>
856 <td class="paramname"><em>dst_offset_first_element_in_bytes</em>&#160;</td>
857 </tr>
858 <tr>
859 <td></td>
860 <td>)</td>
861 <td></td><td></td>
862 </tr>
863 </table>
864</div><div class="memdoc">
865
866<p>Apply a static 7x7 convolution matrix to a single channel U8 input image and output a single channel U8 image including the borders. </p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000867<dl class="section attention"><dt>Attention</dt><dd>The matrix coefficients(MAT0, MAT1, ... MAT48, SCALE), DATA_TYPE_OUT need to be passed at compile time:<br />
Anthony Barbier871448e2017-03-24 14:54:29 +0000868e.g. -DMAT0=7 -DMAT1=8, ... -DMAT48=48, -DSCALE=6, -DDATA_TYPE_OUT=int</dd></dl>
869<dl class="params"><dt>Parameters</dt><dd>
870 <table class="params">
871 <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source image. Supported data types: U8 </td></tr>
872 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr>
873 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_x</td><td>src_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
874 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr>
875 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_y</td><td>src_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
876 <tr><td class="paramdir">[in]</td><td class="paramname">src_offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
877 <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination image. Supported data types: U8, S16 </td></tr>
878 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr>
879 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
880 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr>
881 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
882 <tr><td class="paramdir">[in]</td><td class="paramname">dst_offset_first_element_in_bytes</td><td>The offset of the first element in the destination image </td></tr>
883 </table>
884 </dd>
885</dl>
886
887<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00323">323</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
888
Jenkinsb3a371b2018-05-23 11:36:53 +0100889<p>References <a class="el" href="direct__convolution1x1_8cl_source.xhtml#l00040">CONVERT_SAT</a>, <a class="el" href="helpers_8h_source.xhtml#l00104">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00202">convolution7x7()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00035">DATA_TYPE_OUT</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00137">arm_compute::test::validation::dst</a>, <a class="el" href="helpers_8h_source.xhtml#l00144">Image::ptr</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
Anthony Barbierf45d5a92018-01-24 16:23:15 +0000890<div class="fragment"><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;{</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(src);</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">dst</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(dst);</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; short8 pixels = <a class="code" href="convolution7x7_8cl.xhtml#abda5491f14bab2d88026e3174a2151c2">convolution7x7</a>(&amp;src,</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; MAT0, MAT1, MAT2, MAT3, MAT4, MAT5, MAT6, MAT7, MAT8, MAT9, MAT10, MAT11, MAT12, MAT13,</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; MAT14, MAT15, MAT16, MAT17, MAT18, MAT19, MAT20, MAT21, MAT22, MAT23, MAT24, MAT25,</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; MAT26, MAT27, MAT28, MAT29, MAT30, MAT31, MAT32, MAT33, MAT34, MAT35, MAT36, MAT37,</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; MAT38, MAT39, MAT40, MAT41, MAT42, MAT43, MAT44, MAT45, MAT46, MAT47, MAT48, SCALE);</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="comment">// Clamp results to [ 0, 255 ] and store them in dst</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; vstore8(<a class="code" href="direct__convolution1x1_8cl.xhtml#a1f15728672380ade7a238f5e783d54d2">CONVERT_SAT</a>(pixels, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a>, 8)), 0, (__global <a class="code" href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a> *)dst.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;}</div><div class="ttc" id="direct__convolution1x1_8cl_xhtml_a1f15728672380ade7a238f5e783d54d2"><div class="ttname"><a href="direct__convolution1x1_8cl.xhtml#a1f15728672380ade7a238f5e783d54d2">CONVERT_SAT</a></div><div class="ttdeci">#define CONVERT_SAT(a, b)</div><div class="ttdef"><b>Definition:</b> <a href="direct__convolution1x1_8cl_source.xhtml#l00040">direct_convolution1x1.cl:40</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +0100891<div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00104">helpers.h:104</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000892<div class="ttc" id="convolution7x7_8cl_xhtml_abda5491f14bab2d88026e3174a2151c2"><div class="ttname"><a href="convolution7x7_8cl.xhtml#abda5491f14bab2d88026e3174a2151c2">convolution7x7</a></div><div class="ttdeci">short8 convolution7x7(Image *src, const short mat0, const short mat1, const short mat2, const short mat3, const short mat4, const short mat5, const short mat6, const short mat7, const short mat8, const short mat9, const short mat10, const short mat11, const short mat12, const short mat13, const short mat14, const short mat15, const short mat16, const short mat17, const short mat18, const short mat19, const short mat20, const short mat21, const short mat22, const short mat23, const short mat24, const short mat25, const short mat26, const short mat27, const short mat28, const short mat29, const short mat30, const short mat31, const short mat32, const short mat33, const short mat34, const short mat35, const short mat36, const short mat37, const short mat38, const short mat39, const short mat40, const short mat41, const short mat42, const short mat43, const short mat44, const short mat45, const short mat46, const short mat47, const short mat48, uint scale)</div><div class="ttdoc">Apply a 7x7 convolution matrix to a single channel U8 input image and return the result. </div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00202">convolution7x7.cl:202</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +0000893<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_adbf67dcee294e673cf796f1ed8aeb6a4"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">arm_compute::test::validation::dst</a></div><div class="ttdeci">CLTensor dst</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00137">Convolution.cpp:137</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +0100894<div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00142">helpers.h:142</a></div></div>
895<div class="ttc" id="struct_image_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">Image::ptr</a></div><div class="ttdeci">__global uchar * ptr</div><div class="ttdoc">Pointer to the starting postion of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00144">helpers.h:144</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +0100896<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000897<div class="ttc" id="convolution7x7_8cl_xhtml_ac06f3e24d3fffd3c465d8b2a6e7c985e"><div class="ttname"><a href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a></div><div class="ttdeci">#define DATA_TYPE_OUT</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00035">convolution7x7.cl:35</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +0000898<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure &amp; src</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000899</div><!-- fragment -->
900</div>
901</div>
902<a class="anchor" id="af82c3330f3fbf7caa9229ffd9a4149fb"></a>
903<div class="memitem">
904<div class="memproto">
905 <table class="memname">
906 <tr>
907 <td class="memname">__kernel void convolution_separable1x7_static </td>
908 <td>(</td>
909 <td class="paramtype">__global uchar *&#160;</td>
910 <td class="paramname"><em>src_ptr</em>, </td>
911 </tr>
912 <tr>
913 <td class="paramkey"></td>
914 <td></td>
915 <td class="paramtype">uint&#160;</td>
916 <td class="paramname"><em>src_stride_x</em>, </td>
917 </tr>
918 <tr>
919 <td class="paramkey"></td>
920 <td></td>
921 <td class="paramtype">uint&#160;</td>
922 <td class="paramname"><em>src_step_x</em>, </td>
923 </tr>
924 <tr>
925 <td class="paramkey"></td>
926 <td></td>
927 <td class="paramtype">uint&#160;</td>
928 <td class="paramname"><em>src_stride_y</em>, </td>
929 </tr>
930 <tr>
931 <td class="paramkey"></td>
932 <td></td>
933 <td class="paramtype">uint&#160;</td>
934 <td class="paramname"><em>src_step_y</em>, </td>
935 </tr>
936 <tr>
937 <td class="paramkey"></td>
938 <td></td>
939 <td class="paramtype">uint&#160;</td>
940 <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td>
941 </tr>
942 <tr>
943 <td class="paramkey"></td>
944 <td></td>
945 <td class="paramtype">__global uchar *&#160;</td>
946 <td class="paramname"><em>dst_ptr</em>, </td>
947 </tr>
948 <tr>
949 <td class="paramkey"></td>
950 <td></td>
951 <td class="paramtype">uint&#160;</td>
952 <td class="paramname"><em>dst_stride_x</em>, </td>
953 </tr>
954 <tr>
955 <td class="paramkey"></td>
956 <td></td>
957 <td class="paramtype">uint&#160;</td>
958 <td class="paramname"><em>dst_step_x</em>, </td>
959 </tr>
960 <tr>
961 <td class="paramkey"></td>
962 <td></td>
963 <td class="paramtype">uint&#160;</td>
964 <td class="paramname"><em>dst_stride_y</em>, </td>
965 </tr>
966 <tr>
967 <td class="paramkey"></td>
968 <td></td>
969 <td class="paramtype">uint&#160;</td>
970 <td class="paramname"><em>dst_step_y</em>, </td>
971 </tr>
972 <tr>
973 <td class="paramkey"></td>
974 <td></td>
975 <td class="paramtype">uint&#160;</td>
976 <td class="paramname"><em>dst_offset_first_element_in_bytes</em>&#160;</td>
977 </tr>
978 <tr>
979 <td></td>
980 <td>)</td>
981 <td></td><td></td>
982 </tr>
983 </table>
984</div><div class="memdoc">
985
986<p>Apply a 1x7 static convolution matrix to a single channel U8 input image and output a single temporary channel image. </p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +0000987<dl class="section attention"><dt>Attention</dt><dd>The matrix coefficients (MAT0, MAT1, MAT2, MAT3, MAT4, MAT5, MAT6) and DATA_TYPE need to be passed at compile time:<br />
Anthony Barbier871448e2017-03-24 14:54:29 +0000988e.g. -DMAT0=1 -DMAT1=2, ... -DMAT6=6, -DDATA_TYPE=int</dd></dl>
989<dl class="params"><dt>Parameters</dt><dd>
990 <table class="params">
991 <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source image. Supported data types: U8 </td></tr>
992 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr>
993 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_x</td><td>src_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
994 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr>
995 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_y</td><td>src_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
996 <tr><td class="paramdir">[in]</td><td class="paramname">src_offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
997 <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination image. Supported data types: U16, S16, S32 </td></tr>
998 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr>
999 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1000 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr>
1001 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
1002 <tr><td class="paramdir">[in]</td><td class="paramname">dst_offset_first_element_in_bytes</td><td>The offset of the first element in the destination image </td></tr>
1003 </table>
1004 </dd>
1005</dl>
1006
1007<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00254">254</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
1008
Jenkinsb3a371b2018-05-23 11:36:53 +01001009<p>References <a class="el" href="helpers_8h_source.xhtml#l00104">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00052">convolution1x7()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00137">arm_compute::test::validation::dst</a>, <a class="el" href="helpers_8h_source.xhtml#l00303">offset()</a>, <a class="el" href="helpers_8h_source.xhtml#l00144">Image::ptr</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
1010<div class="fragment"><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;{</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(src);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">dst</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(dst);</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="comment">// Output pixels</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8)</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; pixels = <a class="code" href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a>(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&amp;src, -3, 0), MAT0, MAT1, MAT2, MAT3, MAT4, MAT5, MAT6);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="comment">// Store result in dst</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; vstore8(pixels, 0, (__global <a class="code" href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)dst.ptr);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;}</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00303">helpers.h:303</a></div></div>
1011<div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00104">helpers.h:104</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +00001012<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_adbf67dcee294e673cf796f1ed8aeb6a4"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">arm_compute::test::validation::dst</a></div><div class="ttdeci">CLTensor dst</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00137">Convolution.cpp:137</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +01001013<div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00142">helpers.h:142</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +01001014<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001015<div class="ttc" id="convolution7x7_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution7x7_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00027">convolution7x7.cl:27</a></div></div>
1016<div class="ttc" id="convolution7x7_8cl_xhtml_a7cedca46bfb1e16a870477a88ce93b9c"><div class="ttname"><a href="convolution7x7_8cl.xhtml#a7cedca46bfb1e16a870477a88ce93b9c">convolution1x7</a></div><div class="ttdeci">short8 convolution1x7(__global const uchar *left_pixel, const short left1_coeff, const short left2_coeff, const short left3_coeff, const short middle_coeff, const short right1_coeff, const short right2_coeff, const short right3_coeff)</div><div class="ttdoc">Compute a 1D horizontal convolution of size 7 for 8 bytes assuming the input is made of 1 channel of ...</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00052">convolution7x7.cl:52</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +00001017<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure &amp; src</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001018</div><!-- fragment -->
1019</div>
1020</div>
1021<a class="anchor" id="a27d964d8bf6620c7e9960e895df40ade"></a>
1022<div class="memitem">
1023<div class="memproto">
1024 <table class="memname">
1025 <tr>
1026 <td class="memname">__kernel void convolution_separable7x1_static </td>
1027 <td>(</td>
1028 <td class="paramtype">__global uchar *&#160;</td>
1029 <td class="paramname"><em>src_ptr</em>, </td>
1030 </tr>
1031 <tr>
1032 <td class="paramkey"></td>
1033 <td></td>
1034 <td class="paramtype">uint&#160;</td>
1035 <td class="paramname"><em>src_stride_x</em>, </td>
1036 </tr>
1037 <tr>
1038 <td class="paramkey"></td>
1039 <td></td>
1040 <td class="paramtype">uint&#160;</td>
1041 <td class="paramname"><em>src_step_x</em>, </td>
1042 </tr>
1043 <tr>
1044 <td class="paramkey"></td>
1045 <td></td>
1046 <td class="paramtype">uint&#160;</td>
1047 <td class="paramname"><em>src_stride_y</em>, </td>
1048 </tr>
1049 <tr>
1050 <td class="paramkey"></td>
1051 <td></td>
1052 <td class="paramtype">uint&#160;</td>
1053 <td class="paramname"><em>src_step_y</em>, </td>
1054 </tr>
1055 <tr>
1056 <td class="paramkey"></td>
1057 <td></td>
1058 <td class="paramtype">uint&#160;</td>
1059 <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td>
1060 </tr>
1061 <tr>
1062 <td class="paramkey"></td>
1063 <td></td>
1064 <td class="paramtype">__global uchar *&#160;</td>
1065 <td class="paramname"><em>dst_ptr</em>, </td>
1066 </tr>
1067 <tr>
1068 <td class="paramkey"></td>
1069 <td></td>
1070 <td class="paramtype">uint&#160;</td>
1071 <td class="paramname"><em>dst_stride_x</em>, </td>
1072 </tr>
1073 <tr>
1074 <td class="paramkey"></td>
1075 <td></td>
1076 <td class="paramtype">uint&#160;</td>
1077 <td class="paramname"><em>dst_step_x</em>, </td>
1078 </tr>
1079 <tr>
1080 <td class="paramkey"></td>
1081 <td></td>
1082 <td class="paramtype">uint&#160;</td>
1083 <td class="paramname"><em>dst_stride_y</em>, </td>
1084 </tr>
1085 <tr>
1086 <td class="paramkey"></td>
1087 <td></td>
1088 <td class="paramtype">uint&#160;</td>
1089 <td class="paramname"><em>dst_step_y</em>, </td>
1090 </tr>
1091 <tr>
1092 <td class="paramkey"></td>
1093 <td></td>
1094 <td class="paramtype">uint&#160;</td>
1095 <td class="paramname"><em>dst_offset_first_element_in_bytes</em>&#160;</td>
1096 </tr>
1097 <tr>
1098 <td></td>
1099 <td>)</td>
1100 <td></td><td></td>
1101 </tr>
1102 </table>
1103</div><div class="memdoc">
1104
1105<p>Apply a 7x1 static convolution matrix to a single channel U8 input image and output a single channel image. </p>
Anthony Barbier8140e1e2017-12-14 23:48:46 +00001106<dl class="section attention"><dt>Attention</dt><dd>The matrix coefficients (MAT7, MAT8, MAT9, MAT10, MAT11, MAT12, MAT13, SCALE), COMPUTE_TYPE and DATA_TYPE_OUT need to be passed at compile time:<br />
Anthony Barbier871448e2017-03-24 14:54:29 +00001107e.g. -DMAT0=7 -DMAT1=8, ... -DMAT24=13, -DSCALE=6, -DCOMPUTE_TYPE=int, -DDATA_TYPE_OUT=int</dd></dl>
1108<dl class="params"><dt>Parameters</dt><dd>
1109 <table class="params">
1110 <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source image. Supported data types: U16, S16, S32 </td></tr>
1111 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr>
1112 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_x</td><td>src_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1113 <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr>
1114 <tr><td class="paramdir">[in]</td><td class="paramname">src_step_y</td><td>src_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
1115 <tr><td class="paramdir">[in]</td><td class="paramname">src_offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
1116 <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination image. Supported data types: U8, S16 </td></tr>
1117 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr>
1118 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1119 <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr>
1120 <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
1121 <tr><td class="paramdir">[in]</td><td class="paramname">dst_offset_first_element_in_bytes</td><td>The offset of the first element in the destination image </td></tr>
1122 </table>
1123 </dd>
1124</dl>
1125
1126<p>Definition at line <a class="el" href="convolution7x7_8cl_source.xhtml#l00287">287</a> of file <a class="el" href="convolution7x7_8cl_source.xhtml">convolution7x7.cl</a>.</p>
1127
Jenkinsb3a371b2018-05-23 11:36:53 +01001128<p>References <a class="el" href="convolution7x7_8cl_source.xhtml#l00031">COMPUTE_TYPE</a>, <a class="el" href="direct__convolution1x1_8cl_source.xhtml#l00040">CONVERT_SAT</a>, <a class="el" href="helpers_8h_source.xhtml#l00104">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00097">convolution7x1()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00035">DATA_TYPE_OUT</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00137">arm_compute::test::validation::dst</a>, <a class="el" href="helpers_8h_source.xhtml#l00144">Image::ptr</a>, <a class="el" href="_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, and <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>.</p>
Anthony Barbierf45d5a92018-01-24 16:23:15 +00001129<div class="fragment"><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;{</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(src);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">dst</a> = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(dst);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="comment">// Output pixels</span></div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a>, 8)</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; pixels = <a class="code" href="convolution7x7_8cl.xhtml#a8946e11bc6019e8dd7d06b00d27a5b1b">convolution7x1</a>(&amp;src, MAT7, MAT8, MAT9, MAT10, MAT11, MAT12, MAT13);</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="comment">// Divide by the scale</span></div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; pixels /= (<a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a>, 8))SCALE;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="comment">// Store result in dst</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; vstore8(<a class="code" href="direct__convolution1x1_8cl.xhtml#a1f15728672380ade7a238f5e783d54d2">CONVERT_SAT</a>(pixels, <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a>, 8)), 0, (__global DATA_TYPE_OUT *)dst.ptr);</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;}</div><div class="ttc" id="direct__convolution1x1_8cl_xhtml_a1f15728672380ade7a238f5e783d54d2"><div class="ttname"><a href="direct__convolution1x1_8cl.xhtml#a1f15728672380ade7a238f5e783d54d2">CONVERT_SAT</a></div><div class="ttdeci">#define CONVERT_SAT(a, b)</div><div class="ttdef"><b>Definition:</b> <a href="direct__convolution1x1_8cl_source.xhtml#l00040">direct_convolution1x1.cl:40</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +01001130<div class="ttc" id="convolution7x7_8cl_xhtml_a26babb0c719990ecbdf3abc6de920875"><div class="ttname"><a href="convolution7x7_8cl.xhtml#a26babb0c719990ecbdf3abc6de920875">COMPUTE_TYPE</a></div><div class="ttdeci">#define COMPUTE_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00031">convolution7x7.cl:31</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +01001131<div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00104">helpers.h:104</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001132<div class="ttc" id="convolution7x7_8cl_xhtml_a8946e11bc6019e8dd7d06b00d27a5b1b"><div class="ttname"><a href="convolution7x7_8cl.xhtml#a8946e11bc6019e8dd7d06b00d27a5b1b">convolution7x1</a></div><div class="ttdeci">int8 convolution7x1(Image *src, const short up1_coeff, const short up2_coeff, const short up3_coeff, const short middle_coeff, const short down1_coeff, const short down2_coeff, const short down3_coeff)</div><div class="ttdoc">Compute a 1D vertical convolution of size 7 for 8 bytes assuming the input is made of 1 channel of 1 ...</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00097">convolution7x7.cl:97</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +00001133<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_adbf67dcee294e673cf796f1ed8aeb6a4"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">arm_compute::test::validation::dst</a></div><div class="ttdeci">CLTensor dst</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00137">Convolution.cpp:137</a></div></div>
Jenkinsb3a371b2018-05-23 11:36:53 +01001134<div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00142">helpers.h:142</a></div></div>
Kaizen8938bd32017-09-28 14:38:23 +01001135<div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001136<div class="ttc" id="convolution7x7_8cl_xhtml_ac06f3e24d3fffd3c465d8b2a6e7c985e"><div class="ttname"><a href="convolution7x7_8cl.xhtml#ac06f3e24d3fffd3c465d8b2a6e7c985e">DATA_TYPE_OUT</a></div><div class="ttdeci">#define DATA_TYPE_OUT</div><div class="ttdef"><b>Definition:</b> <a href="convolution7x7_8cl_source.xhtml#l00035">convolution7x7.cl:35</a></div></div>
Anthony Barbier06ea0482018-02-22 15:45:35 +00001137<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure &amp; src</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001138</div><!-- fragment -->
1139</div>
1140</div>
1141</div><!-- contents -->
1142</div><!-- doc-content -->
1143<!-- start footer part -->
1144<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1145 <ul>
Anthony Barbier8140e1e2017-12-14 23:48:46 +00001146 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.xhtml">core</a></li><li class="navelem"><a class="el" href="dir_8c278f79c760e5c5fbd911f9870614c1.xhtml">CL</a></li><li class="navelem"><a class="el" href="dir_25885286e9dad4fa105b7b25a8031bbf.xhtml">cl_kernels</a></li><li class="navelem"><a class="el" href="convolution7x7_8cl.xhtml">convolution7x7.cl</a></li>
Jenkinsb3a371b2018-05-23 11:36:53 +01001147 <li class="footer">Generated on Wed May 23 2018 11:36:39 for Compute Library by
Anthony Barbier871448e2017-03-24 14:54:29 +00001148 <a href="http://www.doxygen.org/index.html">
Anthony Barbier8140e1e2017-12-14 23:48:46 +00001149 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
Anthony Barbier871448e2017-03-24 14:54:29 +00001150 </ul>
1151</div>
1152</body>
1153</html>