blob: 504c76dca735e7c7a952977ed07dee3fd627879d [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"/>
Kaizen8938bd32017-09-28 14:38:23 +01007<meta name="generator" content="Doxygen 1.8.6"/>
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/helpers.h 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 Barbier871448e2017-03-24 14:54:29 +000015<script type="text/javascript" src="navtree.js"></script>
16<script type="text/javascript">
17 $(document).ready(initResizable);
18 $(window).load(resizeHeight);
19</script>
20<link href="search/search.css" rel="stylesheet" type="text/css"/>
Anthony Barbier871448e2017-03-24 14:54:29 +000021<script type="text/javascript" src="search/search.js"></script>
22<script type="text/javascript">
Kaizen8938bd32017-09-28 14:38:23 +010023 $(document).ready(function() { searchBox.OnSelectItem(0); });
Anthony Barbier871448e2017-03-24 14:54:29 +000024</script>
25<script type="text/x-mathjax-config">
26 MathJax.Hub.Config({
27 extensions: ["tex2jax.js"],
28 jax: ["input/TeX","output/HTML-CSS"],
29});
Kaizen8938bd32017-09-28 14:38:23 +010030</script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
Anthony Barbier871448e2017-03-24 14:54:29 +000031<link href="doxygen.css" rel="stylesheet" type="text/css" />
32</head>
33<body>
34<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
35<div id="titlearea">
36<table cellspacing="0" cellpadding="0">
37 <tbody>
38 <tr style="height: 56px;">
39 <td style="padding-left: 0.5em;">
Anthony Barbierdbdab852017-06-23 15:42:00 +010040 <div id="projectname">Compute Library
Kaizen8938bd32017-09-28 14:38:23 +010041 &#160;<span id="projectnumber">17.09</span>
Anthony Barbier871448e2017-03-24 14:54:29 +000042 </div>
43 </td>
44 </tr>
45 </tbody>
46</table>
47</div>
48<!-- end header part -->
Kaizen8938bd32017-09-28 14:38:23 +010049<!-- Generated by Doxygen 1.8.6 -->
Anthony Barbier871448e2017-03-24 14:54:29 +000050<script type="text/javascript">
51var searchBox = new SearchBox("searchBox", "search",false,'Search');
52</script>
53 <div id="navrow1" class="tabs">
54 <ul class="tablist">
55 <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
Anthony Barbierdbdab852017-06-23 15:42:00 +010056 <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
Anthony Barbier871448e2017-03-24 14:54:29 +000057 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
58 <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
59 <li class="current"><a href="files.xhtml"><span>Files</span></a></li>
60 <li>
61 <div id="MSearchBox" class="MSearchBoxInactive">
62 <span class="left">
63 <img id="MSearchSelect" src="search/mag_sel.png"
64 onmouseover="return searchBox.OnSearchSelectShow()"
65 onmouseout="return searchBox.OnSearchSelectHide()"
66 alt=""/>
67 <input type="text" id="MSearchField" value="Search" accesskey="S"
68 onfocus="searchBox.OnSearchFieldFocus(true)"
69 onblur="searchBox.OnSearchFieldFocus(false)"
70 onkeyup="searchBox.OnSearchFieldChange(event)"/>
71 </span><span class="right">
72 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
73 </span>
74 </div>
75 </li>
76 </ul>
77 </div>
78 <div id="navrow2" class="tabs2">
79 <ul class="tablist">
80 <li><a href="files.xhtml"><span>File&#160;List</span></a></li>
81 <li><a href="globals.xhtml"><span>Globals</span></a></li>
82 </ul>
83 </div>
84</div><!-- top -->
85<div id="side-nav" class="ui-resizable side-nav-resizable">
86 <div id="nav-tree">
87 <div id="nav-tree-contents">
88 <div id="nav-sync" class="sync"></div>
89 </div>
90 </div>
91 <div id="splitbar" style="-moz-user-select:none;"
92 class="ui-resizable-handle">
93 </div>
94</div>
95<script type="text/javascript">
96$(document).ready(function(){initNavTree('helpers_8h.xhtml','');});
97</script>
98<div id="doc-content">
99<!-- window showing the filter options -->
100<div id="MSearchSelectWindow"
101 onmouseover="return searchBox.OnSearchSelectShow()"
102 onmouseout="return searchBox.OnSearchSelectHide()"
103 onkeydown="return searchBox.OnSearchSelectKey(event)">
Kaizen8938bd32017-09-28 14:38:23 +0100104<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000105
106<!-- iframe showing the search results (closed by default) -->
107<div id="MSearchResultsWindow">
108<iframe src="javascript:void(0)" frameborder="0"
109 name="MSearchResults" id="MSearchResults">
110</iframe>
111</div>
112
113<div class="header">
114 <div class="summary">
115<a href="#nested-classes">Data Structures</a> &#124;
116<a href="#define-members">Macros</a> &#124;
117<a href="#typedef-members">Typedefs</a> &#124;
118<a href="#func-members">Functions</a> </div>
119 <div class="headertitle">
120<div class="title">helpers.h File Reference</div> </div>
121</div><!--header-->
122<div class="contents">
123
124<p><a href="helpers_8h_source.xhtml">Go to the source code of this file.</a></p>
125<table class="memberdecls">
126<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
127Data Structures</h2></td></tr>
128<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector.xhtml">Vector</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100129<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a> information. <a href="struct_vector.xhtml#details">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000130<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_image.xhtml">Image</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100132<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> information. <a href="struct_image.xhtml#details">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000133<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
134<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100135<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold 3D tensor information. <a href="struct_tensor3_d.xhtml#details">More...</a><br/></td></tr>
136<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
137<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a></td></tr>
138<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold 4D tensor information. <a href="struct_tensor4_d.xhtml#details">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000139<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
140</table><table class="memberdecls">
141<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
142Macros</h2></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100143<tr class="memitem:ae4b532a93c757194ec73b6790a3e6b1f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#ae4b532a93c757194ec73b6790a3e6b1f">EXPAND</a>(x)&#160;&#160;&#160;x</td></tr>
144<tr class="separator:ae4b532a93c757194ec73b6790a3e6b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
145<tr class="memitem:aabdbe431f2713c5c2604cb9872b66aab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#aabdbe431f2713c5c2604cb9872b66aab">CLAMP</a>(x, min_val, max_val)&#160;&#160;&#160;min(max(x, min_val), max_val)</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000146<tr class="separator:aabdbe431f2713c5c2604cb9872b66aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100147<tr class="memitem:a29367a809c14c294feefc1a8dad93752"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a29367a809c14c294feefc1a8dad93752">VLOAD_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;vload##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td></tr>
148<tr class="separator:a29367a809c14c294feefc1a8dad93752"><td class="memSeparator" colspan="2">&#160;</td></tr>
149<tr class="memitem:a287e2fc366c312b468382c95bb90f91f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a287e2fc366c312b468382c95bb90f91f">VLOAD</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a29367a809c14c294feefc1a8dad93752">VLOAD_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td></tr>
150<tr class="separator:a287e2fc366c312b468382c95bb90f91f"><td class="memSeparator" colspan="2">&#160;</td></tr>
151<tr class="memitem:aeedcb2d8b4b0ce17747474d4da15f199"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#aeedcb2d8b4b0ce17747474d4da15f199">VSTORE_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;vstore##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td></tr>
152<tr class="separator:aeedcb2d8b4b0ce17747474d4da15f199"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:acb282042d1edeeaa3cc979a206f78b54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#aeedcb2d8b4b0ce17747474d4da15f199">VSTORE_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td></tr>
154<tr class="separator:acb282042d1edeeaa3cc979a206f78b54"><td class="memSeparator" colspan="2">&#160;</td></tr>
155<tr class="memitem:ae802822defb0fa3a7f74f98e324696cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#ae802822defb0fa3a7f74f98e324696cb">VEC_DATA_TYPE_STR</a>(type, <a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;type##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000156<tr class="separator:ae802822defb0fa3a7f74f98e324696cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100157<tr class="memitem:a36f754c05b6fddf6df0d8d0a74f8159f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(type, <a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#ae802822defb0fa3a7f74f98e324696cb">VEC_DATA_TYPE_STR</a>(type, <a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000158<tr class="separator:a36f754c05b6fddf6df0d8d0a74f8159f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100159<tr class="memitem:a4090567b3adb034c7cc1af308cb45670"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a4090567b3adb034c7cc1af308cb45670">CONVERT_STR</a>(x, type)&#160;&#160;&#160;(convert_##type((x)))</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000160<tr class="separator:a4090567b3adb034c7cc1af308cb45670"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100161<tr class="memitem:aa8d95ba04fc73845abc6045952cae5be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#aa8d95ba04fc73845abc6045952cae5be">CONVERT</a>(x, type)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a4090567b3adb034c7cc1af308cb45670">CONVERT_STR</a>(x, type)</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000162<tr class="separator:aa8d95ba04fc73845abc6045952cae5be"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100163<tr class="memitem:a4e0fc93c9a69863dcdf7672ab547026c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a4e0fc93c9a69863dcdf7672ab547026c">CONVERT_SAT_STR</a>(x, type)&#160;&#160;&#160;(convert_##type##_sat((x)))</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000164<tr class="separator:a4e0fc93c9a69863dcdf7672ab547026c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100165<tr class="memitem:a23fb01b6f3453cc0e48a026fd44f6acd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a23fb01b6f3453cc0e48a026fd44f6acd">CONVERT_SAT</a>(x, type)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a4e0fc93c9a69863dcdf7672ab547026c">CONVERT_SAT_STR</a>(x, type)</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000166<tr class="separator:a23fb01b6f3453cc0e48a026fd44f6acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100167<tr class="memitem:a341a0c28698c3f6bd171df1771c5a512"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a341a0c28698c3f6bd171df1771c5a512">CONVERT_SAT_ROUND_STR</a>(x, type, round)&#160;&#160;&#160;(convert_##type##_sat_##round((x)))</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000168<tr class="separator:a341a0c28698c3f6bd171df1771c5a512"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100169<tr class="memitem:a28b2b123792a5b11a32cb05a6d327437"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a28b2b123792a5b11a32cb05a6d327437">CONVERT_SAT_ROUND</a>(x, type, round)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a341a0c28698c3f6bd171df1771c5a512">CONVERT_SAT_ROUND_STR</a>(x, type, round)</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000170<tr class="separator:a28b2b123792a5b11a32cb05a6d327437"><td class="memSeparator" colspan="2">&#160;</td></tr>
171<tr class="memitem:a40a6eb9f2a7712f08d6bb8ff6c9e6ca7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a40a6eb9f2a7712f08d6bb8ff6c9e6ca7">VECTOR_DECLARATION</a>(name)</td></tr>
172<tr class="separator:a40a6eb9f2a7712f08d6bb8ff6c9e6ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
173<tr class="memitem:a22f42fcf2077d951271df83b55c1a71a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a22f42fcf2077d951271df83b55c1a71a">IMAGE_DECLARATION</a>(name)</td></tr>
174<tr class="separator:a22f42fcf2077d951271df83b55c1a71a"><td class="memSeparator" colspan="2">&#160;</td></tr>
175<tr class="memitem:a6b83038822d1ae7ab619b684ed3b7fc0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a6b83038822d1ae7ab619b684ed3b7fc0">TENSOR3D_DECLARATION</a>(name)</td></tr>
176<tr class="separator:a6b83038822d1ae7ab619b684ed3b7fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100177<tr class="memitem:a481bdc6d61b3df9dcdbdb244f0f97790"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a481bdc6d61b3df9dcdbdb244f0f97790">TENSOR4D_DECLARATION</a>(name)</td></tr>
178<tr class="separator:a481bdc6d61b3df9dcdbdb244f0f97790"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000179<tr class="memitem:a527bfdf5eeb306f1cf01c4a8e29f38e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a527bfdf5eeb306f1cf01c4a8e29f38e0">CONVERT_TO_VECTOR_STRUCT</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a8fee90913ba658b25516a43cf71e5cbd">update_vector_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x)</td></tr>
180<tr class="separator:a527bfdf5eeb306f1cf01c4a8e29f38e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
181<tr class="memitem:a64d779f80eeb923e0ab2313433f7b40b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a64d779f80eeb923e0ab2313433f7b40b">CONVERT_TO_VECTOR_STRUCT_NO_STEP</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a8fee90913ba658b25516a43cf71e5cbd">update_vector_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0)</td></tr>
182<tr class="separator:a64d779f80eeb923e0ab2313433f7b40b"><td class="memSeparator" colspan="2">&#160;</td></tr>
183<tr class="memitem:aebe814363556c244be043b13e7969197"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a0a4395130f74a4293a7d3a19d8fac86d">update_image_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y)</td></tr>
184<tr class="separator:aebe814363556c244be043b13e7969197"><td class="memSeparator" colspan="2">&#160;</td></tr>
185<tr class="memitem:a4334a4a76f8e9628c0fb9e1acf616e2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a4334a4a76f8e9628c0fb9e1acf616e2a">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a0a4395130f74a4293a7d3a19d8fac86d">update_image_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0)</td></tr>
186<tr class="separator:a4334a4a76f8e9628c0fb9e1acf616e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100187<tr class="memitem:a541f8db866a0fa93ee67d58ea31a7d0c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a541f8db866a0fa93ee67d58ea31a7d0c">CONVERT_TENSOR3D_TO_IMAGE_STRUCT</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, name##_stride_z, name##_step_z)</td></tr>
188<tr class="separator:a541f8db866a0fa93ee67d58ea31a7d0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
189<tr class="memitem:a071aa45af973feac43b14f62e54a6fce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a071aa45af973feac43b14f62e54a6fce">CONVERT_TENSOR3D_TO_IMAGE_STRUCT_NO_STEP</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, name##_step_z)</td></tr>
190<tr class="separator:a071aa45af973feac43b14f62e54a6fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<tr class="memitem:a541f8db866a0fa93ee67d58ea31a7d0c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a541f8db866a0fa93ee67d58ea31a7d0c">CONVERT_TENSOR3D_TO_IMAGE_STRUCT</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, name##_stride_z, name##_step_z)</td></tr>
192<tr class="separator:a541f8db866a0fa93ee67d58ea31a7d0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000193<tr class="memitem:a31c8c760f08fb1a331b16b7c204321dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a>(name)</td></tr>
194<tr class="separator:a31c8c760f08fb1a331b16b7c204321dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
195<tr class="memitem:a79e8e562daa6599317d2d1cd86ef1bf2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a79e8e562daa6599317d2d1cd86ef1bf2">CONVERT_TO_TENSOR3D_STRUCT_NO_STEP</a>(name)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a912ccbcc4235bf1274c95d05b50440d4">update_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, 0)</td></tr>
196<tr class="separator:a79e8e562daa6599317d2d1cd86ef1bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100197<tr class="memitem:a23b9032d1b9d59547545e457f82ee478"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a23b9032d1b9d59547545e457f82ee478">CONVERT_TO_TENSOR4D_STRUCT</a>(name, mod_size)</td></tr>
198<tr class="separator:a23b9032d1b9d59547545e457f82ee478"><td class="memSeparator" colspan="2">&#160;</td></tr>
199<tr class="memitem:a302e05cc5f90bd76a9d0812c4be8b5eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a302e05cc5f90bd76a9d0812c4be8b5eb">CONVERT_TO_TENSOR4D_STRUCT_NO_STEP</a>(name, mod_size)&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a87a9d201ccc6b81332852d562bb7ee13">update_tensor4D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, 0, name##_stride_w, 0, mod_size)</td></tr>
200<tr class="separator:a302e05cc5f90bd76a9d0812c4be8b5eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000201</table><table class="memberdecls">
202<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
203Typedefs</h2></td></tr>
204<tr class="memitem:a6ded2cf071c127e518317e3c451af3ef"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_vector.xhtml">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a6ded2cf071c127e518317e3c451af3ef">Vector</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100205<tr class="memdesc:a6ded2cf071c127e518317e3c451af3ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a> information. <a href="#a6ded2cf071c127e518317e3c451af3ef">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000206<tr class="separator:a6ded2cf071c127e518317e3c451af3ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
207<tr class="memitem:a9082e6aa9fd1705dc218cf44bc5a9d66"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_image.xhtml">Image</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a9082e6aa9fd1705dc218cf44bc5a9d66">Image</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100208<tr class="memdesc:a9082e6aa9fd1705dc218cf44bc5a9d66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> information. <a href="#a9082e6aa9fd1705dc218cf44bc5a9d66">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000209<tr class="separator:a9082e6aa9fd1705dc218cf44bc5a9d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
210<tr class="memitem:a1a857bfe99727c6051e9a3ee285d70f6"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a1a857bfe99727c6051e9a3ee285d70f6">Tensor3D</a></td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100211<tr class="memdesc:a1a857bfe99727c6051e9a3ee285d70f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold 3D tensor information. <a href="#a1a857bfe99727c6051e9a3ee285d70f6">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000212<tr class="separator:a1a857bfe99727c6051e9a3ee285d70f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100213<tr class="memitem:a3b8a88f73e80a621aecfe7ced12c1676"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a3b8a88f73e80a621aecfe7ced12c1676">Tensor4D</a></td></tr>
214<tr class="memdesc:a3b8a88f73e80a621aecfe7ced12c1676"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure to hold 4D tensor information. <a href="#a3b8a88f73e80a621aecfe7ced12c1676">More...</a><br/></td></tr>
215<tr class="separator:a3b8a88f73e80a621aecfe7ced12c1676"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000216</table><table class="memberdecls">
217<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
218Functions</h2></td></tr>
219<tr class="memitem:a8fee90913ba658b25516a43cf71e5cbd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector.xhtml">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a8fee90913ba658b25516a43cf71e5cbd">update_vector_workitem_ptr</a> (__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100220<tr class="memdesc:a8fee90913ba658b25516a43cf71e5cbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrap vector information into an <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a> structure, and make the pointer point at this workitem's data. <a href="#a8fee90913ba658b25516a43cf71e5cbd">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000221<tr class="separator:a8fee90913ba658b25516a43cf71e5cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
222<tr class="memitem:a0a4395130f74a4293a7d3a19d8fac86d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_image.xhtml">Image</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a0a4395130f74a4293a7d3a19d8fac86d">update_image_workitem_ptr</a> (__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100223<tr class="memdesc:a0a4395130f74a4293a7d3a19d8fac86d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrap image information into an <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> structure, and make the pointer point at this workitem's data. <a href="#a0a4395130f74a4293a7d3a19d8fac86d">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000224<tr class="separator:a0a4395130f74a4293a7d3a19d8fac86d"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100225<tr class="memitem:a65fd24237c8278ecb38183f93cc70f05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_image.xhtml">Image</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a> (__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y, uint stride_z, uint step_z)</td></tr>
226<tr class="memdesc:a65fd24237c8278ecb38183f93cc70f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrap 3D tensor information into an image structure, and make the pointer point at this workitem's data. <a href="#a65fd24237c8278ecb38183f93cc70f05">More...</a><br/></td></tr>
227<tr class="separator:a65fd24237c8278ecb38183f93cc70f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000228<tr class="memitem:a912ccbcc4235bf1274c95d05b50440d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a912ccbcc4235bf1274c95d05b50440d4">update_tensor3D_workitem_ptr</a> (__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y, uint stride_z, uint step_z)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100229<tr class="memdesc:a912ccbcc4235bf1274c95d05b50440d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrap 3D tensor information into an tensor structure, and make the pointer point at this workitem's data. <a href="#a912ccbcc4235bf1274c95d05b50440d4">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000230<tr class="separator:a912ccbcc4235bf1274c95d05b50440d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100231<tr class="memitem:a87a9d201ccc6b81332852d562bb7ee13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a87a9d201ccc6b81332852d562bb7ee13">update_tensor4D_workitem_ptr</a> (__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y, uint stride_z, uint step_z, uint stride_w, uint step_w, uint mod_size)</td></tr>
232<tr class="separator:a87a9d201ccc6b81332852d562bb7ee13"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier46d59272017-05-04 09:15:15 +0100233<tr class="memitem:a7e4940407322d6f0ccb8b6b86b856019"><td class="memItemLeft" align="right" valign="top">__global const uchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a7e4940407322d6f0ccb8b6b86b856019">vector_offset</a> (const <a class="el" href="struct_vector.xhtml">Vector</a> *vec, int x)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100234<tr class="memdesc:a7e4940407322d6f0ccb8b6b86b856019"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pointer position of a <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a>. <a href="#a7e4940407322d6f0ccb8b6b86b856019">More...</a><br/></td></tr>
Anthony Barbier46d59272017-05-04 09:15:15 +0100235<tr class="separator:a7e4940407322d6f0ccb8b6b86b856019"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000236<tr class="memitem:a009469e4d9b8fce3b6d5e97d2077827d"><td class="memItemLeft" align="right" valign="top">__global uchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a> (const <a class="el" href="struct_image.xhtml">Image</a> *img, int x, int y)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100237<tr class="memdesc:a009469e4d9b8fce3b6d5e97d2077827d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pointer position of a <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a>. <a href="#a009469e4d9b8fce3b6d5e97d2077827d">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000238<tr class="separator:a009469e4d9b8fce3b6d5e97d2077827d"><td class="memSeparator" colspan="2">&#160;</td></tr>
239<tr class="memitem:a2101b2fe0193ce227ae4e0945e321d85"><td class="memItemLeft" align="right" valign="top">__global const uchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a> (const <a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a> *tensor, int x, int y, int z)</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100240<tr class="memdesc:a2101b2fe0193ce227ae4e0945e321d85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pointer position of a <a class="el" href="struct_tensor3_d.xhtml" title="Structure to hold 3D tensor information. ">Tensor3D</a>. <a href="#a2101b2fe0193ce227ae4e0945e321d85">More...</a><br/></td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000241<tr class="separator:a2101b2fe0193ce227ae4e0945e321d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
Kaizen8938bd32017-09-28 14:38:23 +0100242<tr class="memitem:ad442fb5ec8be1fff97f543150de5d822"><td class="memItemLeft" align="right" valign="top">__global const uchar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="helpers_8h.xhtml#ad442fb5ec8be1fff97f543150de5d822">tensor4D_offset</a> (const <a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a> *tensor, int x, int y, int z, int w)</td></tr>
243<tr class="memdesc:ad442fb5ec8be1fff97f543150de5d822"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the pointer position of a <a class="el" href="struct_tensor4_d.xhtml" title="Structure to hold 4D tensor information. ">Tensor4D</a>. <a href="#ad442fb5ec8be1fff97f543150de5d822">More...</a><br/></td></tr>
244<tr class="separator:ad442fb5ec8be1fff97f543150de5d822"><td class="memSeparator" colspan="2">&#160;</td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +0000245</table>
246<h2 class="groupheader">Macro Definition Documentation</h2>
247<a class="anchor" id="aabdbe431f2713c5c2604cb9872b66aab"></a>
248<div class="memitem">
249<div class="memproto">
250 <table class="memname">
251 <tr>
252 <td class="memname">#define CLAMP</td>
253 <td>(</td>
254 <td class="paramtype">&#160;</td>
255 <td class="paramname">x, </td>
256 </tr>
257 <tr>
258 <td class="paramkey"></td>
259 <td></td>
260 <td class="paramtype">&#160;</td>
261 <td class="paramname">min_val, </td>
262 </tr>
263 <tr>
264 <td class="paramkey"></td>
265 <td></td>
266 <td class="paramtype">&#160;</td>
267 <td class="paramname">max_val&#160;</td>
268 </tr>
269 <tr>
270 <td></td>
271 <td>)</td>
272 <td></td><td>&#160;&#160;&#160;min(max(x, min_val), max_val)</td>
273 </tr>
274 </table>
275</div><div class="memdoc">
276
Kaizen8938bd32017-09-28 14:38:23 +0100277<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00031">31</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000278
279</div>
280</div>
281<a class="anchor" id="aa8d95ba04fc73845abc6045952cae5be"></a>
282<div class="memitem">
283<div class="memproto">
284 <table class="memname">
285 <tr>
286 <td class="memname">#define CONVERT</td>
287 <td>(</td>
288 <td class="paramtype">&#160;</td>
289 <td class="paramname">x, </td>
290 </tr>
291 <tr>
292 <td class="paramkey"></td>
293 <td></td>
294 <td class="paramtype">&#160;</td>
295 <td class="paramname">type&#160;</td>
296 </tr>
297 <tr>
298 <td></td>
299 <td>)</td>
300 <td></td><td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a4090567b3adb034c7cc1af308cb45670">CONVERT_STR</a>(x, type)</td>
301 </tr>
302 </table>
303</div><div class="memdoc">
304
Kaizen8938bd32017-09-28 14:38:23 +0100305<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00043">43</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000306
307</div>
308</div>
309<a class="anchor" id="a23fb01b6f3453cc0e48a026fd44f6acd"></a>
310<div class="memitem">
311<div class="memproto">
312 <table class="memname">
313 <tr>
314 <td class="memname">#define CONVERT_SAT</td>
315 <td>(</td>
316 <td class="paramtype">&#160;</td>
317 <td class="paramname">x, </td>
318 </tr>
319 <tr>
320 <td class="paramkey"></td>
321 <td></td>
322 <td class="paramtype">&#160;</td>
323 <td class="paramname">type&#160;</td>
324 </tr>
325 <tr>
326 <td></td>
327 <td>)</td>
328 <td></td><td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a4e0fc93c9a69863dcdf7672ab547026c">CONVERT_SAT_STR</a>(x, type)</td>
329 </tr>
330 </table>
331</div><div class="memdoc">
332
Kaizen8938bd32017-09-28 14:38:23 +0100333<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00046">46</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000334
335</div>
336</div>
337<a class="anchor" id="a28b2b123792a5b11a32cb05a6d327437"></a>
338<div class="memitem">
339<div class="memproto">
340 <table class="memname">
341 <tr>
342 <td class="memname">#define CONVERT_SAT_ROUND</td>
343 <td>(</td>
344 <td class="paramtype">&#160;</td>
345 <td class="paramname">x, </td>
346 </tr>
347 <tr>
348 <td class="paramkey"></td>
349 <td></td>
350 <td class="paramtype">&#160;</td>
351 <td class="paramname">type, </td>
352 </tr>
353 <tr>
354 <td class="paramkey"></td>
355 <td></td>
356 <td class="paramtype">&#160;</td>
357 <td class="paramname">round&#160;</td>
358 </tr>
359 <tr>
360 <td></td>
361 <td>)</td>
362 <td></td><td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a341a0c28698c3f6bd171df1771c5a512">CONVERT_SAT_ROUND_STR</a>(x, type, round)</td>
363 </tr>
364 </table>
365</div><div class="memdoc">
366
Kaizen8938bd32017-09-28 14:38:23 +0100367<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00049">49</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000368
369<p>Referenced by <a class="el" href="canny_8cl_source.xhtml#l00121">combine_gradients_L2()</a>.</p>
370
371</div>
372</div>
373<a class="anchor" id="a341a0c28698c3f6bd171df1771c5a512"></a>
374<div class="memitem">
375<div class="memproto">
376 <table class="memname">
377 <tr>
378 <td class="memname">#define CONVERT_SAT_ROUND_STR</td>
379 <td>(</td>
380 <td class="paramtype">&#160;</td>
381 <td class="paramname">x, </td>
382 </tr>
383 <tr>
384 <td class="paramkey"></td>
385 <td></td>
386 <td class="paramtype">&#160;</td>
387 <td class="paramname">type, </td>
388 </tr>
389 <tr>
390 <td class="paramkey"></td>
391 <td></td>
392 <td class="paramtype">&#160;</td>
393 <td class="paramname">round&#160;</td>
394 </tr>
395 <tr>
396 <td></td>
397 <td>)</td>
398 <td></td><td>&#160;&#160;&#160;(convert_##type##_sat_##round((x)))</td>
399 </tr>
400 </table>
401</div><div class="memdoc">
402
Kaizen8938bd32017-09-28 14:38:23 +0100403<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00048">48</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000404
405</div>
406</div>
407<a class="anchor" id="a4e0fc93c9a69863dcdf7672ab547026c"></a>
408<div class="memitem">
409<div class="memproto">
410 <table class="memname">
411 <tr>
412 <td class="memname">#define CONVERT_SAT_STR</td>
413 <td>(</td>
414 <td class="paramtype">&#160;</td>
415 <td class="paramname">x, </td>
416 </tr>
417 <tr>
418 <td class="paramkey"></td>
419 <td></td>
420 <td class="paramtype">&#160;</td>
421 <td class="paramname">type&#160;</td>
422 </tr>
423 <tr>
424 <td></td>
425 <td>)</td>
426 <td></td><td>&#160;&#160;&#160;(convert_##type##_sat((x)))</td>
427 </tr>
428 </table>
429</div><div class="memdoc">
430
Kaizen8938bd32017-09-28 14:38:23 +0100431<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00045">45</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000432
433</div>
434</div>
435<a class="anchor" id="a4090567b3adb034c7cc1af308cb45670"></a>
436<div class="memitem">
437<div class="memproto">
438 <table class="memname">
439 <tr>
440 <td class="memname">#define CONVERT_STR</td>
441 <td>(</td>
442 <td class="paramtype">&#160;</td>
443 <td class="paramname">x, </td>
444 </tr>
445 <tr>
446 <td class="paramkey"></td>
447 <td></td>
448 <td class="paramtype">&#160;</td>
449 <td class="paramname">type&#160;</td>
450 </tr>
451 <tr>
452 <td></td>
453 <td>)</td>
454 <td></td><td>&#160;&#160;&#160;(convert_##type((x)))</td>
455 </tr>
456 </table>
457</div><div class="memdoc">
458
Kaizen8938bd32017-09-28 14:38:23 +0100459<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00042">42</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
460
461</div>
462</div>
463<a class="anchor" id="a541f8db866a0fa93ee67d58ea31a7d0c"></a>
464<div class="memitem">
465<div class="memproto">
466 <table class="memname">
467 <tr>
468 <td class="memname">#define CONVERT_TENSOR3D_TO_IMAGE_STRUCT</td>
469 <td>(</td>
470 <td class="paramtype">&#160;</td>
471 <td class="paramname">name</td><td>)</td>
472 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, name##_stride_z, name##_step_z)</td>
473 </tr>
474 </table>
475</div><div class="memdoc">
476
477<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00105">105</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
478
479<p>Referenced by <a class="el" href="softmax__layer_8cl_source.xhtml#l00085">softmax_layer_max()</a>, <a class="el" href="softmax__layer_8cl_source.xhtml#l00250">softmax_layer_norm()</a>, and <a class="el" href="softmax__layer_8cl_source.xhtml#l00166">softmax_layer_shift_exp_sum()</a>.</p>
480
481</div>
482</div>
483<a class="anchor" id="a541f8db866a0fa93ee67d58ea31a7d0c"></a>
484<div class="memitem">
485<div class="memproto">
486 <table class="memname">
487 <tr>
488 <td class="memname">#define CONVERT_TENSOR3D_TO_IMAGE_STRUCT</td>
489 <td>(</td>
490 <td class="paramtype">&#160;</td>
491 <td class="paramname">name</td><td>)</td>
492 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, name##_stride_z, name##_step_z)</td>
493 </tr>
494 </table>
495</div><div class="memdoc">
496
497<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00105">105</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
498
499</div>
500</div>
501<a class="anchor" id="a071aa45af973feac43b14f62e54a6fce"></a>
502<div class="memitem">
503<div class="memproto">
504 <table class="memname">
505 <tr>
506 <td class="memname">#define CONVERT_TENSOR3D_TO_IMAGE_STRUCT_NO_STEP</td>
507 <td>(</td>
508 <td class="paramtype">&#160;</td>
509 <td class="paramname">name</td><td>)</td>
510 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a65fd24237c8278ecb38183f93cc70f05">update_image_from_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, name##_step_z)</td>
511 </tr>
512 </table>
513</div><div class="memdoc">
514
515<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00102">102</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
516
517<p>Referenced by <a class="el" href="fill__border_8cl_source.xhtml#l00126">fill_image_borders_constant()</a>, <a class="el" href="fill__border_8cl_source.xhtml#l00050">fill_image_borders_replicate()</a>, and <a class="el" href="softmax__layer_8cl_source.xhtml#l00250">softmax_layer_norm()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000518
519</div>
520</div>
521<a class="anchor" id="aebe814363556c244be043b13e7969197"></a>
522<div class="memitem">
523<div class="memproto">
524 <table class="memname">
525 <tr>
526 <td class="memname">#define CONVERT_TO_IMAGE_STRUCT</td>
527 <td>(</td>
528 <td class="paramtype">&#160;</td>
529 <td class="paramname">name</td><td>)</td>
530 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a0a4395130f74a4293a7d3a19d8fac86d">update_image_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y)</td>
531 </tr>
532 </table>
533</div><div class="memdoc">
534
Kaizen8938bd32017-09-28 14:38:23 +0100535<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00093">93</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000536
Kaizen8938bd32017-09-28 14:38:23 +0100537<p>Referenced by <a class="el" href="absdiff_8cl_source.xhtml#l00050">absdiff()</a>, <a class="el" href="accumulate_8cl_source.xhtml#l00041">accumulate()</a>, <a class="el" href="accumulate_8cl_source.xhtml#l00112">accumulate_squared()</a>, <a class="el" href="accumulate_8cl_source.xhtml#l00076">accumulate_weighted()</a>, <a class="el" href="arithmetic__op_8cl_source.xhtml#l00063">arithmetic_add()</a>, <a class="el" href="arithmetic__op_8cl_source.xhtml#l00108">arithmetic_sub()</a>, <a class="el" href="bitwise__op_8cl_source.xhtml#l00083">bitwise_and()</a>, <a class="el" href="bitwise__op_8cl_source.xhtml#l00149">bitwise_not()</a>, <a class="el" href="bitwise__op_8cl_source.xhtml#l00047">bitwise_or()</a>, <a class="el" href="bitwise__op_8cl_source.xhtml#l00119">bitwise_xor()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00317">channel_combine_NV()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00053">channel_combine_RGB888()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00127">channel_combine_RGBA8888()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00253">channel_combine_UYVY422()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00198">channel_combine_YUYV422()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00195">channel_extract_NV12()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00230">channel_extract_NV21()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00043">channel_extract_RGB888()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00083">channel_extract_RGBA8888()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00158">channel_extract_UYVY422()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00122">channel_extract_YUYV422()</a>, <a class="el" href="canny_8cl_source.xhtml#l00057">combine_gradients_L1()</a>, <a class="el" href="canny_8cl_source.xhtml#l00121">combine_gradients_L2()</a>, <a class="el" href="depth__convert_8cl_source.xhtml#l00074">convert_depth_down()</a>, <a class="el" href="depth__convert_8cl_source.xhtml#l00115">convert_depth_up()</a>, <a class="el" href="convolution3x3_8cl_source.xhtml#l00123">convolution3x3_static()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00274">convolution5x5_static()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00323">convolution7x7_static()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00386">convolution9x9_static()</a>, <a class="el" href="convolution__rectangle_8cl_source.xhtml#l00064">convolution_rectangle()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00205">convolution_separable1x5_static()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00254">convolution_separable1x7_static()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00317">convolution_separable1x9_static()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00238">convolution_separable5x1_static()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00287">convolution_separable7x1_static()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00350">convolution_separable9x1_static()</a>, <a class="el" href="channel__extract_8cl_source.xhtml#l00262">copy_plane()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00389">copy_planes_3p()</a>, <a class="el" href="fast__corners_8cl_source.xhtml#l00230">copy_to_keypoint()</a>, <a class="el" href="derivative_8cl_source.xhtml#l00050">derivative()</a>, <a class="el" href="dilate_8cl_source.xhtml#l00041">dilate()</a>, <a class="el" href="erode_8cl_source.xhtml#l00041">erode()</a>, <a class="el" href="fast__corners_8cl_source.xhtml#l00155">fast_corners()</a>, <a class="el" href="gaussian__pyramid_8cl_source.xhtml#l00043">gaussian1x5_sub_x()</a>, <a class="el" href="gaussian__pyramid_8cl_source.xhtml#l00088">gaussian5x1_sub_y()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00182">gemm_interleave4x4_16bit()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00141">gemm_interleave4x4_32bit()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00223">gemm_interleave4x4_8bit()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00109">gemm_transpose1x16()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00045">gemm_transpose1x4()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00077">gemm_transpose1x8()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00053">harris_score_3x3()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00210">harris_score_5x5()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00341">harris_score_7x7()</a>, <a class="el" href="histogram_8cl_source.xhtml#l00141">hist_border_kernel()</a>, <a class="el" href="histogram_8cl_source.xhtml#l00238">hist_border_kernel_fixed()</a>, <a class="el" href="histogram_8cl_source.xhtml#l00068">hist_local_kernel()</a>, <a class="el" href="histogram_8cl_source.xhtml#l00178">hist_local_kernel_fixed()</a>, <a class="el" href="integral__image_8cl_source.xhtml#l00041">integral_horizontal()</a>, <a class="el" href="integral__image_8cl_source.xhtml#l00085">integral_vertical()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01703">IYUV_to_NV12_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01462">IYUV_to_RGB888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01541">IYUV_to_RGBA8888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01633">IYUV_to_YUV444_bt709()</a>, <a class="el" href="magnitude__phase_8cl_source.xhtml#l00130">magnitude_phase()</a>, <a class="el" href="mean__stddev_8cl_source.xhtml#l00043">mean_stddev_accumulate()</a>, <a class="el" href="minmaxloc_8cl_source.xhtml#l00065">minmax()</a>, <a class="el" href="minmaxloc_8cl_source.xhtml#l00143">minmaxloc()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00044">non_linear_filter_box3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00339">non_linear_filter_box5x5()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00099">non_linear_filter_cross3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00387">non_linear_filter_cross5x5()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00150">non_linear_filter_disk3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00444">non_linear_filter_disk5x5()</a>, <a class="el" href="nonmax_8cl_source.xhtml#l00041">non_max_suppression()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00949">NV12_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00410">NV12_to_RGB888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00867">NV12_to_RGBA8888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01011">NV12_to_YUV444_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01285">NV21_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01065">NV21_to_RGB888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01136">NV21_to_RGBA8888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01219">NV21_to_YUV444_bt709()</a>, <a class="el" href="remap_8cl_source.xhtml#l00113">remap_bilinear()</a>, <a class="el" href="remap_8cl_source.xhtml#l00059">remap_nearest_neighbour()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00554">RGB888_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00325">RGB888_to_NV12_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00044">RGB888_to_RGBA8888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00488">RGB888_to_YUV444_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00786">RGBA8888_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00702">RGBA8888_to_NV12_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00085">RGBA8888_to_RGB888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00642">RGBA8888_to_YUV444_bt709()</a>, <a class="el" href="scale_8cl_source.xhtml#l00110">scale_bilinear()</a>, <a class="el" href="scale_8cl_source.xhtml#l00076">scale_nearest_neighbour()</a>, <a class="el" href="scharr__filter_8cl_source.xhtml#l00050">scharr3x3()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00054">sobel3x3()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00259">sobel_separable1x5()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00442">sobel_separable1x7()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00325">sobel_separable5x1()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00506">sobel_separable7x1()</a>, <a class="el" href="canny_8cl_source.xhtml#l00191">suppress_non_maximum()</a>, <a class="el" href="tablelookup_8cl_source.xhtml#l00084">tablelookup_S16()</a>, <a class="el" href="tablelookup_8cl_source.xhtml#l00045">tablelookup_U8()</a>, <a class="el" href="threshold_8cl_source.xhtml#l00044">threshold_binary()</a>, <a class="el" href="threshold_8cl_source.xhtml#l00084">threshold_range()</a>, <a class="el" href="transpose_8cl_source.xhtml#l00148">transpose()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01341">UYVY422_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01803">UYVY422_to_NV12_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00124">UYVY422_to_RGB888_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00172">UYVY422_to_RGBA8888_bt709()</a>, <a class="el" href="warp__affine_8cl_source.xhtml#l00111">warp_affine_bilinear()</a>, <a class="el" href="warp__affine_8cl_source.xhtml#l00079">warp_affine_nearest_neighbour()</a>, <a class="el" href="warp__perspective_8cl_source.xhtml#l00119">warp_perspective_bilinear()</a>, <a class="el" href="warp__perspective_8cl_source.xhtml#l00087">warp_perspective_nearest_neighbour()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01402">YUYV422_to_IYUV_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l01754">YUYV422_to_NV12_bt709()</a>, <a class="el" href="color__convert_8cl_source.xhtml#l00221">YUYV422_to_RGB888_bt709()</a>, and <a class="el" href="color__convert_8cl_source.xhtml#l00269">YUYV422_to_RGBA8888_bt709()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000538
539</div>
540</div>
541<a class="anchor" id="a4334a4a76f8e9628c0fb9e1acf616e2a"></a>
542<div class="memitem">
543<div class="memproto">
544 <table class="memname">
545 <tr>
546 <td class="memname">#define CONVERT_TO_IMAGE_STRUCT_NO_STEP</td>
547 <td>(</td>
548 <td class="paramtype">&#160;</td>
549 <td class="paramname">name</td><td>)</td>
550 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a0a4395130f74a4293a7d3a19d8fac86d">update_image_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0)</td>
551 </tr>
552 </table>
553</div><div class="memdoc">
554
Kaizen8938bd32017-09-28 14:38:23 +0100555<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00096">96</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000556
Kaizen8938bd32017-09-28 14:38:23 +0100557<p>Referenced by <a class="el" href="canny_8cl_source.xhtml#l00306">hysteresis()</a>, <a class="el" href="optical__flow__pyramid__lk_8cl_source.xhtml#l00207">lktracker_stage0()</a>, <a class="el" href="optical__flow__pyramid__lk_8cl_source.xhtml#l00358">lktracker_stage1()</a>, <a class="el" href="remap_8cl_source.xhtml#l00113">remap_bilinear()</a>, <a class="el" href="remap_8cl_source.xhtml#l00059">remap_nearest_neighbour()</a>, <a class="el" href="scale_8cl_source.xhtml#l00110">scale_bilinear()</a>, <a class="el" href="scale_8cl_source.xhtml#l00076">scale_nearest_neighbour()</a>, <a class="el" href="warp__affine_8cl_source.xhtml#l00111">warp_affine_bilinear()</a>, <a class="el" href="warp__affine_8cl_source.xhtml#l00079">warp_affine_nearest_neighbour()</a>, <a class="el" href="warp__perspective_8cl_source.xhtml#l00119">warp_perspective_bilinear()</a>, and <a class="el" href="warp__perspective_8cl_source.xhtml#l00087">warp_perspective_nearest_neighbour()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000558
559</div>
560</div>
561<a class="anchor" id="a31c8c760f08fb1a331b16b7c204321dc"></a>
562<div class="memitem">
563<div class="memproto">
564 <table class="memname">
565 <tr>
566 <td class="memname">#define CONVERT_TO_TENSOR3D_STRUCT</td>
567 <td>(</td>
568 <td class="paramtype">&#160;</td>
569 <td class="paramname">name</td><td>)</td>
570 <td></td>
571 </tr>
572 </table>
573</div><div class="memdoc">
Kaizen8938bd32017-09-28 14:38:23 +0100574<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="helpers_8h.xhtml#a912ccbcc4235bf1274c95d05b50440d4">update_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, \</div>
575<div class="line"> name##_stride_z, name##_step_z)</div>
576<div class="ttc" id="helpers_8h_xhtml_a912ccbcc4235bf1274c95d05b50440d4"><div class="ttname"><a href="helpers_8h.xhtml#a912ccbcc4235bf1274c95d05b50440d4">update_tensor3D_workitem_ptr</a></div><div class="ttdeci">Tensor3D update_tensor3D_workitem_ptr(__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y, uint stride_z, uint step_z)</div><div class="ttdoc">Wrap 3D tensor information into an tensor structure, and make the pointer point at this workitem&#39;s da...</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00244">helpers.h:244</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000577</div><!-- fragment -->
Kaizen8938bd32017-09-28 14:38:23 +0100578<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00108">108</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000579
Kaizen8938bd32017-09-28 14:38:23 +0100580<p>Referenced by <a class="el" href="activation__layer_8cl_source.xhtml#l00145">activation_layer()</a>, <a class="el" href="batchnormalization__layer_8cl_source.xhtml#l00081">batchnormalization_layer()</a>, <a class="el" href="concatenate_8cl_source.xhtml#l00046">concatenate_depth()</a>, <a class="el" href="dequantization__layer_8cl_source.xhtml#l00049">dequantization_layer()</a>, <a class="el" href="floor_8cl_source.xhtml#l00049">floor_layer()</a>, <a class="el" href="gemv_8cl_source.xhtml#l00049">gemm_mv()</a>, <a class="el" href="convolution__layer_8cl_source.xhtml#l00309">im2col_reduced()</a>, <a class="el" href="normalization__layer_8cl_source.xhtml#l00079">normalization_layer_cross_map()</a>, <a class="el" href="normalization__layer_8cl_source.xhtml#l00140">normalization_layer_in_map_1D()</a>, <a class="el" href="pixelwise__mul__float_8cl_source.xhtml#l00067">pixelwise_mul_float()</a>, <a class="el" href="pixelwise__mul__int_8cl_source.xhtml#l00083">pixelwise_mul_int()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00222">pooling_layer_2()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00286">pooling_layer_3()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00424">pooling_layer_7()</a>, <a class="el" href="quantization__layer_8cl_source.xhtml#l00049">quantization_layer()</a>, <a class="el" href="reshape__layer_8cl_source.xhtml#l00049">reshape_layer()</a>, and <a class="el" href="convolution__layer_8cl_source.xhtml#l00057">reshape_to_columns()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000581
582</div>
583</div>
584<a class="anchor" id="a79e8e562daa6599317d2d1cd86ef1bf2"></a>
585<div class="memitem">
586<div class="memproto">
587 <table class="memname">
588 <tr>
589 <td class="memname">#define CONVERT_TO_TENSOR3D_STRUCT_NO_STEP</td>
590 <td>(</td>
591 <td class="paramtype">&#160;</td>
592 <td class="paramname">name</td><td>)</td>
593 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a912ccbcc4235bf1274c95d05b50440d4">update_tensor3D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, 0)</td>
594 </tr>
595 </table>
596</div><div class="memdoc">
597
Kaizen8938bd32017-09-28 14:38:23 +0100598<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00112">112</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000599
Kaizen8938bd32017-09-28 14:38:23 +0100600<p>Referenced by <a class="el" href="reshape__layer_8cl_source.xhtml#l00049">reshape_layer()</a>, and <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00123">roi_pooling_layer()</a>.</p>
601
602</div>
603</div>
604<a class="anchor" id="a23b9032d1b9d59547545e457f82ee478"></a>
605<div class="memitem">
606<div class="memproto">
607 <table class="memname">
608 <tr>
609 <td class="memname">#define CONVERT_TO_TENSOR4D_STRUCT</td>
610 <td>(</td>
611 <td class="paramtype">&#160;</td>
612 <td class="paramname">name, </td>
613 </tr>
614 <tr>
615 <td class="paramkey"></td>
616 <td></td>
617 <td class="paramtype">&#160;</td>
618 <td class="paramname">mod_size&#160;</td>
619 </tr>
620 <tr>
621 <td></td>
622 <td>)</td>
623 <td></td><td></td>
624 </tr>
625 </table>
626</div><div class="memdoc">
627<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="helpers_8h.xhtml#a87a9d201ccc6b81332852d562bb7ee13">update_tensor4D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x, name##_stride_y, name##_step_y, \</div>
628<div class="line"> name##_stride_z, name##_step_z, name##_stride_w, name##_step_z, mod_size)</div>
629<div class="ttc" id="helpers_8h_xhtml_a87a9d201ccc6b81332852d562bb7ee13"><div class="ttname"><a href="helpers_8h.xhtml#a87a9d201ccc6b81332852d562bb7ee13">update_tensor4D_workitem_ptr</a></div><div class="ttdeci">Tensor4D update_tensor4D_workitem_ptr(__global uchar *ptr, uint offset_first_element_in_bytes, uint stride_x, uint step_x, uint stride_y, uint step_y, uint stride_z, uint step_z, uint stride_w, uint step_w, uint mod_size)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00258">helpers.h:258</a></div></div>
630</div><!-- fragment -->
631<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00115">115</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
632
633</div>
634</div>
635<a class="anchor" id="a302e05cc5f90bd76a9d0812c4be8b5eb"></a>
636<div class="memitem">
637<div class="memproto">
638 <table class="memname">
639 <tr>
640 <td class="memname">#define CONVERT_TO_TENSOR4D_STRUCT_NO_STEP</td>
641 <td>(</td>
642 <td class="paramtype">&#160;</td>
643 <td class="paramname">name, </td>
644 </tr>
645 <tr>
646 <td class="paramkey"></td>
647 <td></td>
648 <td class="paramtype">&#160;</td>
649 <td class="paramname">mod_size&#160;</td>
650 </tr>
651 <tr>
652 <td></td>
653 <td>)</td>
654 <td></td><td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a87a9d201ccc6b81332852d562bb7ee13">update_tensor4D_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0, name##_stride_y, 0, name##_stride_z, 0, name##_stride_w, 0, mod_size)</td>
655 </tr>
656 </table>
657</div><div class="memdoc">
658
659<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00119">119</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000660
661</div>
662</div>
663<a class="anchor" id="a527bfdf5eeb306f1cf01c4a8e29f38e0"></a>
664<div class="memitem">
665<div class="memproto">
666 <table class="memname">
667 <tr>
668 <td class="memname">#define CONVERT_TO_VECTOR_STRUCT</td>
669 <td>(</td>
670 <td class="paramtype">&#160;</td>
671 <td class="paramname">name</td><td>)</td>
672 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a8fee90913ba658b25516a43cf71e5cbd">update_vector_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, name##_step_x)</td>
673 </tr>
674 </table>
675</div><div class="memdoc">
676
Kaizen8938bd32017-09-28 14:38:23 +0100677<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00087">87</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000678
Kaizen8938bd32017-09-28 14:38:23 +0100679<p>Referenced by <a class="el" href="batchnormalization__layer_8cl_source.xhtml#l00081">batchnormalization_layer()</a>, <a class="el" href="dequantization__layer_8cl_source.xhtml#l00049">dequantization_layer()</a>, <a class="el" href="l2__normalize_8cl_source.xhtml#l00045">l2_normalize()</a>, and <a class="el" href="reduction__operation_8cl_source.xhtml#l00080">reduction_operation()</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000680
681</div>
682</div>
683<a class="anchor" id="a64d779f80eeb923e0ab2313433f7b40b"></a>
684<div class="memitem">
685<div class="memproto">
686 <table class="memname">
687 <tr>
688 <td class="memname">#define CONVERT_TO_VECTOR_STRUCT_NO_STEP</td>
689 <td>(</td>
690 <td class="paramtype">&#160;</td>
691 <td class="paramname">name</td><td>)</td>
692 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a8fee90913ba658b25516a43cf71e5cbd">update_vector_workitem_ptr</a>(name##_ptr, name##_offset_first_element_in_bytes, name##_stride_x, 0)</td>
693 </tr>
694 </table>
695</div><div class="memdoc">
696
Kaizen8938bd32017-09-28 14:38:23 +0100697<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00090">90</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
698
699<p>Referenced by <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00123">roi_pooling_layer()</a>.</p>
700
701</div>
702</div>
703<a class="anchor" id="ae4b532a93c757194ec73b6790a3e6b1f"></a>
704<div class="memitem">
705<div class="memproto">
706 <table class="memname">
707 <tr>
708 <td class="memname">#define EXPAND</td>
709 <td>(</td>
710 <td class="paramtype">&#160;</td>
711 <td class="paramname">x</td><td>)</td>
712 <td>&#160;&#160;&#160;x</td>
713 </tr>
714 </table>
715</div><div class="memdoc">
716
717<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00029">29</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000718
719</div>
720</div>
721<a class="anchor" id="a22f42fcf2077d951271df83b55c1a71a"></a>
722<div class="memitem">
723<div class="memproto">
724 <table class="memname">
725 <tr>
726 <td class="memname">#define IMAGE_DECLARATION</td>
727 <td>(</td>
728 <td class="paramtype">&#160;</td>
729 <td class="paramname">name</td><td>)</td>
730 <td></td>
731 </tr>
732 </table>
733</div><div class="memdoc">
Kaizen8938bd32017-09-28 14:38:23 +0100734<b>Value:</b><div class="fragment"><div class="line">__global uchar *name##_ptr, \</div>
735<div class="line"> uint name##_stride_x, \</div>
736<div class="line"> uint name##_step_x, \</div>
737<div class="line"> uint name##_stride_y, \</div>
738<div class="line"> uint name##_step_y, \</div>
739<div class="line"> uint name##_offset_first_element_in_bytes</div>
740</div><!-- fragment -->
741<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00057">57</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000742
743</div>
744</div>
745<a class="anchor" id="a6b83038822d1ae7ab619b684ed3b7fc0"></a>
746<div class="memitem">
747<div class="memproto">
748 <table class="memname">
749 <tr>
750 <td class="memname">#define TENSOR3D_DECLARATION</td>
751 <td>(</td>
752 <td class="paramtype">&#160;</td>
753 <td class="paramname">name</td><td>)</td>
754 <td></td>
755 </tr>
756 </table>
757</div><div class="memdoc">
Kaizen8938bd32017-09-28 14:38:23 +0100758<b>Value:</b><div class="fragment"><div class="line">__global uchar *name##_ptr, \</div>
759<div class="line"> uint name##_stride_x, \</div>
760<div class="line"> uint name##_step_x, \</div>
761<div class="line"> uint name##_stride_y, \</div>
762<div class="line"> uint name##_step_y, \</div>
763<div class="line"> uint name##_stride_z, \</div>
764<div class="line"> uint name##_step_z, \</div>
765<div class="line"> uint name##_offset_first_element_in_bytes</div>
766</div><!-- fragment -->
767<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00065">65</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000768
Kaizen8938bd32017-09-28 14:38:23 +0100769</div>
770</div>
771<a class="anchor" id="a481bdc6d61b3df9dcdbdb244f0f97790"></a>
772<div class="memitem">
773<div class="memproto">
774 <table class="memname">
775 <tr>
776 <td class="memname">#define TENSOR4D_DECLARATION</td>
777 <td>(</td>
778 <td class="paramtype">&#160;</td>
779 <td class="paramname">name</td><td>)</td>
780 <td></td>
781 </tr>
782 </table>
783</div><div class="memdoc">
784<b>Value:</b><div class="fragment"><div class="line">__global uchar *name##_ptr, \</div>
785<div class="line"> uint name##_stride_x, \</div>
786<div class="line"> uint name##_step_x, \</div>
787<div class="line"> uint name##_stride_y, \</div>
788<div class="line"> uint name##_step_y, \</div>
789<div class="line"> uint name##_stride_z, \</div>
790<div class="line"> uint name##_step_z, \</div>
791<div class="line"> uint name##_stride_w, \</div>
792<div class="line"> uint name##_step_w, \</div>
793<div class="line"> uint name##_offset_first_element_in_bytes</div>
794</div><!-- fragment -->
795<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00075">75</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbierdbdab852017-06-23 15:42:00 +0100796
Anthony Barbier871448e2017-03-24 14:54:29 +0000797</div>
798</div>
799<a class="anchor" id="a36f754c05b6fddf6df0d8d0a74f8159f"></a>
800<div class="memitem">
801<div class="memproto">
802 <table class="memname">
803 <tr>
804 <td class="memname">#define VEC_DATA_TYPE</td>
805 <td>(</td>
806 <td class="paramtype">&#160;</td>
807 <td class="paramname">type, </td>
808 </tr>
809 <tr>
810 <td class="paramkey"></td>
811 <td></td>
812 <td class="paramtype">&#160;</td>
Kaizen8938bd32017-09-28 14:38:23 +0100813 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>&#160;</td>
Anthony Barbier871448e2017-03-24 14:54:29 +0000814 </tr>
815 <tr>
816 <td></td>
817 <td>)</td>
Kaizen8938bd32017-09-28 14:38:23 +0100818 <td></td><td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#ae802822defb0fa3a7f74f98e324696cb">VEC_DATA_TYPE_STR</a>(type, <a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td>
Anthony Barbier871448e2017-03-24 14:54:29 +0000819 </tr>
820 </table>
821</div><div class="memdoc">
822
Kaizen8938bd32017-09-28 14:38:23 +0100823<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00040">40</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000824
825</div>
826</div>
827<a class="anchor" id="ae802822defb0fa3a7f74f98e324696cb"></a>
828<div class="memitem">
829<div class="memproto">
830 <table class="memname">
831 <tr>
832 <td class="memname">#define VEC_DATA_TYPE_STR</td>
833 <td>(</td>
834 <td class="paramtype">&#160;</td>
835 <td class="paramname">type, </td>
836 </tr>
837 <tr>
838 <td class="paramkey"></td>
839 <td></td>
840 <td class="paramtype">&#160;</td>
Kaizen8938bd32017-09-28 14:38:23 +0100841 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>&#160;</td>
Anthony Barbier871448e2017-03-24 14:54:29 +0000842 </tr>
843 <tr>
844 <td></td>
845 <td>)</td>
Kaizen8938bd32017-09-28 14:38:23 +0100846 <td></td><td>&#160;&#160;&#160;type##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td>
Anthony Barbier871448e2017-03-24 14:54:29 +0000847 </tr>
848 </table>
849</div><div class="memdoc">
850
Kaizen8938bd32017-09-28 14:38:23 +0100851<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00039">39</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000852
853</div>
854</div>
855<a class="anchor" id="a40a6eb9f2a7712f08d6bb8ff6c9e6ca7"></a>
856<div class="memitem">
857<div class="memproto">
858 <table class="memname">
859 <tr>
860 <td class="memname">#define VECTOR_DECLARATION</td>
861 <td>(</td>
862 <td class="paramtype">&#160;</td>
863 <td class="paramname">name</td><td>)</td>
864 <td></td>
865 </tr>
866 </table>
867</div><div class="memdoc">
Kaizen8938bd32017-09-28 14:38:23 +0100868<b>Value:</b><div class="fragment"><div class="line">__global uchar *name##_ptr, \</div>
869<div class="line"> uint name##_stride_x, \</div>
870<div class="line"> uint name##_step_x, \</div>
871<div class="line"> uint name##_offset_first_element_in_bytes</div>
872</div><!-- fragment -->
873<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00051">51</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
874
875</div>
876</div>
877<a class="anchor" id="a287e2fc366c312b468382c95bb90f91f"></a>
878<div class="memitem">
879<div class="memproto">
880 <table class="memname">
881 <tr>
882 <td class="memname">#define VLOAD</td>
883 <td>(</td>
884 <td class="paramtype">&#160;</td>
885 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td><td>)</td>
886 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#a29367a809c14c294feefc1a8dad93752">VLOAD_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td>
887 </tr>
888 </table>
889</div><div class="memdoc">
890
891<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00034">34</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
892
893<p>Referenced by <a class="el" href="activation__layer_8cl_source.xhtml#l00145">activation_layer()</a>, <a class="el" href="batchnormalization__layer_8cl_source.xhtml#l00081">batchnormalization_layer()</a>, <a class="el" href="concatenate_8cl_source.xhtml#l00046">concatenate_depth()</a>, <a class="el" href="floor_8cl_source.xhtml#l00049">floor_layer()</a>, <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00061">roi_pool_1x1()</a>, and <a class="el" href="transpose_8cl_source.xhtml#l00148">transpose()</a>.</p>
894
895</div>
896</div>
897<a class="anchor" id="a29367a809c14c294feefc1a8dad93752"></a>
898<div class="memitem">
899<div class="memproto">
900 <table class="memname">
901 <tr>
902 <td class="memname">#define VLOAD_STR</td>
903 <td>(</td>
904 <td class="paramtype">&#160;</td>
905 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td><td>)</td>
906 <td>&#160;&#160;&#160;vload##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td>
907 </tr>
908 </table>
909</div><div class="memdoc">
910
911<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00033">33</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
912
913</div>
914</div>
915<a class="anchor" id="acb282042d1edeeaa3cc979a206f78b54"></a>
916<div class="memitem">
917<div class="memproto">
918 <table class="memname">
919 <tr>
920 <td class="memname">#define VSTORE</td>
921 <td>(</td>
922 <td class="paramtype">&#160;</td>
923 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td><td>)</td>
924 <td>&#160;&#160;&#160;<a class="el" href="helpers_8h.xhtml#aeedcb2d8b4b0ce17747474d4da15f199">VSTORE_STR</a>(<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a>)</td>
925 </tr>
926 </table>
927</div><div class="memdoc">
928
929<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00037">37</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
930
931<p>Referenced by <a class="el" href="activation__layer_8cl_source.xhtml#l00145">activation_layer()</a>, <a class="el" href="batchnormalization__layer_8cl_source.xhtml#l00081">batchnormalization_layer()</a>, <a class="el" href="concatenate_8cl_source.xhtml#l00046">concatenate_depth()</a>, <a class="el" href="floor_8cl_source.xhtml#l00049">floor_layer()</a>, and <a class="el" href="transpose_8cl_source.xhtml#l00148">transpose()</a>.</p>
932
933</div>
934</div>
935<a class="anchor" id="aeedcb2d8b4b0ce17747474d4da15f199"></a>
936<div class="memitem">
937<div class="memproto">
938 <table class="memname">
939 <tr>
940 <td class="memname">#define VSTORE_STR</td>
941 <td>(</td>
942 <td class="paramtype">&#160;</td>
943 <td class="paramname"><a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td><td>)</td>
944 <td>&#160;&#160;&#160;vstore##<a class="el" href="hwc_8hpp.xhtml#ab2c6b258f02add8fdf4cfc7c371dd772">size</a></td>
945 </tr>
946 </table>
947</div><div class="memdoc">
948
949<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00036">36</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +0000950
951</div>
952</div>
953<h2 class="groupheader">Typedef Documentation</h2>
954<a class="anchor" id="a9082e6aa9fd1705dc218cf44bc5a9d66"></a>
955<div class="memitem">
956<div class="memproto">
957 <table class="memname">
958 <tr>
959 <td class="memname">typedef struct <a class="el" href="struct_image.xhtml">Image</a> <a class="el" href="struct_image.xhtml">Image</a></td>
960 </tr>
961 </table>
962</div><div class="memdoc">
963
964<p>Structure to hold <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> information. </p>
965
966</div>
967</div>
968<a class="anchor" id="a1a857bfe99727c6051e9a3ee285d70f6"></a>
969<div class="memitem">
970<div class="memproto">
971 <table class="memname">
972 <tr>
973 <td class="memname">typedef struct <a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a> <a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a></td>
974 </tr>
975 </table>
976</div><div class="memdoc">
977
978<p>Structure to hold 3D tensor information. </p>
979
980</div>
981</div>
Kaizen8938bd32017-09-28 14:38:23 +0100982<a class="anchor" id="a3b8a88f73e80a621aecfe7ced12c1676"></a>
983<div class="memitem">
984<div class="memproto">
985 <table class="memname">
986 <tr>
987 <td class="memname">typedef struct <a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a> <a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a></td>
988 </tr>
989 </table>
990</div><div class="memdoc">
991
992<p>Structure to hold 4D tensor information. </p>
993
994</div>
995</div>
Anthony Barbier871448e2017-03-24 14:54:29 +0000996<a class="anchor" id="a6ded2cf071c127e518317e3c451af3ef"></a>
997<div class="memitem">
998<div class="memproto">
999 <table class="memname">
1000 <tr>
1001 <td class="memname">typedef struct <a class="el" href="struct_vector.xhtml">Vector</a> <a class="el" href="struct_vector.xhtml">Vector</a></td>
1002 </tr>
1003 </table>
1004</div><div class="memdoc">
1005
1006<p>Structure to hold <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a> information. </p>
1007
1008</div>
1009</div>
1010<h2 class="groupheader">Function Documentation</h2>
1011<a class="anchor" id="a009469e4d9b8fce3b6d5e97d2077827d"></a>
1012<div class="memitem">
1013<div class="memproto">
1014<table class="mlabels">
1015 <tr>
1016 <td class="mlabels-left">
1017 <table class="memname">
1018 <tr>
1019 <td class="memname">__global uchar* offset </td>
1020 <td>(</td>
1021 <td class="paramtype">const <a class="el" href="struct_image.xhtml">Image</a> *&#160;</td>
1022 <td class="paramname"><em>img</em>, </td>
1023 </tr>
1024 <tr>
1025 <td class="paramkey"></td>
1026 <td></td>
1027 <td class="paramtype">int&#160;</td>
1028 <td class="paramname"><em>x</em>, </td>
1029 </tr>
1030 <tr>
1031 <td class="paramkey"></td>
1032 <td></td>
1033 <td class="paramtype">int&#160;</td>
1034 <td class="paramname"><em>y</em>&#160;</td>
1035 </tr>
1036 <tr>
1037 <td></td>
1038 <td>)</td>
1039 <td></td><td></td>
1040 </tr>
1041 </table>
1042 </td>
1043 <td class="mlabels-right">
1044<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1045 </tr>
1046</table>
1047</div><div class="memdoc">
1048
1049<p>Get the pointer position of a <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a>. </p>
1050<dl class="params"><dt>Parameters</dt><dd>
1051 <table class="params">
1052 <tr><td class="paramdir">[in]</td><td class="paramname">img</td><td>Pointer to the starting position of the buffer </td></tr>
1053 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Relative X position </td></tr>
1054 <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Relative Y position </td></tr>
1055 </table>
1056 </dd>
1057</dl>
1058
Kaizen8938bd32017-09-28 14:38:23 +01001059<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00292">292</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001060
Kaizen8938bd32017-09-28 14:38:23 +01001061<p>References <a class="el" href="helpers_8h_source.xhtml#l00133">Image::ptr</a>, <a class="el" href="helpers_8h_source.xhtml#l00135">Image::stride_x</a>, and <a class="el" href="helpers_8h_source.xhtml#l00136">Image::stride_y</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001062
Kaizen8938bd32017-09-28 14:38:23 +01001063<p>Referenced by <a class="el" href="warp__helpers_8h_source.xhtml#l00080">bilinear_interpolate()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00317">channel_combine_NV()</a>, <a class="el" href="convolution3x3_8cl_source.xhtml#l00082">convolution3x3()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00087">convolution5x1()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00159">convolution5x5()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00097">convolution7x1()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00202">convolution7x7()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00108">convolution9x1()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00256">convolution9x9()</a>, <a class="el" href="convolution__rectangle_8cl_source.xhtml#l00064">convolution_rectangle()</a>, <a class="el" href="convolution5x5_8cl_source.xhtml#l00205">convolution_separable1x5_static()</a>, <a class="el" href="convolution7x7_8cl_source.xhtml#l00254">convolution_separable1x7_static()</a>, <a class="el" href="convolution9x9_8cl_source.xhtml#l00317">convolution_separable1x9_static()</a>, <a class="el" href="channel__combine_8cl_source.xhtml#l00389">copy_planes_3p()</a>, <a class="el" href="fast__corners_8cl_source.xhtml#l00230">copy_to_keypoint()</a>, <a class="el" href="derivative_8cl_source.xhtml#l00050">derivative()</a>, <a class="el" href="dilate_8cl_source.xhtml#l00041">dilate()</a>, <a class="el" href="erode_8cl_source.xhtml#l00041">erode()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00422">AssetsLibrary::fill()</a>, <a class="el" href="fill__border_8cl_source.xhtml#l00126">fill_image_borders_constant()</a>, <a class="el" href="fill__border_8cl_source.xhtml#l00050">fill_image_borders_replicate()</a>, <a class="el" href="gaussian__pyramid_8cl_source.xhtml#l00088">gaussian5x1_sub_y()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00182">gemm_interleave4x4_16bit()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00141">gemm_interleave4x4_32bit()</a>, <a class="el" href="gemm_8cl_source.xhtml#l00223">gemm_interleave4x4_8bit()</a>, <a class="el" href="gemv_8cl_source.xhtml#l00049">gemm_mv()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00138">harris_score_1x5()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00253">harris_score_1x7()</a>, <a class="el" href="harris__corners_8cl_source.xhtml#l00053">harris_score_3x3()</a>, <a class="el" href="histogram_8cl_source.xhtml#l00141">hist_border_kernel()</a>, <a class="el" href="canny_8cl_source.xhtml#l00306">hysteresis()</a>, <a class="el" href="integral__image_8cl_source.xhtml#l00041">integral_horizontal()</a>, <a class="el" href="integral__image_8cl_source.xhtml#l00085">integral_vertical()</a>, <a class="el" href="optical__flow__pyramid__lk_8cl_source.xhtml#l00207">lktracker_stage0()</a>, <a class="el" href="optical__flow__pyramid__lk_8cl_source.xhtml#l00358">lktracker_stage1()</a>, <a class="el" href="mean__stddev_8cl_source.xhtml#l00043">mean_stddev_accumulate()</a>, <a class="el" href="minmaxloc_8cl_source.xhtml#l00065">minmax()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00044">non_linear_filter_box3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00339">non_linear_filter_box5x5()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00099">non_linear_filter_cross3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00387">non_linear_filter_cross5x5()</a>, <a class="el" href="non__linear__filter3x3_8cl_source.xhtml#l00150">non_linear_filter_disk3x3()</a>, <a class="el" href="non__linear__filter5x5_8cl_source.xhtml#l00444">non_linear_filter_disk5x5()</a>, <a class="el" href="nonmax_8cl_source.xhtml#l00041">non_max_suppression()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00222">SimpleTensor&lt; T &gt;::operator[]()</a>, <a class="el" href="warp__helpers_8h_source.xhtml#l00045">read_texels4()</a>, <a class="el" href="scharr__filter_8cl_source.xhtml#l00050">scharr3x3()</a>, <a class="el" href="_padding_calculator_8h_source.xhtml#l00127">PaddingCalculator::set_access_offset()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00154">sobel1x5()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00054">sobel3x3()</a>, <a class="el" href="sobel__filter_8cl_source.xhtml#l00206">sobel5x1()</a>, <a class="el" href="softmax__layer_8cl_source.xhtml#l00085">softmax_layer_max()</a>, <a class="el" href="softmax__layer_8cl_source.xhtml#l00250">softmax_layer_norm()</a>, <a class="el" href="softmax__layer_8cl_source.xhtml#l00166">softmax_layer_shift_exp_sum()</a>, <a class="el" href="canny_8cl_source.xhtml#l00191">suppress_non_maximum()</a>, and <a class="el" href="transpose_8cl_source.xhtml#l00148">transpose()</a>.</p>
1064<div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;{</div>
1065<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keywordflow">return</span> img-&gt;<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> + x * img-&gt;<a class="code" href="struct_image.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">stride_x</a> + y * img-&gt;<a class="code" href="struct_image.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">stride_y</a>;</div>
1066<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;}</div>
1067<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#l00133">helpers.h:133</a></div></div>
1068<div class="ttc" id="struct_image_xhtml_a4f0b90c9ecd6e57ceb3f37332fefe8f1"><div class="ttname"><a href="struct_image.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">Image::stride_y</a></div><div class="ttdeci">int stride_y</div><div class="ttdoc">Stride of the image in Y dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00136">helpers.h:136</a></div></div>
1069<div class="ttc" id="struct_image_xhtml_ae01febbfd0689ef709f3ff6fdd2abc7e"><div class="ttname"><a href="struct_image.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">Image::stride_x</a></div><div class="ttdeci">int stride_x</div><div class="ttdoc">Stride of the image in X dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00135">helpers.h:135</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001070</div><!-- fragment -->
1071</div>
1072</div>
1073<a class="anchor" id="a2101b2fe0193ce227ae4e0945e321d85"></a>
1074<div class="memitem">
1075<div class="memproto">
1076<table class="mlabels">
1077 <tr>
1078 <td class="mlabels-left">
1079 <table class="memname">
1080 <tr>
1081 <td class="memname">__global const uchar* tensor3D_offset </td>
1082 <td>(</td>
1083 <td class="paramtype">const <a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a> *&#160;</td>
1084 <td class="paramname"><em>tensor</em>, </td>
1085 </tr>
1086 <tr>
1087 <td class="paramkey"></td>
1088 <td></td>
1089 <td class="paramtype">int&#160;</td>
1090 <td class="paramname"><em>x</em>, </td>
1091 </tr>
1092 <tr>
1093 <td class="paramkey"></td>
1094 <td></td>
1095 <td class="paramtype">int&#160;</td>
1096 <td class="paramname"><em>y</em>, </td>
1097 </tr>
1098 <tr>
1099 <td class="paramkey"></td>
1100 <td></td>
1101 <td class="paramtype">int&#160;</td>
1102 <td class="paramname"><em>z</em>&#160;</td>
1103 </tr>
1104 <tr>
1105 <td></td>
1106 <td>)</td>
1107 <td></td><td></td>
1108 </tr>
1109 </table>
1110 </td>
1111 <td class="mlabels-right">
1112<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1113 </tr>
1114</table>
1115</div><div class="memdoc">
1116
1117<p>Get the pointer position of a <a class="el" href="struct_tensor3_d.xhtml" title="Structure to hold 3D tensor information. ">Tensor3D</a>. </p>
1118<dl class="params"><dt>Parameters</dt><dd>
1119 <table class="params">
Kaizen8938bd32017-09-28 14:38:23 +01001120 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td>Pointer to the starting position of the buffer </td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +00001121 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Relative X position </td></tr>
1122 <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Relative Y position </td></tr>
1123 <tr><td class="paramdir">[in]</td><td class="paramname">z</td><td>Relative Z position </td></tr>
1124 </table>
1125 </dd>
1126</dl>
1127
Kaizen8938bd32017-09-28 14:38:23 +01001128<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00304">304</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001129
Kaizen8938bd32017-09-28 14:38:23 +01001130<p>References <a class="el" href="helpers_8h_source.xhtml#l00142">Tensor3D::ptr</a>, <a class="el" href="helpers_8h_source.xhtml#l00144">Tensor3D::stride_x</a>, <a class="el" href="helpers_8h_source.xhtml#l00145">Tensor3D::stride_y</a>, and <a class="el" href="helpers_8h_source.xhtml#l00146">Tensor3D::stride_z</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001131
Kaizen8938bd32017-09-28 14:38:23 +01001132<p>Referenced by <a class="el" href="concatenate_8cl_source.xhtml#l00046">concatenate_depth()</a>, <a class="el" href="normalization__layer_8cl_source.xhtml#l00079">normalization_layer_cross_map()</a>, <a class="el" href="normalization__layer_8cl_source.xhtml#l00140">normalization_layer_in_map_1D()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00222">pooling_layer_2()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00286">pooling_layer_3()</a>, <a class="el" href="pooling__layer_8cl_source.xhtml#l00424">pooling_layer_7()</a>, <a class="el" href="reshape__layer_8cl_source.xhtml#l00049">reshape_layer()</a>, <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00061">roi_pool_1x1()</a>, and <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00123">roi_pooling_layer()</a>.</p>
1133<div class="fragment"><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;{</div>
1134<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keywordflow">return</span> tensor-&gt;<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> + x * tensor-&gt;<a class="code" href="struct_tensor3_d.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">stride_x</a> + y * tensor-&gt;<a class="code" href="struct_tensor3_d.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">stride_y</a> + z * tensor-&gt;<a class="code" href="struct_tensor3_d.xhtml#ad5ff7a2b2bd0eec50fe09c254b127d1c">stride_z</a>;</div>
1135<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;}</div>
1136<div class="ttc" id="struct_tensor3_d_xhtml_ad5ff7a2b2bd0eec50fe09c254b127d1c"><div class="ttname"><a href="struct_tensor3_d.xhtml#ad5ff7a2b2bd0eec50fe09c254b127d1c">Tensor3D::stride_z</a></div><div class="ttdeci">int stride_z</div><div class="ttdoc">Stride of the image in Z dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00146">helpers.h:146</a></div></div>
1137<div class="ttc" id="struct_tensor3_d_xhtml_ae01febbfd0689ef709f3ff6fdd2abc7e"><div class="ttname"><a href="struct_tensor3_d.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">Tensor3D::stride_x</a></div><div class="ttdeci">int stride_x</div><div class="ttdoc">Stride of the image in X dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00144">helpers.h:144</a></div></div>
1138<div class="ttc" id="struct_tensor3_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor3D::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#l00142">helpers.h:142</a></div></div>
1139<div class="ttc" id="struct_tensor3_d_xhtml_a4f0b90c9ecd6e57ceb3f37332fefe8f1"><div class="ttname"><a href="struct_tensor3_d.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">Tensor3D::stride_y</a></div><div class="ttdeci">int stride_y</div><div class="ttdoc">Stride of the image in Y dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00145">helpers.h:145</a></div></div>
1140</div><!-- fragment -->
1141</div>
1142</div>
1143<a class="anchor" id="ad442fb5ec8be1fff97f543150de5d822"></a>
1144<div class="memitem">
1145<div class="memproto">
1146<table class="mlabels">
1147 <tr>
1148 <td class="mlabels-left">
1149 <table class="memname">
1150 <tr>
1151 <td class="memname">__global const uchar* tensor4D_offset </td>
1152 <td>(</td>
1153 <td class="paramtype">const <a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a> *&#160;</td>
1154 <td class="paramname"><em>tensor</em>, </td>
1155 </tr>
1156 <tr>
1157 <td class="paramkey"></td>
1158 <td></td>
1159 <td class="paramtype">int&#160;</td>
1160 <td class="paramname"><em>x</em>, </td>
1161 </tr>
1162 <tr>
1163 <td class="paramkey"></td>
1164 <td></td>
1165 <td class="paramtype">int&#160;</td>
1166 <td class="paramname"><em>y</em>, </td>
1167 </tr>
1168 <tr>
1169 <td class="paramkey"></td>
1170 <td></td>
1171 <td class="paramtype">int&#160;</td>
1172 <td class="paramname"><em>z</em>, </td>
1173 </tr>
1174 <tr>
1175 <td class="paramkey"></td>
1176 <td></td>
1177 <td class="paramtype">int&#160;</td>
1178 <td class="paramname"><em>w</em>&#160;</td>
1179 </tr>
1180 <tr>
1181 <td></td>
1182 <td>)</td>
1183 <td></td><td></td>
1184 </tr>
1185 </table>
1186 </td>
1187 <td class="mlabels-right">
1188<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1189 </tr>
1190</table>
1191</div><div class="memdoc">
1192
1193<p>Get the pointer position of a <a class="el" href="struct_tensor4_d.xhtml" title="Structure to hold 4D tensor information. ">Tensor4D</a>. </p>
1194<dl class="params"><dt>Parameters</dt><dd>
1195 <table class="params">
1196 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td>Pointer to the starting position of the buffer </td></tr>
1197 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Relative X position </td></tr>
1198 <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Relative Y position </td></tr>
1199 <tr><td class="paramdir">[in]</td><td class="paramname">z</td><td>Relative Z position </td></tr>
1200 <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>Relative W position </td></tr>
1201 </table>
1202 </dd>
1203</dl>
1204
1205<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00317">317</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
1206
1207<p>References <a class="el" href="helpers_8h_source.xhtml#l00152">Tensor4D::ptr</a>, <a class="el" href="helpers_8h_source.xhtml#l00157">Tensor4D::stride_w</a>, <a class="el" href="helpers_8h_source.xhtml#l00154">Tensor4D::stride_x</a>, <a class="el" href="helpers_8h_source.xhtml#l00155">Tensor4D::stride_y</a>, and <a class="el" href="helpers_8h_source.xhtml#l00156">Tensor4D::stride_z</a>.</p>
1208<div class="fragment"><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;{</div>
1209<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; <span class="keywordflow">return</span> tensor-&gt;<a class="code" href="struct_tensor4_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> + x * tensor-&gt;<a class="code" href="struct_tensor4_d.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">stride_x</a> + y * tensor-&gt;<a class="code" href="struct_tensor4_d.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">stride_y</a> + z * tensor-&gt;<a class="code" href="struct_tensor4_d.xhtml#ad5ff7a2b2bd0eec50fe09c254b127d1c">stride_z</a> + w * tensor-&gt;<a class="code" href="struct_tensor4_d.xhtml#a13a60f6e75f64f1953b8858ea454a880">stride_w</a>;</div>
1210<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;}</div>
1211<div class="ttc" id="struct_tensor4_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor4_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor4D::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#l00152">helpers.h:152</a></div></div>
1212<div class="ttc" id="struct_tensor4_d_xhtml_a13a60f6e75f64f1953b8858ea454a880"><div class="ttname"><a href="struct_tensor4_d.xhtml#a13a60f6e75f64f1953b8858ea454a880">Tensor4D::stride_w</a></div><div class="ttdeci">int stride_w</div><div class="ttdoc">Stride of the image in W dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00157">helpers.h:157</a></div></div>
1213<div class="ttc" id="struct_tensor4_d_xhtml_a4f0b90c9ecd6e57ceb3f37332fefe8f1"><div class="ttname"><a href="struct_tensor4_d.xhtml#a4f0b90c9ecd6e57ceb3f37332fefe8f1">Tensor4D::stride_y</a></div><div class="ttdeci">int stride_y</div><div class="ttdoc">Stride of the image in Y dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00155">helpers.h:155</a></div></div>
1214<div class="ttc" id="struct_tensor4_d_xhtml_ae01febbfd0689ef709f3ff6fdd2abc7e"><div class="ttname"><a href="struct_tensor4_d.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">Tensor4D::stride_x</a></div><div class="ttdeci">int stride_x</div><div class="ttdoc">Stride of the image in X dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00154">helpers.h:154</a></div></div>
1215<div class="ttc" id="struct_tensor4_d_xhtml_ad5ff7a2b2bd0eec50fe09c254b127d1c"><div class="ttname"><a href="struct_tensor4_d.xhtml#ad5ff7a2b2bd0eec50fe09c254b127d1c">Tensor4D::stride_z</a></div><div class="ttdeci">int stride_z</div><div class="ttdoc">Stride of the image in Z dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00156">helpers.h:156</a></div></div>
1216</div><!-- fragment -->
1217</div>
1218</div>
1219<a class="anchor" id="a65fd24237c8278ecb38183f93cc70f05"></a>
1220<div class="memitem">
1221<div class="memproto">
1222<table class="mlabels">
1223 <tr>
1224 <td class="mlabels-left">
1225 <table class="memname">
1226 <tr>
1227 <td class="memname"><a class="el" href="struct_image.xhtml">Image</a> update_image_from_tensor3D_workitem_ptr </td>
1228 <td>(</td>
1229 <td class="paramtype">__global uchar *&#160;</td>
1230 <td class="paramname"><em>ptr</em>, </td>
1231 </tr>
1232 <tr>
1233 <td class="paramkey"></td>
1234 <td></td>
1235 <td class="paramtype">uint&#160;</td>
1236 <td class="paramname"><em>offset_first_element_in_bytes</em>, </td>
1237 </tr>
1238 <tr>
1239 <td class="paramkey"></td>
1240 <td></td>
1241 <td class="paramtype">uint&#160;</td>
1242 <td class="paramname"><em>stride_x</em>, </td>
1243 </tr>
1244 <tr>
1245 <td class="paramkey"></td>
1246 <td></td>
1247 <td class="paramtype">uint&#160;</td>
1248 <td class="paramname"><em>step_x</em>, </td>
1249 </tr>
1250 <tr>
1251 <td class="paramkey"></td>
1252 <td></td>
1253 <td class="paramtype">uint&#160;</td>
1254 <td class="paramname"><em>stride_y</em>, </td>
1255 </tr>
1256 <tr>
1257 <td class="paramkey"></td>
1258 <td></td>
1259 <td class="paramtype">uint&#160;</td>
1260 <td class="paramname"><em>step_y</em>, </td>
1261 </tr>
1262 <tr>
1263 <td class="paramkey"></td>
1264 <td></td>
1265 <td class="paramtype">uint&#160;</td>
1266 <td class="paramname"><em>stride_z</em>, </td>
1267 </tr>
1268 <tr>
1269 <td class="paramkey"></td>
1270 <td></td>
1271 <td class="paramtype">uint&#160;</td>
1272 <td class="paramname"><em>step_z</em>&#160;</td>
1273 </tr>
1274 <tr>
1275 <td></td>
1276 <td>)</td>
1277 <td></td><td></td>
1278 </tr>
1279 </table>
1280 </td>
1281 <td class="mlabels-right">
1282<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1283 </tr>
1284</table>
1285</div><div class="memdoc">
1286
1287<p>Wrap 3D tensor information into an image structure, and make the pointer point at this workitem's data. </p>
1288<dl class="params"><dt>Parameters</dt><dd>
1289 <table class="params">
1290 <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>Pointer to the starting postion of the buffer </td></tr>
1291 <tr><td class="paramdir">[in]</td><td class="paramname">offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
1292 <tr><td class="paramdir">[in]</td><td class="paramname">stride_x</td><td>Stride of the image in X dimension (in bytes) </td></tr>
1293 <tr><td class="paramdir">[in]</td><td class="paramname">step_x</td><td>stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1294 <tr><td class="paramdir">[in]</td><td class="paramname">stride_y</td><td>Stride of the image in Y dimension (in bytes) </td></tr>
1295 <tr><td class="paramdir">[in]</td><td class="paramname">step_y</td><td>stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
1296 <tr><td class="paramdir">[in]</td><td class="paramname">stride_z</td><td>Stride of the image in Z dimension (in bytes) </td></tr>
1297 <tr><td class="paramdir">[in]</td><td class="paramname">step_z</td><td>stride_z * number of elements along Z processed per workitem(in bytes)</td></tr>
1298 </table>
1299 </dd>
1300</dl>
1301<dl class="section return"><dt>Returns</dt><dd>A 3D tensor object </dd></dl>
1302
1303<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00218">218</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
1304
1305<p>References <a class="el" href="helpers_8h_source.xhtml#l00134">Image::offset_first_element_in_bytes</a>, and <a class="el" href="helpers_8h_source.xhtml#l00133">Image::ptr</a>.</p>
1306<div class="fragment"><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;{</div>
1307<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> img =</div>
1308<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; {</div>
1309<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; .<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> = ptr,</div>
1310<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; .offset_first_element_in_bytes = offset_first_element_in_bytes,</div>
1311<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; .stride_x = stride_x,</div>
1312<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; .stride_y = stride_y</div>
1313<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; };</div>
1314<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; img.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> += img.<a class="code" href="struct_image.xhtml#a35e5a91338398273f3b4a6010004bddd">offset_first_element_in_bytes</a> + get_global_id(0) * step_x + get_global_id(1) * step_y + get_global_id(2) * step_z;</div>
1315<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> img;</div>
1316<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;}</div>
1317<div class="ttc" id="struct_image_xhtml_a35e5a91338398273f3b4a6010004bddd"><div class="ttname"><a href="struct_image.xhtml#a35e5a91338398273f3b4a6010004bddd">Image::offset_first_element_in_bytes</a></div><div class="ttdeci">int offset_first_element_in_bytes</div><div class="ttdoc">The offset of the first element in the source image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00134">helpers.h:134</a></div></div>
1318<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#l00131">helpers.h:131</a></div></div>
1319<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#l00133">helpers.h:133</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001320</div><!-- fragment -->
1321</div>
1322</div>
1323<a class="anchor" id="a0a4395130f74a4293a7d3a19d8fac86d"></a>
1324<div class="memitem">
1325<div class="memproto">
1326<table class="mlabels">
1327 <tr>
1328 <td class="mlabels-left">
1329 <table class="memname">
1330 <tr>
1331 <td class="memname"><a class="el" href="struct_image.xhtml">Image</a> update_image_workitem_ptr </td>
1332 <td>(</td>
1333 <td class="paramtype">__global uchar *&#160;</td>
1334 <td class="paramname"><em>ptr</em>, </td>
1335 </tr>
1336 <tr>
1337 <td class="paramkey"></td>
1338 <td></td>
1339 <td class="paramtype">uint&#160;</td>
1340 <td class="paramname"><em>offset_first_element_in_bytes</em>, </td>
1341 </tr>
1342 <tr>
1343 <td class="paramkey"></td>
1344 <td></td>
1345 <td class="paramtype">uint&#160;</td>
1346 <td class="paramname"><em>stride_x</em>, </td>
1347 </tr>
1348 <tr>
1349 <td class="paramkey"></td>
1350 <td></td>
1351 <td class="paramtype">uint&#160;</td>
1352 <td class="paramname"><em>step_x</em>, </td>
1353 </tr>
1354 <tr>
1355 <td class="paramkey"></td>
1356 <td></td>
1357 <td class="paramtype">uint&#160;</td>
1358 <td class="paramname"><em>stride_y</em>, </td>
1359 </tr>
1360 <tr>
1361 <td class="paramkey"></td>
1362 <td></td>
1363 <td class="paramtype">uint&#160;</td>
1364 <td class="paramname"><em>step_y</em>&#160;</td>
1365 </tr>
1366 <tr>
1367 <td></td>
1368 <td>)</td>
1369 <td></td><td></td>
1370 </tr>
1371 </table>
1372 </td>
1373 <td class="mlabels-right">
1374<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1375 </tr>
1376</table>
1377</div><div class="memdoc">
1378
1379<p>Wrap image information into an <a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> structure, and make the pointer point at this workitem's data. </p>
1380<dl class="params"><dt>Parameters</dt><dd>
1381 <table class="params">
1382 <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>Pointer to the starting postion of the buffer </td></tr>
1383 <tr><td class="paramdir">[in]</td><td class="paramname">offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
1384 <tr><td class="paramdir">[in]</td><td class="paramname">stride_x</td><td>Stride of the image in X dimension (in bytes) </td></tr>
1385 <tr><td class="paramdir">[in]</td><td class="paramname">step_x</td><td>stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1386 <tr><td class="paramdir">[in]</td><td class="paramname">stride_y</td><td>Stride of the image in Y dimension (in bytes) </td></tr>
1387 <tr><td class="paramdir">[in]</td><td class="paramname">step_y</td><td>stride_y * number of elements along Y processed per workitem(in bytes)</td></tr>
1388 </table>
1389 </dd>
1390</dl>
1391<dl class="section return"><dt>Returns</dt><dd>An image object </dd></dl>
1392
Kaizen8938bd32017-09-28 14:38:23 +01001393<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00192">192</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001394
Kaizen8938bd32017-09-28 14:38:23 +01001395<p>References <a class="el" href="helpers_8h_source.xhtml#l00134">Image::offset_first_element_in_bytes</a>, and <a class="el" href="helpers_8h_source.xhtml#l00133">Image::ptr</a>.</p>
1396<div class="fragment"><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;{</div>
1397<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <a class="code" href="struct_image.xhtml">Image</a> img =</div>
1398<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; {</div>
1399<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; .<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> = ptr,</div>
1400<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; .offset_first_element_in_bytes = offset_first_element_in_bytes,</div>
1401<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; .stride_x = stride_x,</div>
1402<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; .stride_y = stride_y</div>
1403<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; };</div>
1404<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; img.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> += img.<a class="code" href="struct_image.xhtml#a35e5a91338398273f3b4a6010004bddd">offset_first_element_in_bytes</a> + get_global_id(0) * step_x + get_global_id(1) * step_y;</div>
1405<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">return</span> img;</div>
1406<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;}</div>
1407<div class="ttc" id="struct_image_xhtml_a35e5a91338398273f3b4a6010004bddd"><div class="ttname"><a href="struct_image.xhtml#a35e5a91338398273f3b4a6010004bddd">Image::offset_first_element_in_bytes</a></div><div class="ttdeci">int offset_first_element_in_bytes</div><div class="ttdoc">The offset of the first element in the source image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00134">helpers.h:134</a></div></div>
1408<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#l00131">helpers.h:131</a></div></div>
1409<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#l00133">helpers.h:133</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001410</div><!-- fragment -->
1411</div>
1412</div>
1413<a class="anchor" id="a912ccbcc4235bf1274c95d05b50440d4"></a>
1414<div class="memitem">
1415<div class="memproto">
1416<table class="mlabels">
1417 <tr>
1418 <td class="mlabels-left">
1419 <table class="memname">
1420 <tr>
1421 <td class="memname"><a class="el" href="struct_tensor3_d.xhtml">Tensor3D</a> update_tensor3D_workitem_ptr </td>
1422 <td>(</td>
1423 <td class="paramtype">__global uchar *&#160;</td>
1424 <td class="paramname"><em>ptr</em>, </td>
1425 </tr>
1426 <tr>
1427 <td class="paramkey"></td>
1428 <td></td>
1429 <td class="paramtype">uint&#160;</td>
1430 <td class="paramname"><em>offset_first_element_in_bytes</em>, </td>
1431 </tr>
1432 <tr>
1433 <td class="paramkey"></td>
1434 <td></td>
1435 <td class="paramtype">uint&#160;</td>
1436 <td class="paramname"><em>stride_x</em>, </td>
1437 </tr>
1438 <tr>
1439 <td class="paramkey"></td>
1440 <td></td>
1441 <td class="paramtype">uint&#160;</td>
1442 <td class="paramname"><em>step_x</em>, </td>
1443 </tr>
1444 <tr>
1445 <td class="paramkey"></td>
1446 <td></td>
1447 <td class="paramtype">uint&#160;</td>
1448 <td class="paramname"><em>stride_y</em>, </td>
1449 </tr>
1450 <tr>
1451 <td class="paramkey"></td>
1452 <td></td>
1453 <td class="paramtype">uint&#160;</td>
1454 <td class="paramname"><em>step_y</em>, </td>
1455 </tr>
1456 <tr>
1457 <td class="paramkey"></td>
1458 <td></td>
1459 <td class="paramtype">uint&#160;</td>
1460 <td class="paramname"><em>stride_z</em>, </td>
1461 </tr>
1462 <tr>
1463 <td class="paramkey"></td>
1464 <td></td>
1465 <td class="paramtype">uint&#160;</td>
1466 <td class="paramname"><em>step_z</em>&#160;</td>
1467 </tr>
1468 <tr>
1469 <td></td>
1470 <td>)</td>
1471 <td></td><td></td>
1472 </tr>
1473 </table>
1474 </td>
1475 <td class="mlabels-right">
1476<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1477 </tr>
1478</table>
1479</div><div class="memdoc">
1480
1481<p>Wrap 3D tensor information into an tensor structure, and make the pointer point at this workitem's data. </p>
1482<dl class="params"><dt>Parameters</dt><dd>
1483 <table class="params">
1484 <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>Pointer to the starting postion of the buffer </td></tr>
1485 <tr><td class="paramdir">[in]</td><td class="paramname">offset_first_element_in_bytes</td><td>The offset of the first element in the source image </td></tr>
1486 <tr><td class="paramdir">[in]</td><td class="paramname">stride_x</td><td>Stride of the image in X dimension (in bytes) </td></tr>
1487 <tr><td class="paramdir">[in]</td><td class="paramname">step_x</td><td>stride_x * number of elements along X processed per workitem(in bytes) </td></tr>
1488 <tr><td class="paramdir">[in]</td><td class="paramname">stride_y</td><td>Stride of the image in Y dimension (in bytes) </td></tr>
1489 <tr><td class="paramdir">[in]</td><td class="paramname">step_y</td><td>stride_y * number of elements along Y processed per workitem(in bytes) </td></tr>
1490 <tr><td class="paramdir">[in]</td><td class="paramname">stride_z</td><td>Stride of the image in Z dimension (in bytes) </td></tr>
1491 <tr><td class="paramdir">[in]</td><td class="paramname">step_z</td><td>stride_z * number of elements along Z processed per workitem(in bytes)</td></tr>
1492 </table>
1493 </dd>
1494</dl>
1495<dl class="section return"><dt>Returns</dt><dd>A 3D tensor object </dd></dl>
1496
Kaizen8938bd32017-09-28 14:38:23 +01001497<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00244">244</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001498
Kaizen8938bd32017-09-28 14:38:23 +01001499<p>References <a class="el" href="helpers_8h_source.xhtml#l00143">Tensor3D::offset_first_element_in_bytes</a>, and <a class="el" href="helpers_8h_source.xhtml#l00142">Tensor3D::ptr</a>.</p>
1500<div class="fragment"><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;{</div>
1501<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <a class="code" href="struct_tensor3_d.xhtml">Tensor3D</a> tensor =</div>
1502<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; {</div>
1503<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; .<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> = ptr,</div>
1504<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; .offset_first_element_in_bytes = offset_first_element_in_bytes,</div>
1505<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; .stride_x = stride_x,</div>
1506<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; .stride_y = stride_y,</div>
1507<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; .stride_z = stride_z</div>
1508<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; };</div>
1509<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; tensor.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> += tensor.<a class="code" href="struct_tensor3_d.xhtml#a35e5a91338398273f3b4a6010004bddd">offset_first_element_in_bytes</a> + get_global_id(0) * step_x + get_global_id(1) * step_y + get_global_id(2) * step_z;</div>
1510<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordflow">return</span> tensor;</div>
1511<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;}</div>
1512<div class="ttc" id="struct_tensor3_d_xhtml"><div class="ttname"><a href="struct_tensor3_d.xhtml">Tensor3D</a></div><div class="ttdoc">Structure to hold 3D tensor information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00140">helpers.h:140</a></div></div>
1513<div class="ttc" id="struct_tensor3_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor3D::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#l00142">helpers.h:142</a></div></div>
1514<div class="ttc" id="struct_tensor3_d_xhtml_a35e5a91338398273f3b4a6010004bddd"><div class="ttname"><a href="struct_tensor3_d.xhtml#a35e5a91338398273f3b4a6010004bddd">Tensor3D::offset_first_element_in_bytes</a></div><div class="ttdeci">int offset_first_element_in_bytes</div><div class="ttdoc">The offset of the first element in the source image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00143">helpers.h:143</a></div></div>
1515</div><!-- fragment -->
1516</div>
1517</div>
1518<a class="anchor" id="a87a9d201ccc6b81332852d562bb7ee13"></a>
1519<div class="memitem">
1520<div class="memproto">
1521<table class="mlabels">
1522 <tr>
1523 <td class="mlabels-left">
1524 <table class="memname">
1525 <tr>
1526 <td class="memname"><a class="el" href="struct_tensor4_d.xhtml">Tensor4D</a> update_tensor4D_workitem_ptr </td>
1527 <td>(</td>
1528 <td class="paramtype">__global uchar *&#160;</td>
1529 <td class="paramname"><em>ptr</em>, </td>
1530 </tr>
1531 <tr>
1532 <td class="paramkey"></td>
1533 <td></td>
1534 <td class="paramtype">uint&#160;</td>
1535 <td class="paramname"><em>offset_first_element_in_bytes</em>, </td>
1536 </tr>
1537 <tr>
1538 <td class="paramkey"></td>
1539 <td></td>
1540 <td class="paramtype">uint&#160;</td>
1541 <td class="paramname"><em>stride_x</em>, </td>
1542 </tr>
1543 <tr>
1544 <td class="paramkey"></td>
1545 <td></td>
1546 <td class="paramtype">uint&#160;</td>
1547 <td class="paramname"><em>step_x</em>, </td>
1548 </tr>
1549 <tr>
1550 <td class="paramkey"></td>
1551 <td></td>
1552 <td class="paramtype">uint&#160;</td>
1553 <td class="paramname"><em>stride_y</em>, </td>
1554 </tr>
1555 <tr>
1556 <td class="paramkey"></td>
1557 <td></td>
1558 <td class="paramtype">uint&#160;</td>
1559 <td class="paramname"><em>step_y</em>, </td>
1560 </tr>
1561 <tr>
1562 <td class="paramkey"></td>
1563 <td></td>
1564 <td class="paramtype">uint&#160;</td>
1565 <td class="paramname"><em>stride_z</em>, </td>
1566 </tr>
1567 <tr>
1568 <td class="paramkey"></td>
1569 <td></td>
1570 <td class="paramtype">uint&#160;</td>
1571 <td class="paramname"><em>step_z</em>, </td>
1572 </tr>
1573 <tr>
1574 <td class="paramkey"></td>
1575 <td></td>
1576 <td class="paramtype">uint&#160;</td>
1577 <td class="paramname"><em>stride_w</em>, </td>
1578 </tr>
1579 <tr>
1580 <td class="paramkey"></td>
1581 <td></td>
1582 <td class="paramtype">uint&#160;</td>
1583 <td class="paramname"><em>step_w</em>, </td>
1584 </tr>
1585 <tr>
1586 <td class="paramkey"></td>
1587 <td></td>
1588 <td class="paramtype">uint&#160;</td>
1589 <td class="paramname"><em>mod_size</em>&#160;</td>
1590 </tr>
1591 <tr>
1592 <td></td>
1593 <td>)</td>
1594 <td></td><td></td>
1595 </tr>
1596 </table>
1597 </td>
1598 <td class="mlabels-right">
1599<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1600 </tr>
1601</table>
1602</div><div class="memdoc">
1603
1604<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00258">258</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
1605
1606<p>References <a class="el" href="helpers_8h_source.xhtml#l00153">Tensor4D::offset_first_element_in_bytes</a>, and <a class="el" href="helpers_8h_source.xhtml#l00152">Tensor4D::ptr</a>.</p>
1607<div class="fragment"><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;{</div>
1608<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <a class="code" href="struct_tensor4_d.xhtml">Tensor4D</a> tensor =</div>
1609<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; {</div>
1610<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; .<a class="code" href="struct_tensor4_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> = ptr,</div>
1611<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; .offset_first_element_in_bytes = offset_first_element_in_bytes,</div>
1612<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; .stride_x = stride_x,</div>
1613<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; .stride_y = stride_y,</div>
1614<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; .stride_z = stride_z,</div>
1615<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; .stride_w = stride_w</div>
1616<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; };</div>
1617<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div>
1618<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; tensor.<a class="code" href="struct_tensor4_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> += tensor.<a class="code" href="struct_tensor4_d.xhtml#a35e5a91338398273f3b4a6010004bddd">offset_first_element_in_bytes</a> + get_global_id(0) * step_x + get_global_id(1) * step_y + (get_global_id(2) % mod_size) * step_z + (get_global_id(2) / mod_size) * step_w;</div>
1619<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keywordflow">return</span> tensor;</div>
1620<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;}</div>
1621<div class="ttc" id="struct_tensor4_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor4_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor4D::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#l00152">helpers.h:152</a></div></div>
1622<div class="ttc" id="struct_tensor4_d_xhtml"><div class="ttname"><a href="struct_tensor4_d.xhtml">Tensor4D</a></div><div class="ttdoc">Structure to hold 4D tensor information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00150">helpers.h:150</a></div></div>
1623<div class="ttc" id="struct_tensor4_d_xhtml_a35e5a91338398273f3b4a6010004bddd"><div class="ttname"><a href="struct_tensor4_d.xhtml#a35e5a91338398273f3b4a6010004bddd">Tensor4D::offset_first_element_in_bytes</a></div><div class="ttdeci">int offset_first_element_in_bytes</div><div class="ttdoc">The offset of the first element in the source image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00153">helpers.h:153</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001624</div><!-- fragment -->
1625</div>
1626</div>
1627<a class="anchor" id="a8fee90913ba658b25516a43cf71e5cbd"></a>
1628<div class="memitem">
1629<div class="memproto">
1630<table class="mlabels">
1631 <tr>
1632 <td class="mlabels-left">
1633 <table class="memname">
1634 <tr>
1635 <td class="memname"><a class="el" href="struct_vector.xhtml">Vector</a> update_vector_workitem_ptr </td>
1636 <td>(</td>
1637 <td class="paramtype">__global uchar *&#160;</td>
1638 <td class="paramname"><em>ptr</em>, </td>
1639 </tr>
1640 <tr>
1641 <td class="paramkey"></td>
1642 <td></td>
1643 <td class="paramtype">uint&#160;</td>
1644 <td class="paramname"><em>offset_first_element_in_bytes</em>, </td>
1645 </tr>
1646 <tr>
1647 <td class="paramkey"></td>
1648 <td></td>
1649 <td class="paramtype">uint&#160;</td>
1650 <td class="paramname"><em>stride_x</em>, </td>
1651 </tr>
1652 <tr>
1653 <td class="paramkey"></td>
1654 <td></td>
1655 <td class="paramtype">uint&#160;</td>
1656 <td class="paramname"><em>step_x</em>&#160;</td>
1657 </tr>
1658 <tr>
1659 <td></td>
1660 <td>)</td>
1661 <td></td><td></td>
1662 </tr>
1663 </table>
1664 </td>
1665 <td class="mlabels-right">
1666<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1667 </tr>
1668</table>
1669</div><div class="memdoc">
1670
1671<p>Wrap vector information into an <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a> structure, and make the pointer point at this workitem's data. </p>
1672<dl class="params"><dt>Parameters</dt><dd>
1673 <table class="params">
1674 <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>Pointer to the starting postion of the buffer </td></tr>
1675 <tr><td class="paramdir">[in]</td><td class="paramname">offset_first_element_in_bytes</td><td>The offset of the first element in the source vector </td></tr>
1676 <tr><td class="paramdir">[in]</td><td class="paramname">stride_x</td><td>Stride of the vector in X dimension (in bytes) </td></tr>
1677 <tr><td class="paramdir">[in]</td><td class="paramname">step_x</td><td>stride_x * number of elements along X processed per workitem(in bytes)</td></tr>
1678 </table>
1679 </dd>
1680</dl>
1681<dl class="section return"><dt>Returns</dt><dd>An image object </dd></dl>
1682
Kaizen8938bd32017-09-28 14:38:23 +01001683<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00169">169</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001684
Kaizen8938bd32017-09-28 14:38:23 +01001685<p>References <a class="el" href="helpers_8h_source.xhtml#l00126">Vector::offset_first_element_in_bytes</a>, and <a class="el" href="helpers_8h_source.xhtml#l00125">Vector::ptr</a>.</p>
1686<div class="fragment"><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;{</div>
1687<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="struct_vector.xhtml">Vector</a> vector =</div>
1688<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; {</div>
1689<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; .<a class="code" href="struct_vector.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> = ptr,</div>
1690<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; .offset_first_element_in_bytes = offset_first_element_in_bytes,</div>
1691<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; .stride_x = stride_x,</div>
1692<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; };</div>
1693<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; vector.<a class="code" href="struct_vector.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> += vector.<a class="code" href="struct_vector.xhtml#a35e5a91338398273f3b4a6010004bddd">offset_first_element_in_bytes</a> + get_global_id(0) * step_x;</div>
1694<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">return</span> vector;</div>
1695<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;}</div>
1696<div class="ttc" id="struct_vector_xhtml"><div class="ttname"><a href="struct_vector.xhtml">Vector</a></div><div class="ttdoc">Structure to hold Vector information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00123">helpers.h:123</a></div></div>
1697<div class="ttc" id="struct_vector_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_vector.xhtml#acf52c23cbd7424606c10a606524e3e32">Vector::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#l00125">helpers.h:125</a></div></div>
1698<div class="ttc" id="struct_vector_xhtml_a35e5a91338398273f3b4a6010004bddd"><div class="ttname"><a href="struct_vector.xhtml#a35e5a91338398273f3b4a6010004bddd">Vector::offset_first_element_in_bytes</a></div><div class="ttdeci">int offset_first_element_in_bytes</div><div class="ttdoc">The offset of the first element in the source image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00126">helpers.h:126</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001699</div><!-- fragment -->
1700</div>
1701</div>
Anthony Barbier46d59272017-05-04 09:15:15 +01001702<a class="anchor" id="a7e4940407322d6f0ccb8b6b86b856019"></a>
Anthony Barbier871448e2017-03-24 14:54:29 +00001703<div class="memitem">
1704<div class="memproto">
1705<table class="mlabels">
1706 <tr>
1707 <td class="mlabels-left">
1708 <table class="memname">
1709 <tr>
1710 <td class="memname">__global const uchar* vector_offset </td>
1711 <td>(</td>
Anthony Barbier46d59272017-05-04 09:15:15 +01001712 <td class="paramtype">const <a class="el" href="struct_vector.xhtml">Vector</a> *&#160;</td>
1713 <td class="paramname"><em>vec</em>, </td>
Anthony Barbier871448e2017-03-24 14:54:29 +00001714 </tr>
1715 <tr>
1716 <td class="paramkey"></td>
1717 <td></td>
1718 <td class="paramtype">int&#160;</td>
1719 <td class="paramname"><em>x</em>&#160;</td>
1720 </tr>
1721 <tr>
1722 <td></td>
1723 <td>)</td>
1724 <td></td><td></td>
1725 </tr>
1726 </table>
1727 </td>
1728 <td class="mlabels-right">
1729<span class="mlabels"><span class="mlabel">inline</span></span> </td>
1730 </tr>
1731</table>
1732</div><div class="memdoc">
1733
1734<p>Get the pointer position of a <a class="el" href="struct_vector.xhtml" title="Structure to hold Vector information. ">Vector</a>. </p>
1735<dl class="params"><dt>Parameters</dt><dd>
1736 <table class="params">
Anthony Barbier46d59272017-05-04 09:15:15 +01001737 <tr><td class="paramdir">[in]</td><td class="paramname">vec</td><td>Pointer to the starting position of the buffer </td></tr>
Anthony Barbier871448e2017-03-24 14:54:29 +00001738 <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Relative X position </td></tr>
1739 </table>
1740 </dd>
1741</dl>
1742
Kaizen8938bd32017-09-28 14:38:23 +01001743<p>Definition at line <a class="el" href="helpers_8h_source.xhtml#l00281">281</a> of file <a class="el" href="helpers_8h_source.xhtml">helpers.h</a>.</p>
Anthony Barbier871448e2017-03-24 14:54:29 +00001744
Kaizen8938bd32017-09-28 14:38:23 +01001745<p>References <a class="el" href="helpers_8h_source.xhtml#l00125">Vector::ptr</a>, and <a class="el" href="helpers_8h_source.xhtml#l00127">Vector::stride_x</a>.</p>
1746
1747<p>Referenced by <a class="el" href="roi__pooling__layer_8cl_source.xhtml#l00123">roi_pooling_layer()</a>.</p>
1748<div class="fragment"><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;{</div>
1749<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">return</span> vec-&gt;<a class="code" href="struct_vector.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> + x * vec-&gt;<a class="code" href="struct_vector.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">stride_x</a>;</div>
1750<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;}</div>
1751<div class="ttc" id="struct_vector_xhtml_ae01febbfd0689ef709f3ff6fdd2abc7e"><div class="ttname"><a href="struct_vector.xhtml#ae01febbfd0689ef709f3ff6fdd2abc7e">Vector::stride_x</a></div><div class="ttdeci">int stride_x</div><div class="ttdoc">Stride of the image in X dimension (in bytes) </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00127">helpers.h:127</a></div></div>
1752<div class="ttc" id="struct_vector_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_vector.xhtml#acf52c23cbd7424606c10a606524e3e32">Vector::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#l00125">helpers.h:125</a></div></div>
Anthony Barbier871448e2017-03-24 14:54:29 +00001753</div><!-- fragment -->
1754</div>
1755</div>
1756</div><!-- contents -->
1757</div><!-- doc-content -->
1758<!-- start footer part -->
1759<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1760 <ul>
Kaizen8938bd32017-09-28 14:38:23 +01001761 <li class="navelem"><a class="el" href="dir_55b5a5006e943fb664ff8cff3cfe7768.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_f6c3ae42d7e27145d0a3c3e38ca1c000.xhtml">core</a></li><li class="navelem"><a class="el" href="dir_1b7ae9123c88e650426d50d95c19d414.xhtml">CL</a></li><li class="navelem"><a class="el" href="dir_b7c3d80b0dadb2139bc73b7161751c12.xhtml">cl_kernels</a></li><li class="navelem"><a class="el" href="helpers_8h.xhtml">helpers.h</a></li>
1762 <li class="footer">Generated on Thu Sep 28 2017 14:37:53 for Compute Library by
Anthony Barbier871448e2017-03-24 14:54:29 +00001763 <a href="http://www.doxygen.org/index.html">
Kaizen8938bd32017-09-28 14:38:23 +01001764 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
Anthony Barbier871448e2017-03-24 14:54:29 +00001765 </ul>
1766</div>
1767</body>
1768</html>