1 <!-- 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">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>ARM Compute Library: Window Class Reference</title>
10 <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>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18 $(document).ready(initResizable);
19 $(window).load(resizeHeight);
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25 $(document).ready(function() { init_search(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">ARM Compute Library
43  <span id="projectnumber">17.04</span>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
59 <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li>
60 <li><a href="files.xhtml"><span>Files</span></a></li>
62 <div id="MSearchBox" class="MSearchBoxInactive">
64 <img id="MSearchSelect" src="search/mag_sel.png"
65 onmouseover="return searchBox.OnSearchSelectShow()"
66 onmouseout="return searchBox.OnSearchSelectHide()"
68 <input type="text" id="MSearchField" value="Search" accesskey="S"
69 onfocus="searchBox.OnSearchFieldFocus(true)"
70 onblur="searchBox.OnSearchFieldFocus(false)"
71 onkeyup="searchBox.OnSearchFieldChange(event)"/>
72 </span><span class="right">
73 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
79 <div id="navrow2" class="tabs2">
81 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
82 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
83 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
84 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
88 <div id="side-nav" class="ui-resizable side-nav-resizable">
90 <div id="nav-tree-contents">
91 <div id="nav-sync" class="sync"></div>
94 <div id="splitbar" style="-moz-user-select:none;"
95 class="ui-resizable-handle">
98 <script type="text/javascript">
99 $(document).ready(function(){initNavTree('classarm__compute_1_1_window.xhtml','');});
101 <div id="doc-content">
102 <!-- window showing the filter options -->
103 <div id="MSearchSelectWindow"
104 onmouseover="return searchBox.OnSearchSelectShow()"
105 onmouseout="return searchBox.OnSearchSelectHide()"
106 onkeydown="return searchBox.OnSearchSelectKey(event)">
109 <!-- iframe showing the search results (closed by default) -->
110 <div id="MSearchResultsWindow">
111 <iframe src="javascript:void(0)" frameborder="0"
112 name="MSearchResults" id="MSearchResults">
117 <div class="summary">
118 <a href="#nested-classes">Data Structures</a> |
119 <a href="#pub-methods">Public Member Functions</a> |
120 <a href="#pub-static-attribs">Static Public Attributes</a> </div>
121 <div class="headertitle">
122 <div class="title">Window Class Reference</div> </div>
124 <div class="contents">
126 <p>Describe a multidimensional execution window.
127 <a href="classarm__compute_1_1_window.xhtml#details">More...</a></p>
129 <p><code>#include <<a class="el" href="_window_8h_source.xhtml">Window.h</a>></code></p>
130 <table class="memberdecls">
131 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
132 Data Structures</h2></td></tr>
133 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a></td></tr>
134 <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Describe one of the image's dimensions with a start, end and step. <a href="classarm__compute_1_1_window_1_1_dimension.xhtml#details">More...</a><br /></td></tr>
135 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
136 </table><table class="memberdecls">
137 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
138 Public Member Functions</h2></td></tr>
139 <tr class="memitem:ab242a9d3683ac8f480f7944ff6f40534"><td class="memItemLeft" align="right" valign="top">constexpr </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ab242a9d3683ac8f480f7944ff6f40534">Window</a> ()</td></tr>
140 <tr class="memdesc:ab242a9d3683ac8f480f7944ff6f40534"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor: create a window containing a single element. <a href="#ab242a9d3683ac8f480f7944ff6f40534">More...</a><br /></td></tr>
141 <tr class="separator:ab242a9d3683ac8f480f7944ff6f40534"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:ae65e2546322a23806510364033bc8fcd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ae65e2546322a23806510364033bc8fcd">Window</a> (const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &src)</td></tr>
143 <tr class="memdesc:ae65e2546322a23806510364033bc8fcd"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ae65e2546322a23806510364033bc8fcd">More...</a><br /></td></tr>
144 <tr class="separator:ae65e2546322a23806510364033bc8fcd"><td class="memSeparator" colspan="2"> </td></tr>
145 <tr class="memitem:a677b385d536f4f81706f729e9b1c91da"><td class="memItemLeft" align="right" valign="top">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a677b385d536f4f81706f729e9b1c91da">operator[]</a> (size_t dimension) const </td></tr>
146 <tr class="memdesc:a677b385d536f4f81706f729e9b1c91da"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to a given dimension of the window. <a href="#a677b385d536f4f81706f729e9b1c91da">More...</a><br /></td></tr>
147 <tr class="separator:a677b385d536f4f81706f729e9b1c91da"><td class="memSeparator" colspan="2"> </td></tr>
148 <tr class="memitem:ade63ce331b49eb66d330aab444e57ca9"><td class="memItemLeft" align="right" valign="top">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ade63ce331b49eb66d330aab444e57ca9">x</a> () const </td></tr>
149 <tr class="memdesc:ade63ce331b49eb66d330aab444e57ca9"><td class="mdescLeft"> </td><td class="mdescRight">Alias to access the first dimension of the window. <a href="#ade63ce331b49eb66d330aab444e57ca9">More...</a><br /></td></tr>
150 <tr class="separator:ade63ce331b49eb66d330aab444e57ca9"><td class="memSeparator" colspan="2"> </td></tr>
151 <tr class="memitem:aedd49c804f269c0e2c251c4efd44a275"><td class="memItemLeft" align="right" valign="top">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#aedd49c804f269c0e2c251c4efd44a275">y</a> () const </td></tr>
152 <tr class="memdesc:aedd49c804f269c0e2c251c4efd44a275"><td class="mdescLeft"> </td><td class="mdescRight">Alias to access the second dimension of the window. <a href="#aedd49c804f269c0e2c251c4efd44a275">More...</a><br /></td></tr>
153 <tr class="separator:aedd49c804f269c0e2c251c4efd44a275"><td class="memSeparator" colspan="2"> </td></tr>
154 <tr class="memitem:ade6a04ff1f61b38e07ddb8ef741c996b"><td class="memItemLeft" align="right" valign="top">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ade6a04ff1f61b38e07ddb8ef741c996b">z</a> () const </td></tr>
155 <tr class="memdesc:ade6a04ff1f61b38e07ddb8ef741c996b"><td class="mdescLeft"> </td><td class="mdescRight">Alias to access the third dimension of the window. <a href="#ade6a04ff1f61b38e07ddb8ef741c996b">More...</a><br /></td></tr>
156 <tr class="separator:ade6a04ff1f61b38e07ddb8ef741c996b"><td class="memSeparator" colspan="2"> </td></tr>
157 <tr class="memitem:acd3d2bba51cb84d34dd7656ad2375a6e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#acd3d2bba51cb84d34dd7656ad2375a6e">set</a> (size_t dimension, const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> &dim)</td></tr>
158 <tr class="memdesc:acd3d2bba51cb84d34dd7656ad2375a6e"><td class="mdescLeft"> </td><td class="mdescRight">Set the values of a given dimension. <a href="#acd3d2bba51cb84d34dd7656ad2375a6e">More...</a><br /></td></tr>
159 <tr class="separator:acd3d2bba51cb84d34dd7656ad2375a6e"><td class="memSeparator" colspan="2"> </td></tr>
160 <tr class="memitem:a029cf0d4f09af0f9f63b86af4f8387df"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a029cf0d4f09af0f9f63b86af4f8387df">use_tensor_dimensions</a> (const <a class="el" href="classarm__compute_1_1_tensor_info.xhtml">TensorInfo</a> *info, size_t first_dimension=<a class="el" href="classarm__compute_1_1_window.xhtml#aa96e81276ee4f87ab386cd05a5539a7d">Window::DimX</a>)</td></tr>
161 <tr class="memdesc:a029cf0d4f09af0f9f63b86af4f8387df"><td class="mdescLeft"> </td><td class="mdescRight">Use the tensor's dimensions to fill the window dimensions. <a href="#a029cf0d4f09af0f9f63b86af4f8387df">More...</a><br /></td></tr>
162 <tr class="separator:a029cf0d4f09af0f9f63b86af4f8387df"><td class="memSeparator" colspan="2"> </td></tr>
163 <tr class="memitem:ae688f3eb6c2673216d12d5490e1e88dc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ae688f3eb6c2673216d12d5490e1e88dc">shift</a> (size_t dimension, int shift_value)</td></tr>
164 <tr class="memdesc:ae688f3eb6c2673216d12d5490e1e88dc"><td class="mdescLeft"> </td><td class="mdescRight">Shift the values of a given dimension by the given shift_value. <a href="#ae688f3eb6c2673216d12d5490e1e88dc">More...</a><br /></td></tr>
165 <tr class="separator:ae688f3eb6c2673216d12d5490e1e88dc"><td class="memSeparator" colspan="2"> </td></tr>
166 <tr class="memitem:a5e8e5ab06329702df09ab7eb07e9b84d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a5e8e5ab06329702df09ab7eb07e9b84d">scale</a> (size_t dimension, float scale_value)</td></tr>
167 <tr class="memdesc:a5e8e5ab06329702df09ab7eb07e9b84d"><td class="mdescLeft"> </td><td class="mdescRight">Scale the values of a given dimension by the given scale_value. <a href="#a5e8e5ab06329702df09ab7eb07e9b84d">More...</a><br /></td></tr>
168 <tr class="separator:a5e8e5ab06329702df09ab7eb07e9b84d"><td class="memSeparator" colspan="2"> </td></tr>
169 <tr class="memitem:a55ed4ad2395fd25ba847cbf6c54b85e4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a55ed4ad2395fd25ba847cbf6c54b85e4">set_dimension_step</a> (size_t dimension, int step)</td></tr>
170 <tr class="memdesc:a55ed4ad2395fd25ba847cbf6c54b85e4"><td class="mdescLeft"> </td><td class="mdescRight">Set the step of a given dimension. <a href="#a55ed4ad2395fd25ba847cbf6c54b85e4">More...</a><br /></td></tr>
171 <tr class="separator:a55ed4ad2395fd25ba847cbf6c54b85e4"><td class="memSeparator" colspan="2"> </td></tr>
172 <tr class="memitem:a048aaadf42ac725952523dd9546e96b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a048aaadf42ac725952523dd9546e96b5">validate</a> () const </td></tr>
173 <tr class="memdesc:a048aaadf42ac725952523dd9546e96b5"><td class="mdescLeft"> </td><td class="mdescRight">Will validate all the window's dimensions' values when asserts are enabled. <a href="#a048aaadf42ac725952523dd9546e96b5">More...</a><br /></td></tr>
174 <tr class="separator:a048aaadf42ac725952523dd9546e96b5"><td class="memSeparator" colspan="2"> </td></tr>
175 <tr class="memitem:a7b83048403721ed7e90d402e7cf3999b"><td class="memItemLeft" align="right" valign="top">constexpr size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a7b83048403721ed7e90d402e7cf3999b">num_iterations</a> (size_t dimension) const </td></tr>
176 <tr class="memdesc:a7b83048403721ed7e90d402e7cf3999b"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of iterations needed to iterate through a given dimension. <a href="#a7b83048403721ed7e90d402e7cf3999b">More...</a><br /></td></tr>
177 <tr class="separator:a7b83048403721ed7e90d402e7cf3999b"><td class="memSeparator" colspan="2"> </td></tr>
178 <tr class="memitem:aa4ce41fc0f8c3203753a4fbee8211f5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#aa4ce41fc0f8c3203753a4fbee8211f5a">split_window</a> (size_t dimension, size_t id, size_t total) const </td></tr>
179 <tr class="memdesc:aa4ce41fc0f8c3203753a4fbee8211f5a"><td class="mdescLeft"> </td><td class="mdescRight">Split a window into a set of sub windows along a given dimension. <a href="#aa4ce41fc0f8c3203753a4fbee8211f5a">More...</a><br /></td></tr>
180 <tr class="separator:aa4ce41fc0f8c3203753a4fbee8211f5a"><td class="memSeparator" colspan="2"> </td></tr>
181 <tr class="memitem:a3676505cf898acf69de5cd1724ae9330"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a3676505cf898acf69de5cd1724ae9330">first_slice_window_1D</a> () const </td></tr>
182 <tr class="memdesc:a3676505cf898acf69de5cd1724ae9330"><td class="mdescLeft"> </td><td class="mdescRight">First 1D slice of the window. <a href="#a3676505cf898acf69de5cd1724ae9330">More...</a><br /></td></tr>
183 <tr class="separator:a3676505cf898acf69de5cd1724ae9330"><td class="memSeparator" colspan="2"> </td></tr>
184 <tr class="memitem:ade2fffd59eaeb4db72526174f504f209"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ade2fffd59eaeb4db72526174f504f209">first_slice_window_2D</a> () const </td></tr>
185 <tr class="memdesc:ade2fffd59eaeb4db72526174f504f209"><td class="mdescLeft"> </td><td class="mdescRight">First 2D slice of the window. <a href="#ade2fffd59eaeb4db72526174f504f209">More...</a><br /></td></tr>
186 <tr class="separator:ade2fffd59eaeb4db72526174f504f209"><td class="memSeparator" colspan="2"> </td></tr>
187 <tr class="memitem:a76441f1deaa44bcc1a3b402680ed646b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a76441f1deaa44bcc1a3b402680ed646b">first_slice_window_3D</a> () const </td></tr>
188 <tr class="memdesc:a76441f1deaa44bcc1a3b402680ed646b"><td class="mdescLeft"> </td><td class="mdescRight">First 3D slice of the window. <a href="#a76441f1deaa44bcc1a3b402680ed646b">More...</a><br /></td></tr>
189 <tr class="separator:a76441f1deaa44bcc1a3b402680ed646b"><td class="memSeparator" colspan="2"> </td></tr>
190 <tr class="memitem:a5cdf746368c9cfe7b07f1ebbb43810af"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a5cdf746368c9cfe7b07f1ebbb43810af">slide_window_slice_1D</a> (<a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &slice) const </td></tr>
191 <tr class="memdesc:a5cdf746368c9cfe7b07f1ebbb43810af"><td class="mdescLeft"> </td><td class="mdescRight">Slide the passed 1D window slice. <a href="#a5cdf746368c9cfe7b07f1ebbb43810af">More...</a><br /></td></tr>
192 <tr class="separator:a5cdf746368c9cfe7b07f1ebbb43810af"><td class="memSeparator" colspan="2"> </td></tr>
193 <tr class="memitem:a25e4deca6ce9a7b258e791851eec3f05"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a25e4deca6ce9a7b258e791851eec3f05">slide_window_slice_2D</a> (<a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &slice) const </td></tr>
194 <tr class="memdesc:a25e4deca6ce9a7b258e791851eec3f05"><td class="mdescLeft"> </td><td class="mdescRight">Slide the passed 2D window slice. <a href="#a25e4deca6ce9a7b258e791851eec3f05">More...</a><br /></td></tr>
195 <tr class="separator:a25e4deca6ce9a7b258e791851eec3f05"><td class="memSeparator" colspan="2"> </td></tr>
196 <tr class="memitem:a96febcbb5f48b24a562ae60353665654"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a96febcbb5f48b24a562ae60353665654">slide_window_slice_3D</a> (<a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &slice) const </td></tr>
197 <tr class="memdesc:a96febcbb5f48b24a562ae60353665654"><td class="mdescLeft"> </td><td class="mdescRight">Slide the passed 3D window slice. <a href="#a96febcbb5f48b24a562ae60353665654">More...</a><br /></td></tr>
198 <tr class="separator:a96febcbb5f48b24a562ae60353665654"><td class="memSeparator" colspan="2"> </td></tr>
199 <tr class="memitem:a50ee380d076dd9ce06a35a76903f8b7b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a50ee380d076dd9ce06a35a76903f8b7b">set_thread_id</a> (unsigned int id)</td></tr>
200 <tr class="memdesc:a50ee380d076dd9ce06a35a76903f8b7b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the ID of the thread that the window is associated with. <a href="#a50ee380d076dd9ce06a35a76903f8b7b">More...</a><br /></td></tr>
201 <tr class="separator:a50ee380d076dd9ce06a35a76903f8b7b"><td class="memSeparator" colspan="2"> </td></tr>
202 <tr class="memitem:aebe39f14cc20642a2a3a73560bb8f116"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#aebe39f14cc20642a2a3a73560bb8f116">set_num_threads</a> (unsigned int <a class="el" href="classarm__compute_1_1_window.xhtml#a3189e7be57879a610d060f7f0c9d4d03">num_threads</a>)</td></tr>
203 <tr class="memdesc:aebe39f14cc20642a2a3a73560bb8f116"><td class="mdescLeft"> </td><td class="mdescRight">Sets the number of threads dispatched that the window is associated with. <a href="#aebe39f14cc20642a2a3a73560bb8f116">More...</a><br /></td></tr>
204 <tr class="separator:aebe39f14cc20642a2a3a73560bb8f116"><td class="memSeparator" colspan="2"> </td></tr>
205 <tr class="memitem:a69c84c265e9eac3ed35dced3cf1475a2"><td class="memItemLeft" align="right" valign="top">constexpr unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a69c84c265e9eac3ed35dced3cf1475a2">thread_id</a> () const </td></tr>
206 <tr class="memdesc:a69c84c265e9eac3ed35dced3cf1475a2"><td class="mdescLeft"> </td><td class="mdescRight">Get the ID of the thread that the window is associated with. <a href="#a69c84c265e9eac3ed35dced3cf1475a2">More...</a><br /></td></tr>
207 <tr class="separator:a69c84c265e9eac3ed35dced3cf1475a2"><td class="memSeparator" colspan="2"> </td></tr>
208 <tr class="memitem:a3189e7be57879a610d060f7f0c9d4d03"><td class="memItemLeft" align="right" valign="top">constexpr unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a3189e7be57879a610d060f7f0c9d4d03">num_threads</a> () const </td></tr>
209 <tr class="memdesc:a3189e7be57879a610d060f7f0c9d4d03"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of threads dispatched that the window is associated with. <a href="#a3189e7be57879a610d060f7f0c9d4d03">More...</a><br /></td></tr>
210 <tr class="separator:a3189e7be57879a610d060f7f0c9d4d03"><td class="memSeparator" colspan="2"> </td></tr>
211 </table><table class="memberdecls">
212 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
213 Static Public Attributes</h2></td></tr>
214 <tr class="memitem:aa96e81276ee4f87ab386cd05a5539a7d"><td class="memItemLeft" align="right" valign="top">static constexpr size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#aa96e81276ee4f87ab386cd05a5539a7d">DimX</a> = 0</td></tr>
215 <tr class="memdesc:aa96e81276ee4f87ab386cd05a5539a7d"><td class="mdescLeft"> </td><td class="mdescRight">Alias for dimension 0 also known as X dimension. <a href="#aa96e81276ee4f87ab386cd05a5539a7d">More...</a><br /></td></tr>
216 <tr class="separator:aa96e81276ee4f87ab386cd05a5539a7d"><td class="memSeparator" colspan="2"> </td></tr>
217 <tr class="memitem:ad2d402364fa822b0b7775081291eeca9"><td class="memItemLeft" align="right" valign="top">static constexpr size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#ad2d402364fa822b0b7775081291eeca9">DimY</a> = 1</td></tr>
218 <tr class="memdesc:ad2d402364fa822b0b7775081291eeca9"><td class="mdescLeft"> </td><td class="mdescRight">Alias for dimension 1 also known as Y dimension. <a href="#ad2d402364fa822b0b7775081291eeca9">More...</a><br /></td></tr>
219 <tr class="separator:ad2d402364fa822b0b7775081291eeca9"><td class="memSeparator" colspan="2"> </td></tr>
220 <tr class="memitem:a893d17b56b9abc4423ce26e9a24ac5dc"><td class="memItemLeft" align="right" valign="top">static constexpr size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_window.xhtml#a893d17b56b9abc4423ce26e9a24ac5dc">DimZ</a> = 2</td></tr>
221 <tr class="memdesc:a893d17b56b9abc4423ce26e9a24ac5dc"><td class="mdescLeft"> </td><td class="mdescRight">Alias for dimension 2 also known as Z dimension. <a href="#a893d17b56b9abc4423ce26e9a24ac5dc">More...</a><br /></td></tr>
222 <tr class="separator:a893d17b56b9abc4423ce26e9a24ac5dc"><td class="memSeparator" colspan="2"> </td></tr>
224 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
225 <div class="textblock"><p>Describe a multidimensional execution window. </p>
227 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
228 </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
229 <a class="anchor" id="ab242a9d3683ac8f480f7944ff6f40534"></a>
230 <div class="memitem">
231 <div class="memproto">
232 <table class="mlabels">
234 <td class="mlabels-left">
235 <table class="memname">
237 <td class="memname">constexpr <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td>
239 <td class="paramname"></td><td>)</td>
244 <td class="mlabels-right">
245 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
248 </div><div class="memdoc">
250 <p>Default constructor: create a window containing a single element. </p>
252 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00050">50</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
253 <div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  : _dims(), _thread_id(0), _num_threads(1)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div></div><!-- fragment -->
256 <a class="anchor" id="ae65e2546322a23806510364033bc8fcd"></a>
257 <div class="memitem">
258 <div class="memproto">
259 <table class="mlabels">
261 <td class="mlabels-left">
262 <table class="memname">
264 <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td>
266 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
267 <td class="paramname"><em>src</em></td><td>)</td>
272 <td class="mlabels-right">
273 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
276 </div><div class="memdoc">
278 <p>Copy constructor. </p>
279 <dl class="params"><dt>Parameters</dt><dd>
280 <table class="params">
281 <tr><td class="paramdir">[in]</td><td class="paramname">src</td><td>Copy the values from src to a new object </td></tr>
286 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00026">26</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
288 <p>References <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>.</p>
289 <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : _dims(), _thread_id(src._thread_id), _num_threads(src._num_threads)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0; i < <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>; ++i)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">set</span>(i, src[i]);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div><div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
290 </div><!-- fragment -->
293 <h2 class="groupheader">Member Function Documentation</h2>
294 <a class="anchor" id="a3676505cf898acf69de5cd1724ae9330"></a>
295 <div class="memitem">
296 <div class="memproto">
297 <table class="mlabels">
299 <td class="mlabels-left">
300 <table class="memname">
302 <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_1D </td>
304 <td class="paramname"></td><td>)</td>
309 <td class="mlabels-right">
310 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
313 </div><div class="memdoc">
315 <p>First 1D slice of the window. </p>
316 <dl class="section return"><dt>Returns</dt><dd>The first slice of the window. </dd></dl>
318 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00220">220</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
319 <div class="fragment"><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">return</span> first_slice_window<1>();</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  };</div></div><!-- fragment -->
322 <a class="anchor" id="ade2fffd59eaeb4db72526174f504f209"></a>
323 <div class="memitem">
324 <div class="memproto">
325 <table class="mlabels">
327 <td class="mlabels-left">
328 <table class="memname">
330 <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_2D </td>
332 <td class="paramname"></td><td>)</td>
337 <td class="mlabels-right">
338 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
341 </div><div class="memdoc">
343 <p>First 2D slice of the window. </p>
344 <dl class="section return"><dt>Returns</dt><dd>The first slice of the window. </dd></dl>
346 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00228">228</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
347 <div class="fragment"><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">return</span> first_slice_window<2>();</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  };</div></div><!-- fragment -->
350 <a class="anchor" id="a76441f1deaa44bcc1a3b402680ed646b"></a>
351 <div class="memitem">
352 <div class="memproto">
353 <table class="mlabels">
355 <td class="mlabels-left">
356 <table class="memname">
358 <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_3D </td>
360 <td class="paramname"></td><td>)</td>
365 <td class="mlabels-right">
366 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
369 </div><div class="memdoc">
371 <p>First 3D slice of the window. </p>
372 <dl class="section return"><dt>Returns</dt><dd>The first slice of the window. </dd></dl>
374 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00236">236</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
375 <div class="fragment"><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">return</span> first_slice_window<3>();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  };</div></div><!-- fragment -->
378 <a class="anchor" id="a7b83048403721ed7e90d402e7cf3999b"></a>
379 <div class="memitem">
380 <div class="memproto">
381 <table class="mlabels">
383 <td class="mlabels-left">
384 <table class="memname">
386 <td class="memname">constexpr size_t num_iterations </td>
388 <td class="paramtype">size_t </td>
389 <td class="paramname"><em>dimension</em></td><td>)</td>
394 <td class="mlabels-right">
395 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
398 </div><div class="memdoc">
400 <p>Return the number of iterations needed to iterate through a given dimension. </p>
401 <dl class="params"><dt>Parameters</dt><dd>
402 <table class="params">
403 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>The requested dimension</td></tr>
407 <dl class="section return"><dt>Returns</dt><dd>The number of iterations </dd></dl>
409 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00078">78</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
411 <p>Referenced by <a class="el" href="_window_8inl_source.xhtml#l00085">Window::split_window()</a>, and <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
412 <div class="fragment"><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> {</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// Precondition: dimension < Coordinates::num_max_dimensions</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Precondition: (end - start) % step == 0</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> (_dims.at(dimension).end() - _dims.at(dimension).start()) / _dims.at(dimension).step();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> }</div></div><!-- fragment -->
415 <a class="anchor" id="a3189e7be57879a610d060f7f0c9d4d03"></a>
416 <div class="memitem">
417 <div class="memproto">
418 <table class="mlabels">
420 <td class="mlabels-left">
421 <table class="memname">
423 <td class="memname">constexpr unsigned int num_threads </td>
425 <td class="paramname"></td><td>)</td>
430 <td class="mlabels-right">
431 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
434 </div><div class="memdoc">
436 <p>Get the number of threads dispatched that the window is associated with. </p>
437 <dl class="section return"><dt>Returns</dt><dd>The number of threads dispatched that the window is associated with. </dd></dl>
439 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00304">304</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
441 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00288">Window::set_num_threads()</a>.</p>
442 <div class="fragment"><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> _num_threads;</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  }</div></div><!-- fragment -->
445 <a class="anchor" id="a677b385d536f4f81706f729e9b1c91da"></a>
446 <div class="memitem">
447 <div class="memproto">
448 <table class="mlabels">
450 <td class="mlabels-left">
451 <table class="memname">
453 <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Window::Dimension</a> & operator[] </td>
455 <td class="paramtype">size_t </td>
456 <td class="paramname"><em>dimension</em></td><td>)</td>
461 <td class="mlabels-right">
462 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
465 </div><div class="memdoc">
467 <p>Read only access to a given dimension of the window. </p>
468 <dl class="section note"><dt>Note</dt><dd>Precondition: dimension < <a class="el" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc" title="Number of dimensions the tensor has. ">Coordinates::num_max_dimensions</a></dd></dl>
469 <dl class="params"><dt>Parameters</dt><dd>
470 <table class="params">
471 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>The dimension to access</td></tr>
475 <dl class="section return"><dt>Returns</dt><dd>The requested dimension </dd></dl>
477 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00035">35</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
479 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00103">Window::Dimension::set_step()</a>.</p>
480 <div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Precondition: dimension < Coordinates::num_max_dimensions</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span> _dims.at(dimension);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</div></div><!-- fragment -->
483 <a class="anchor" id="a5e8e5ab06329702df09ab7eb07e9b84d"></a>
484 <div class="memitem">
485 <div class="memproto">
486 <table class="mlabels">
488 <td class="mlabels-left">
489 <table class="memname">
491 <td class="memname">void scale </td>
493 <td class="paramtype">size_t </td>
494 <td class="paramname"><em>dimension</em>, </td>
497 <td class="paramkey"></td>
499 <td class="paramtype">float </td>
500 <td class="paramname"><em>scale_value</em> </td>
509 <td class="mlabels-right">
510 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
513 </div><div class="memdoc">
515 <p>Scale the values of a given dimension by the given scale_value. </p>
516 <dl class="section note"><dt>Note</dt><dd>The end of the window is rounded up to be a multiple of step after the scaling.</dd></dl>
517 <dl class="params"><dt>Parameters</dt><dd>
518 <table class="params">
519 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>The dimension to scale </td></tr>
520 <tr><td class="paramdir">[in]</td><td class="paramname">scale_value</td><td>Value to scale the start, end and step values of. </td></tr>
525 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00053">53</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
527 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00042">arm_compute::ceil_to_multiple()</a>, <a class="el" href="_window_8h_source.xhtml#l00090">Window::Dimension::end()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>, and <a class="el" href="_window_8h_source.xhtml#l00095">Window::Dimension::step()</a>.</p>
529 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
530 <div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension >= <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  Window::Dimension &d = _dims[dimension];</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> scaled_step = d.step() * scale_value;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> scaled_end = <a class="code" href="namespacearm__compute.xhtml#adf0c6059174045f80af46a0f1fb57bc6">ceil_to_multiple</a>(d.end() * scale_value, scaled_step);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  d = Window::Dimension(d.start() * scale_value, scaled_end, scaled_step);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div><div class="ttc" id="namespacearm__compute_xhtml_adf0c6059174045f80af46a0f1fb57bc6"><div class="ttname"><a href="namespacearm__compute.xhtml#adf0c6059174045f80af46a0f1fb57bc6">arm_compute::ceil_to_multiple</a></div><div class="ttdeci">auto ceil_to_multiple(S value, T divisor) -> decltype(((value+divisor-1)/divisor)*divisor)</div><div class="ttdoc">Computes the smallest number larger or equal to value that is a multiple of divisor. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_utils_8h_source.xhtml#l00042">Utils.h:42</a></div></div>
531 <div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
532 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
533 </div><!-- fragment -->
536 <a class="anchor" id="acd3d2bba51cb84d34dd7656ad2375a6e"></a>
537 <div class="memitem">
538 <div class="memproto">
539 <table class="mlabels">
541 <td class="mlabels-left">
542 <table class="memname">
544 <td class="memname">void set </td>
546 <td class="paramtype">size_t </td>
547 <td class="paramname"><em>dimension</em>, </td>
550 <td class="paramkey"></td>
552 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> & </td>
553 <td class="paramname"><em>dim</em> </td>
562 <td class="mlabels-right">
563 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
566 </div><div class="memdoc">
568 <p>Set the values of a given dimension. </p>
569 <dl class="params"><dt>Parameters</dt><dd>
570 <table class="params">
571 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>The dimension to set </td></tr>
572 <tr><td class="paramdir">[in]</td><td class="paramname">dim</td><td>The values to set the dimension to </td></tr>
577 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00040">40</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
579 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>.</p>
581 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>, and <a class="el" href="_window_8inl_source.xhtml#l00085">Window::split_window()</a>.</p>
582 <div class="fragment"><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension >= <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  _dims[dimension] = dim;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
583 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
584 </div><!-- fragment -->
587 <a class="anchor" id="a55ed4ad2395fd25ba847cbf6c54b85e4"></a>
588 <div class="memitem">
589 <div class="memproto">
590 <table class="mlabels">
592 <td class="mlabels-left">
593 <table class="memname">
595 <td class="memname">void set_dimension_step </td>
597 <td class="paramtype">size_t </td>
598 <td class="paramname"><em>dimension</em>, </td>
601 <td class="paramkey"></td>
603 <td class="paramtype">int </td>
604 <td class="paramname"><em>step</em> </td>
613 <td class="mlabels-right">
614 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
617 </div><div class="memdoc">
619 <p>Set the step of a given dimension. </p>
620 <dl class="params"><dt>Parameters</dt><dd>
621 <table class="params">
622 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td><a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml" title="Describe one of the image's dimensions with a start, end and step. ">Dimension</a> to update </td></tr>
623 <tr><td class="paramdir">[in]</td><td class="paramname">step</td><td>The new dimension's step value </td></tr>
628 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00062">62</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
630 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>.</p>
632 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
633 <div class="fragment"><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension >= <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  _dims[dimension].set_step(step);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
634 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
635 </div><!-- fragment -->
638 <a class="anchor" id="aebe39f14cc20642a2a3a73560bb8f116"></a>
639 <div class="memitem">
640 <div class="memproto">
641 <table class="mlabels">
643 <td class="mlabels-left">
644 <table class="memname">
646 <td class="memname">void set_num_threads </td>
648 <td class="paramtype">unsigned int </td>
649 <td class="paramname"><em>num_threads</em></td><td>)</td>
654 <td class="mlabels-right">
655 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
658 </div><div class="memdoc">
660 <p>Sets the number of threads dispatched that the window is associated with. </p>
661 <dl class="params"><dt>Parameters</dt><dd>
662 <table class="params">
663 <tr><td class="paramname">num_threads</td><td>The number of threads dispatched that the window is associated with. </td></tr>
668 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00288">288</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
670 <p>References <a class="el" href="_window_8h_source.xhtml#l00304">Window::num_threads()</a>.</p>
671 <div class="fragment"><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  _num_threads = <a class="code" href="classarm__compute_1_1_window.xhtml#a3189e7be57879a610d060f7f0c9d4d03">num_threads</a>;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  }</div><div class="ttc" id="classarm__compute_1_1_window_xhtml_a3189e7be57879a610d060f7f0c9d4d03"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#a3189e7be57879a610d060f7f0c9d4d03">arm_compute::Window::num_threads</a></div><div class="ttdeci">constexpr unsigned int num_threads() const </div><div class="ttdoc">Get the number of threads dispatched that the window is associated with. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8h_source.xhtml#l00304">Window.h:304</a></div></div>
672 </div><!-- fragment -->
675 <a class="anchor" id="a50ee380d076dd9ce06a35a76903f8b7b"></a>
676 <div class="memitem">
677 <div class="memproto">
678 <table class="mlabels">
680 <td class="mlabels-left">
681 <table class="memname">
683 <td class="memname">void set_thread_id </td>
685 <td class="paramtype">unsigned int </td>
686 <td class="paramname"><em>id</em></td><td>)</td>
691 <td class="mlabels-right">
692 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
695 </div><div class="memdoc">
697 <p>Sets the ID of the thread that the window is associated with. </p>
698 <dl class="params"><dt>Parameters</dt><dd>
699 <table class="params">
700 <tr><td class="paramname">id</td><td>ID of the thread that the window is associated with. </td></tr>
705 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00280">280</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
706 <div class="fragment"><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  _thread_id = id;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  }</div></div><!-- fragment -->
709 <a class="anchor" id="ae688f3eb6c2673216d12d5490e1e88dc"></a>
710 <div class="memitem">
711 <div class="memproto">
712 <table class="mlabels">
714 <td class="mlabels-left">
715 <table class="memname">
717 <td class="memname">void shift </td>
719 <td class="paramtype">size_t </td>
720 <td class="paramname"><em>dimension</em>, </td>
723 <td class="paramkey"></td>
725 <td class="paramtype">int </td>
726 <td class="paramname"><em>shift_value</em> </td>
735 <td class="mlabels-right">
736 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
739 </div><div class="memdoc">
741 <p>Shift the values of a given dimension by the given shift_value. </p>
742 <dl class="params"><dt>Parameters</dt><dd>
743 <table class="params">
744 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td>The dimension to shift </td></tr>
745 <tr><td class="paramdir">[in]</td><td class="paramname">shift_value</td><td>Value to shift the start and end values of. </td></tr>
750 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00046">46</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
752 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="_window_8h_source.xhtml#l00090">Window::Dimension::end()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>, <a class="el" href="_window_8h_source.xhtml#l00085">Window::Dimension::start()</a>, and <a class="el" href="_window_8h_source.xhtml#l00095">Window::Dimension::step()</a>.</p>
754 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
755 <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension >= <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  Window::Dimension &d = _dims[dimension];</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  d = Window::Dimension(d.start() + shift_value, d.end() + shift_value, d.step());</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
756 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
757 </div><!-- fragment -->
760 <a class="anchor" id="a5cdf746368c9cfe7b07f1ebbb43810af"></a>
761 <div class="memitem">
762 <div class="memproto">
763 <table class="mlabels">
765 <td class="mlabels-left">
766 <table class="memname">
768 <td class="memname">bool slide_window_slice_1D </td>
770 <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
771 <td class="paramname"><em>slice</em></td><td>)</td>
776 <td class="mlabels-right">
777 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
780 </div><div class="memdoc">
782 <p>Slide the passed 1D window slice. </p>
783 <p>If slice contains the last slice then it will remain unchanged and false will be returned.</p>
784 <dl class="params"><dt>Parameters</dt><dd>
785 <table class="params">
786 <tr><td class="paramdir">[in,out]</td><td class="paramname">slice</td><td>Current slice, to be updated to the next slice.</td></tr>
790 <dl class="section return"><dt>Returns</dt><dd>true if slice contains a new slice, false if slice already contained the last slice </dd></dl>
792 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00248">248</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
793 <div class="fragment"><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> slide_window_slice<1>(slice);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div></div><!-- fragment -->
796 <a class="anchor" id="a25e4deca6ce9a7b258e791851eec3f05"></a>
797 <div class="memitem">
798 <div class="memproto">
799 <table class="mlabels">
801 <td class="mlabels-left">
802 <table class="memname">
804 <td class="memname">bool slide_window_slice_2D </td>
806 <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
807 <td class="paramname"><em>slice</em></td><td>)</td>
812 <td class="mlabels-right">
813 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
816 </div><div class="memdoc">
818 <p>Slide the passed 2D window slice. </p>
819 <p>If slice contains the last slice then it will remain unchanged and false will be returned.</p>
820 <dl class="params"><dt>Parameters</dt><dd>
821 <table class="params">
822 <tr><td class="paramdir">[in,out]</td><td class="paramname">slice</td><td>Current slice, to be updated to the next slice.</td></tr>
826 <dl class="section return"><dt>Returns</dt><dd>true if slice contains a new slice, false if slice already contained the last slice </dd></dl>
828 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00260">260</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
829 <div class="fragment"><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">return</span> slide_window_slice<2>(slice);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div></div><!-- fragment -->
832 <a class="anchor" id="a96febcbb5f48b24a562ae60353665654"></a>
833 <div class="memitem">
834 <div class="memproto">
835 <table class="mlabels">
837 <td class="mlabels-left">
838 <table class="memname">
840 <td class="memname">bool slide_window_slice_3D </td>
842 <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
843 <td class="paramname"><em>slice</em></td><td>)</td>
848 <td class="mlabels-right">
849 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
852 </div><div class="memdoc">
854 <p>Slide the passed 3D window slice. </p>
855 <p>If slice contains the last slice then it will remain unchanged and false will be returned.</p>
856 <dl class="params"><dt>Parameters</dt><dd>
857 <table class="params">
858 <tr><td class="paramdir">[in,out]</td><td class="paramname">slice</td><td>Current slice, to be updated to the next slice.</td></tr>
862 <dl class="section return"><dt>Returns</dt><dd>true if slice contains a new slice, false if slice already contained the last slice </dd></dl>
864 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00272">272</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
865 <div class="fragment"><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  {</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">return</span> slide_window_slice<3>(slice);</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  }</div></div><!-- fragment -->
868 <a class="anchor" id="aa4ce41fc0f8c3203753a4fbee8211f5a"></a>
869 <div class="memitem">
870 <div class="memproto">
871 <table class="mlabels">
873 <td class="mlabels-left">
874 <table class="memname">
876 <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> split_window </td>
878 <td class="paramtype">size_t </td>
879 <td class="paramname"><em>dimension</em>, </td>
882 <td class="paramkey"></td>
884 <td class="paramtype">size_t </td>
885 <td class="paramname"><em>id</em>, </td>
888 <td class="paramkey"></td>
890 <td class="paramtype">size_t </td>
891 <td class="paramname"><em>total</em> </td>
896 <td></td><td> const</td>
900 <td class="mlabels-right">
901 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
904 </div><div class="memdoc">
906 <p>Split a window into a set of sub windows along a given dimension. </p>
907 <p>For example to split a window into 3 sub-windows along the Y axis, you would have to do:<br />
908 <a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> sub0 = window.split_window( 1, 0, 3);<br />
909 <a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> sub1 = window.split_window( 1, 1, 3);<br />
910 <a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> sub2 = window.split_window( 1, 2, 3);<br />
912 <dl class="params"><dt>Parameters</dt><dd>
913 <table class="params">
914 <tr><td class="paramdir">[in]</td><td class="paramname">dimension</td><td><a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml" title="Describe one of the image's dimensions with a start, end and step. ">Dimension</a> along which the split will be performed </td></tr>
915 <tr><td class="paramdir">[in]</td><td class="paramname">id</td><td>Id of the sub-window to return. Must be in the range (0, total-1) </td></tr>
916 <tr><td class="paramdir">[in]</td><td class="paramname">total</td><td>Total number of sub-windows the window will be split into.</td></tr>
920 <dl class="section return"><dt>Returns</dt><dd>The subwindow "id" out of "total" </dd></dl>
922 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00085">85</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
924 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="_window_8inl_source.xhtml#l00078">Window::num_iterations()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>, and <a class="el" href="_window_8inl_source.xhtml#l00040">Window::set()</a>.</p>
926 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
927 <div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(<span class="keywordtype">id</span> >= total);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension >= <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classarm__compute_1_1_window.xhtml#ab242a9d3683ac8f480f7944ff6f40534">Window</a> out;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> d = 0; d < <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>; ++d)</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">if</span>(d == dimension)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">int</span> start = _dims[d].start();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> end = _dims[d].end();</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">int</span> per_sub_window = (<a class="code" href="classarm__compute_1_1_window.xhtml#a7b83048403721ed7e90d402e7cf3999b">num_iterations</a>(d) / total) * _dims[d].step();</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  start += <span class="keywordtype">id</span> * per_sub_window;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span>(<span class="keywordtype">id</span> != total - 1)</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  end = start + per_sub_window;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  out.set(d, Dimension(start, end, _dims[d].step()));</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  out.set(d, _dims[d]);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">return</span> out;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
928 <div class="ttc" id="classarm__compute_1_1_window_xhtml_a7b83048403721ed7e90d402e7cf3999b"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#a7b83048403721ed7e90d402e7cf3999b">arm_compute::Window::num_iterations</a></div><div class="ttdeci">constexpr size_t num_iterations(size_t dimension) const </div><div class="ttdoc">Return the number of iterations needed to iterate through a given dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8inl_source.xhtml#l00078">Window.inl:78</a></div></div>
929 <div class="ttc" id="classarm__compute_1_1_window_xhtml_ab242a9d3683ac8f480f7944ff6f40534"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#ab242a9d3683ac8f480f7944ff6f40534">arm_compute::Window::Window</a></div><div class="ttdeci">constexpr Window()</div><div class="ttdoc">Default constructor: create a window containing a single element. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8h_source.xhtml#l00050">Window.h:50</a></div></div>
930 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
931 </div><!-- fragment -->
934 <a class="anchor" id="a69c84c265e9eac3ed35dced3cf1475a2"></a>
935 <div class="memitem">
936 <div class="memproto">
937 <table class="mlabels">
939 <td class="mlabels-left">
940 <table class="memname">
942 <td class="memname">constexpr unsigned int thread_id </td>
944 <td class="paramname"></td><td>)</td>
949 <td class="mlabels-right">
950 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
953 </div><div class="memdoc">
955 <p>Get the ID of the thread that the window is associated with. </p>
956 <dl class="section return"><dt>Returns</dt><dd>ID of the thread that the window is associated with. </dd></dl>
958 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00296">296</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
959 <div class="fragment"><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  {</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">return</span> _thread_id;</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  }</div></div><!-- fragment -->
962 <a class="anchor" id="a029cf0d4f09af0f9f63b86af4f8387df"></a>
963 <div class="memitem">
964 <div class="memproto">
965 <table class="mlabels">
967 <td class="mlabels-left">
968 <table class="memname">
970 <td class="memname">void use_tensor_dimensions </td>
972 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_tensor_info.xhtml">TensorInfo</a> * </td>
973 <td class="paramname"><em>info</em>, </td>
976 <td class="paramkey"></td>
978 <td class="paramtype">size_t </td>
979 <td class="paramname"><em>first_dimension</em> = <code><a class="el" href="classarm__compute_1_1_window.xhtml#aa96e81276ee4f87ab386cd05a5539a7d">Window::DimX</a></code> </td>
988 <td class="mlabels-right">
989 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
992 </div><div class="memdoc">
994 <p>Use the tensor's dimensions to fill the window dimensions. </p>
995 <dl class="params"><dt>Parameters</dt><dd>
996 <table class="params">
997 <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> information to copy the dimensions from. </td></tr>
998 <tr><td class="paramdir">[in]</td><td class="paramname">first_dimension</td><td>Only copy dimensions which are greater or equal to this value. </td></tr>
1003 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00160">160</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
1005 <p>References <a class="el" href="_tensor_info_8h_source.xhtml#l00190">TensorInfo::dimension()</a>, and <a class="el" href="_tensor_info_8h_source.xhtml#l00239">TensorInfo::num_dimensions()</a>.</p>
1007 <p>Referenced by <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>, and <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
1008 <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n = first_dimension; n < info->num_dimensions(); ++n)</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">set</span>(n, Window::Dimension(0, std::max(info->dimension(n), <span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(1))));</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div></div><!-- fragment -->
1011 <a class="anchor" id="a048aaadf42ac725952523dd9546e96b5"></a>
1012 <div class="memitem">
1013 <div class="memproto">
1014 <table class="mlabels">
1016 <td class="mlabels-left">
1017 <table class="memname">
1019 <td class="memname">void validate </td>
1021 <td class="paramname"></td><td>)</td>
1026 <td class="mlabels-right">
1027 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1030 </div><div class="memdoc">
1032 <p>Will validate all the window's dimensions' values when asserts are enabled. </p>
1033 <p>No-op when asserts are disabled </p>
1035 <p>Definition at line <a class="el" href="_window_8inl_source.xhtml#l00068">68</a> of file <a class="el" href="_window_8inl_source.xhtml">Window.inl</a>.</p>
1037 <p>References <a class="el" href="_error_8h_source.xhtml#l00100">ARM_COMPUTE_ERROR_ON</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions< int >::num_max_dimensions</a>.</p>
1039 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00862">arm_compute::colorconvert_rgb_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, and <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
1040 <div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0; i < <a class="code" href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">Coordinates::num_max_dimensions</a>; ++i)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(_dims[i].step() == 0);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(_dims[i].end() <= _dims[i].start());</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>((_dims[i].end() - _dims[i].start()) % _dims[i].step());</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00100">Error.h:100</a></div></div>
1041 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a1b67d5b720119d50faa286c774579ecc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a1b67d5b720119d50faa286c774579ecc">arm_compute::Dimensions< int >::num_max_dimensions</a></div><div class="ttdeci">static constexpr size_t num_max_dimensions</div><div class="ttdoc">Number of dimensions the tensor has. </div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00045">Dimensions.h:45</a></div></div>
1042 </div><!-- fragment -->
1045 <a class="anchor" id="ade63ce331b49eb66d330aab444e57ca9"></a>
1046 <div class="memitem">
1047 <div class="memproto">
1048 <table class="mlabels">
1050 <td class="mlabels-left">
1051 <table class="memname">
1053 <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>& x </td>
1055 <td class="paramname"></td><td>)</td>
1060 <td class="mlabels-right">
1061 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1064 </div><div class="memdoc">
1066 <p>Alias to access the first dimension of the window. </p>
1067 <dl class="section return"><dt>Returns</dt><dd>First dimension of the window </dd></dl>
1069 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00128">128</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1071 <p>References <a class="el" href="_window_8h_source.xhtml#l00043">Window::DimX</a>.</p>
1073 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, and <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>.</p>
1074 <div class="fragment"><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> _dims.at(<a class="code" href="classarm__compute_1_1_window.xhtml#aa96e81276ee4f87ab386cd05a5539a7d">Window::DimX</a>);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</div><div class="ttc" id="classarm__compute_1_1_window_xhtml_aa96e81276ee4f87ab386cd05a5539a7d"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#aa96e81276ee4f87ab386cd05a5539a7d">arm_compute::Window::DimX</a></div><div class="ttdeci">static constexpr size_t DimX</div><div class="ttdoc">Alias for dimension 0 also known as X dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8h_source.xhtml#l00043">Window.h:43</a></div></div>
1075 </div><!-- fragment -->
1078 <a class="anchor" id="aedd49c804f269c0e2c251c4efd44a275"></a>
1079 <div class="memitem">
1080 <div class="memproto">
1081 <table class="mlabels">
1083 <td class="mlabels-left">
1084 <table class="memname">
1086 <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>& y </td>
1088 <td class="paramname"></td><td>)</td>
1093 <td class="mlabels-right">
1094 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1097 </div><div class="memdoc">
1099 <p>Alias to access the second dimension of the window. </p>
1100 <dl class="section return"><dt>Returns</dt><dd>Second dimension of the window </dd></dl>
1102 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00137">137</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1104 <p>References <a class="el" href="_window_8h_source.xhtml#l00045">Window::DimY</a>.</p>
1106 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, and <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>.</p>
1107 <div class="fragment"><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> _dims.at(<a class="code" href="classarm__compute_1_1_window.xhtml#ad2d402364fa822b0b7775081291eeca9">Window::DimY</a>);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div><div class="ttc" id="classarm__compute_1_1_window_xhtml_ad2d402364fa822b0b7775081291eeca9"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#ad2d402364fa822b0b7775081291eeca9">arm_compute::Window::DimY</a></div><div class="ttdeci">static constexpr size_t DimY</div><div class="ttdoc">Alias for dimension 1 also known as Y dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8h_source.xhtml#l00045">Window.h:45</a></div></div>
1108 </div><!-- fragment -->
1111 <a class="anchor" id="ade6a04ff1f61b38e07ddb8ef741c996b"></a>
1112 <div class="memitem">
1113 <div class="memproto">
1114 <table class="mlabels">
1116 <td class="mlabels-left">
1117 <table class="memname">
1119 <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>& z </td>
1121 <td class="paramname"></td><td>)</td>
1126 <td class="mlabels-right">
1127 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1130 </div><div class="memdoc">
1132 <p>Alias to access the third dimension of the window. </p>
1133 <dl class="section return"><dt>Returns</dt><dd>Third dimension of the window </dd></dl>
1135 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00146">146</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1137 <p>References <a class="el" href="_window_8h_source.xhtml#l00043">Window::DimX</a>, <a class="el" href="_window_8h_source.xhtml#l00047">Window::DimZ</a>, <a class="el" href="_window_8inl_source.xhtml#l00078">Window::num_iterations()</a>, <a class="el" href="_window_8inl_source.xhtml#l00053">Window::scale()</a>, <a class="el" href="_window_8inl_source.xhtml#l00062">Window::set_dimension_step()</a>, <a class="el" href="_window_8inl_source.xhtml#l00046">Window::shift()</a>, <a class="el" href="_window_8inl_source.xhtml#l00085">Window::split_window()</a>, <a class="el" href="_window_8h_source.xhtml#l00095">Window::Dimension::step()</a>, <a class="el" href="_window_8inl_source.xhtml#l00160">Window::use_tensor_dimensions()</a>, and <a class="el" href="_window_8inl_source.xhtml#l00068">Window::validate()</a>.</p>
1139 <p>Referenced by <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>.</p>
1140 <div class="fragment"><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">return</span> _dims.at(<a class="code" href="classarm__compute_1_1_window.xhtml#a893d17b56b9abc4423ce26e9a24ac5dc">Window::DimZ</a>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="ttc" id="classarm__compute_1_1_window_xhtml_a893d17b56b9abc4423ce26e9a24ac5dc"><div class="ttname"><a href="classarm__compute_1_1_window.xhtml#a893d17b56b9abc4423ce26e9a24ac5dc">arm_compute::Window::DimZ</a></div><div class="ttdeci">static constexpr size_t DimZ</div><div class="ttdoc">Alias for dimension 2 also known as Z dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_window_8h_source.xhtml#l00047">Window.h:47</a></div></div>
1141 </div><!-- fragment -->
1144 <h2 class="groupheader">Field Documentation</h2>
1145 <a class="anchor" id="aa96e81276ee4f87ab386cd05a5539a7d"></a>
1146 <div class="memitem">
1147 <div class="memproto">
1148 <table class="mlabels">
1150 <td class="mlabels-left">
1151 <table class="memname">
1153 <td class="memname">constexpr size_t DimX = 0</td>
1157 <td class="mlabels-right">
1158 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1161 </div><div class="memdoc">
1163 <p>Alias for dimension 0 also known as X dimension. </p>
1165 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00043">43</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1167 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>, <a class="el" href="_window_8h_source.xhtml#l00128">Window::x()</a>, and <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
1171 <a class="anchor" id="ad2d402364fa822b0b7775081291eeca9"></a>
1172 <div class="memitem">
1173 <div class="memproto">
1174 <table class="mlabels">
1176 <td class="mlabels-left">
1177 <table class="memname">
1179 <td class="memname">constexpr size_t DimY = 1</td>
1183 <td class="mlabels-right">
1184 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1187 </div><div class="memdoc">
1189 <p>Alias for dimension 1 also known as Y dimension. </p>
1191 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00045">45</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1193 <p>Referenced by <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>, and <a class="el" href="_window_8h_source.xhtml#l00137">Window::y()</a>.</p>
1197 <a class="anchor" id="a893d17b56b9abc4423ce26e9a24ac5dc"></a>
1198 <div class="memitem">
1199 <div class="memproto">
1200 <table class="mlabels">
1202 <td class="mlabels-left">
1203 <table class="memname">
1205 <td class="memname">constexpr size_t DimZ = 2</td>
1209 <td class="mlabels-right">
1210 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1213 </div><div class="memdoc">
1215 <p>Alias for dimension 2 also known as Z dimension. </p>
1217 <p>Definition at line <a class="el" href="_window_8h_source.xhtml#l00047">47</a> of file <a class="el" href="_window_8h_source.xhtml">Window.h</a>.</p>
1219 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
1223 <hr/>The documentation for this class was generated from the following files:<ul>
1224 <li>arm_compute/core/<a class="el" href="_window_8h_source.xhtml">Window.h</a></li>
1225 <li>arm_compute/core/<a class="el" href="_window_8inl_source.xhtml">Window.inl</a></li>
1227 </div><!-- contents -->
1228 </div><!-- doc-content -->
1229 <!-- start footer part -->
1230 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1232 <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a></li>
1233 <li class="footer">Generated on Wed Apr 12 2017 14:26:06 for ARM Compute Library by
1234 <a href="http://www.doxygen.org/index.html">
1235 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>