arm_compute v17.04
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_window.xhtml
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">
4 <head>
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);
20 </script>
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(); });
26 </script>
27 <script type="text/x-mathjax-config">
28   MathJax.Hub.Config({
29     extensions: ["tex2jax.js"],
30     jax: ["input/TeX","output/HTML-CSS"],
31 });
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" />
34 </head>
35 <body>
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37 <div id="titlearea">
38 <table cellspacing="0" cellpadding="0">
39  <tbody>
40  <tr style="height: 56px;">
41   <td style="padding-left: 0.5em;">
42    <div id="projectname">ARM Compute Library
43    &#160;<span id="projectnumber">17.04</span>
44    </div>
45   </td>
46  </tr>
47  </tbody>
48 </table>
49 </div>
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');
54 </script>
55   <div id="navrow1" class="tabs">
56     <ul class="tablist">
57       <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
58       <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
59       <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
60       <li><a href="files.xhtml"><span>Files</span></a></li>
61       <li>
62         <div id="MSearchBox" class="MSearchBoxInactive">
63         <span class="left">
64           <img id="MSearchSelect" src="search/mag_sel.png"
65                onmouseover="return searchBox.OnSearchSelectShow()"
66                onmouseout="return searchBox.OnSearchSelectHide()"
67                alt=""/>
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>
74           </span>
75         </div>
76       </li>
77     </ul>
78   </div>
79   <div id="navrow2" class="tabs2">
80     <ul class="tablist">
81       <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
82       <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
83       <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
84       <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
85     </ul>
86   </div>
87 </div><!-- top -->
88 <div id="side-nav" class="ui-resizable side-nav-resizable">
89   <div id="nav-tree">
90     <div id="nav-tree-contents">
91       <div id="nav-sync" class="sync"></div>
92     </div>
93   </div>
94   <div id="splitbar" style="-moz-user-select:none;" 
95        class="ui-resizable-handle">
96   </div>
97 </div>
98 <script type="text/javascript">
99 $(document).ready(function(){initNavTree('classarm__compute_1_1_window.xhtml','');});
100 </script>
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)">
107 </div>
108
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">
113 </iframe>
114 </div>
115
116 <div class="header">
117   <div class="summary">
118 <a href="#nested-classes">Data Structures</a> &#124;
119 <a href="#pub-methods">Public Member Functions</a> &#124;
120 <a href="#pub-static-attribs">Static Public Attributes</a>  </div>
121   <div class="headertitle">
122 <div class="title">Window Class Reference</div>  </div>
123 </div><!--header-->
124 <div class="contents">
125
126 <p>Describe a multidimensional execution window.  
127  <a href="classarm__compute_1_1_window.xhtml#details">More...</a></p>
128
129 <p><code>#include &lt;<a class="el" href="_window_8h_source.xhtml">Window.h</a>&gt;</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 &#160;</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">&#160;</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">&#160;</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&#160;</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">&#160;</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">&#160;</td></tr>
142 <tr class="memitem:ae65e2546322a23806510364033bc8fcd"><td class="memItemLeft" align="right" valign="top">&#160;</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> &amp;src)</td></tr>
143 <tr class="memdesc:ae65e2546322a23806510364033bc8fcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ae65e2546322a23806510364033bc8fcd">More...</a><br /></td></tr>
144 <tr class="separator:ae65e2546322a23806510364033bc8fcd"><td class="memSeparator" colspan="2">&#160;</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> &amp;&#160;</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">&#160;</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">&#160;</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> &amp;&#160;</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">&#160;</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">&#160;</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> &amp;&#160;</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">&#160;</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">&#160;</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> &amp;&#160;</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">&#160;</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">&#160;</td></tr>
157 <tr class="memitem:acd3d2bba51cb84d34dd7656ad2375a6e"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;dim)</td></tr>
158 <tr class="memdesc:acd3d2bba51cb84d34dd7656ad2375a6e"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
160 <tr class="memitem:a029cf0d4f09af0f9f63b86af4f8387df"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
163 <tr class="memitem:ae688f3eb6c2673216d12d5490e1e88dc"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
166 <tr class="memitem:a5e8e5ab06329702df09ab7eb07e9b84d"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
169 <tr class="memitem:a55ed4ad2395fd25ba847cbf6c54b85e4"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
172 <tr class="memitem:a048aaadf42ac725952523dd9546e96b5"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
175 <tr class="memitem:a7b83048403721ed7e90d402e7cf3999b"><td class="memItemLeft" align="right" valign="top">constexpr size_t&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</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>&#160;</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">&#160;</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">&#160;</td></tr>
190 <tr class="memitem:a5cdf746368c9cfe7b07f1ebbb43810af"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;slice) const </td></tr>
191 <tr class="memdesc:a5cdf746368c9cfe7b07f1ebbb43810af"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
193 <tr class="memitem:a25e4deca6ce9a7b258e791851eec3f05"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;slice) const </td></tr>
194 <tr class="memdesc:a25e4deca6ce9a7b258e791851eec3f05"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
196 <tr class="memitem:a96febcbb5f48b24a562ae60353665654"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;slice) const </td></tr>
197 <tr class="memdesc:a96febcbb5f48b24a562ae60353665654"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
199 <tr class="memitem:a50ee380d076dd9ce06a35a76903f8b7b"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
202 <tr class="memitem:aebe39f14cc20642a2a3a73560bb8f116"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
205 <tr class="memitem:a69c84c265e9eac3ed35dced3cf1475a2"><td class="memItemLeft" align="right" valign="top">constexpr unsigned int&#160;</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">&#160;</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">&#160;</td></tr>
208 <tr class="memitem:a3189e7be57879a610d060f7f0c9d4d03"><td class="memItemLeft" align="right" valign="top">constexpr unsigned int&#160;</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">&#160;</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">&#160;</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&#160;</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">&#160;</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">&#160;</td></tr>
217 <tr class="memitem:ad2d402364fa822b0b7775081291eeca9"><td class="memItemLeft" align="right" valign="top">static constexpr size_t&#160;</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">&#160;</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">&#160;</td></tr>
220 <tr class="memitem:a893d17b56b9abc4423ce26e9a24ac5dc"><td class="memItemLeft" align="right" valign="top">static constexpr size_t&#160;</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">&#160;</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">&#160;</td></tr>
223 </table>
224 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
225 <div class="textblock"><p>Describe a multidimensional execution window. </p>
226
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 &amp; Destructor Documentation</h2>
229 <a class="anchor" id="ab242a9d3683ac8f480f7944ff6f40534"></a>
230 <div class="memitem">
231 <div class="memproto">
232 <table class="mlabels">
233   <tr>
234   <td class="mlabels-left">
235       <table class="memname">
236         <tr>
237           <td class="memname">constexpr <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td>
238           <td>(</td>
239           <td class="paramname"></td><td>)</td>
240           <td></td>
241         </tr>
242       </table>
243   </td>
244   <td class="mlabels-right">
245 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
246   </tr>
247 </table>
248 </div><div class="memdoc">
249
250 <p>Default constructor: create a window containing a single element. </p>
251
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>&#160;        : _dims(), _thread_id(0), _num_threads(1)</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    {</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    }</div></div><!-- fragment -->
254 </div>
255 </div>
256 <a class="anchor" id="ae65e2546322a23806510364033bc8fcd"></a>
257 <div class="memitem">
258 <div class="memproto">
259 <table class="mlabels">
260   <tr>
261   <td class="mlabels-left">
262       <table class="memname">
263         <tr>
264           <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> </td>
265           <td>(</td>
266           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
267           <td class="paramname"><em>src</em></td><td>)</td>
268           <td></td>
269         </tr>
270       </table>
271   </td>
272   <td class="mlabels-right">
273 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
274   </tr>
275 </table>
276 </div><div class="memdoc">
277
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>
282   </table>
283   </dd>
284 </dl>
285
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>
287
288 <p>References <a class="el" href="_dimensions_8h_source.xhtml#l00045">Dimensions&lt; int &gt;::num_max_dimensions</a>.</p>
289 <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    : _dims(), _thread_id(src._thread_id), _num_threads(src._num_threads)</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0; i &lt; <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>&#160;    {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="keyword">set</span>(i, src[i]);</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</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&lt; int &gt;::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 -->
291 </div>
292 </div>
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">
298   <tr>
299   <td class="mlabels-left">
300       <table class="memname">
301         <tr>
302           <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_1D </td>
303           <td>(</td>
304           <td class="paramname"></td><td>)</td>
305           <td> const</td>
306         </tr>
307       </table>
308   </td>
309   <td class="mlabels-right">
310 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
311   </tr>
312 </table>
313 </div><div class="memdoc">
314
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>
317
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>&#160;    {</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="keywordflow">return</span> first_slice_window&lt;1&gt;();</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    };</div></div><!-- fragment -->
320 </div>
321 </div>
322 <a class="anchor" id="ade2fffd59eaeb4db72526174f504f209"></a>
323 <div class="memitem">
324 <div class="memproto">
325 <table class="mlabels">
326   <tr>
327   <td class="mlabels-left">
328       <table class="memname">
329         <tr>
330           <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_2D </td>
331           <td>(</td>
332           <td class="paramname"></td><td>)</td>
333           <td> const</td>
334         </tr>
335       </table>
336   </td>
337   <td class="mlabels-right">
338 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
339   </tr>
340 </table>
341 </div><div class="memdoc">
342
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>
345
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>&#160;    {</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <span class="keywordflow">return</span> first_slice_window&lt;2&gt;();</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    };</div></div><!-- fragment -->
348 </div>
349 </div>
350 <a class="anchor" id="a76441f1deaa44bcc1a3b402680ed646b"></a>
351 <div class="memitem">
352 <div class="memproto">
353 <table class="mlabels">
354   <tr>
355   <td class="mlabels-left">
356       <table class="memname">
357         <tr>
358           <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> first_slice_window_3D </td>
359           <td>(</td>
360           <td class="paramname"></td><td>)</td>
361           <td> const</td>
362         </tr>
363       </table>
364   </td>
365   <td class="mlabels-right">
366 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
367   </tr>
368 </table>
369 </div><div class="memdoc">
370
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>
373
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>&#160;    {</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="keywordflow">return</span> first_slice_window&lt;3&gt;();</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    };</div></div><!-- fragment -->
376 </div>
377 </div>
378 <a class="anchor" id="a7b83048403721ed7e90d402e7cf3999b"></a>
379 <div class="memitem">
380 <div class="memproto">
381 <table class="mlabels">
382   <tr>
383   <td class="mlabels-left">
384       <table class="memname">
385         <tr>
386           <td class="memname">constexpr size_t num_iterations </td>
387           <td>(</td>
388           <td class="paramtype">size_t&#160;</td>
389           <td class="paramname"><em>dimension</em></td><td>)</td>
390           <td> const</td>
391         </tr>
392       </table>
393   </td>
394   <td class="mlabels-right">
395 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
396   </tr>
397 </table>
398 </div><div class="memdoc">
399
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>
404   </table>
405   </dd>
406 </dl>
407 <dl class="section return"><dt>Returns</dt><dd>The number of iterations </dd></dl>
408
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>
410
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>&#160;{</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="comment">// Precondition: dimension &lt; Coordinates::num_max_dimensions</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="comment">// Precondition: (end - start) % step == 0</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <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>&#160;}</div></div><!-- fragment -->
413 </div>
414 </div>
415 <a class="anchor" id="a3189e7be57879a610d060f7f0c9d4d03"></a>
416 <div class="memitem">
417 <div class="memproto">
418 <table class="mlabels">
419   <tr>
420   <td class="mlabels-left">
421       <table class="memname">
422         <tr>
423           <td class="memname">constexpr unsigned int num_threads </td>
424           <td>(</td>
425           <td class="paramname"></td><td>)</td>
426           <td> const</td>
427         </tr>
428       </table>
429   </td>
430   <td class="mlabels-right">
431 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
432   </tr>
433 </table>
434 </div><div class="memdoc">
435
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>
438
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>
440
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>&#160;    {</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <span class="keywordflow">return</span> _num_threads;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    }</div></div><!-- fragment -->
443 </div>
444 </div>
445 <a class="anchor" id="a677b385d536f4f81706f729e9b1c91da"></a>
446 <div class="memitem">
447 <div class="memproto">
448 <table class="mlabels">
449   <tr>
450   <td class="mlabels-left">
451       <table class="memname">
452         <tr>
453           <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Window::Dimension</a> &amp; operator[] </td>
454           <td>(</td>
455           <td class="paramtype">size_t&#160;</td>
456           <td class="paramname"><em>dimension</em></td><td>)</td>
457           <td> const</td>
458         </tr>
459       </table>
460   </td>
461   <td class="mlabels-right">
462 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
463   </tr>
464 </table>
465 </div><div class="memdoc">
466
467 <p>Read only access to a given dimension of the window. </p>
468 <dl class="section note"><dt>Note</dt><dd>Precondition: dimension &lt; <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>
472   </table>
473   </dd>
474 </dl>
475 <dl class="section return"><dt>Returns</dt><dd>The requested dimension </dd></dl>
476
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>
478
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>&#160;{</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="comment">// Precondition: dimension &lt; Coordinates::num_max_dimensions</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">return</span> _dims.at(dimension);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;}</div></div><!-- fragment -->
481 </div>
482 </div>
483 <a class="anchor" id="a5e8e5ab06329702df09ab7eb07e9b84d"></a>
484 <div class="memitem">
485 <div class="memproto">
486 <table class="mlabels">
487   <tr>
488   <td class="mlabels-left">
489       <table class="memname">
490         <tr>
491           <td class="memname">void scale </td>
492           <td>(</td>
493           <td class="paramtype">size_t&#160;</td>
494           <td class="paramname"><em>dimension</em>, </td>
495         </tr>
496         <tr>
497           <td class="paramkey"></td>
498           <td></td>
499           <td class="paramtype">float&#160;</td>
500           <td class="paramname"><em>scale_value</em>&#160;</td>
501         </tr>
502         <tr>
503           <td></td>
504           <td>)</td>
505           <td></td><td></td>
506         </tr>
507       </table>
508   </td>
509   <td class="mlabels-right">
510 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
511   </tr>
512 </table>
513 </div><div class="memdoc">
514
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>
521   </table>
522   </dd>
523 </dl>
524
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>
526
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&lt; int &gt;::num_max_dimensions</a>, and <a class="el" href="_window_8h_source.xhtml#l00095">Window::Dimension::step()</a>.</p>
528
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>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension &gt;= <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>&#160;    Window::Dimension &amp;d           = _dims[dimension];</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <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>&#160;    <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>&#160;    d                              = Window::Dimension(d.start() * scale_value, scaled_end, scaled_step);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;}</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) -&gt; 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&lt; int &gt;::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 -->
534 </div>
535 </div>
536 <a class="anchor" id="acd3d2bba51cb84d34dd7656ad2375a6e"></a>
537 <div class="memitem">
538 <div class="memproto">
539 <table class="mlabels">
540   <tr>
541   <td class="mlabels-left">
542       <table class="memname">
543         <tr>
544           <td class="memname">void set </td>
545           <td>(</td>
546           <td class="paramtype">size_t&#160;</td>
547           <td class="paramname"><em>dimension</em>, </td>
548         </tr>
549         <tr>
550           <td class="paramkey"></td>
551           <td></td>
552           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a> &amp;&#160;</td>
553           <td class="paramname"><em>dim</em>&#160;</td>
554         </tr>
555         <tr>
556           <td></td>
557           <td>)</td>
558           <td></td><td></td>
559         </tr>
560       </table>
561   </td>
562   <td class="mlabels-right">
563 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
564   </tr>
565 </table>
566 </div><div class="memdoc">
567
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>
573   </table>
574   </dd>
575 </dl>
576
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>
578
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&lt; int &gt;::num_max_dimensions</a>.</p>
580
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>&#160;{</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension &gt;= <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>&#160;    _dims[dimension] = dim;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;}</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&lt; int &gt;::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 -->
585 </div>
586 </div>
587 <a class="anchor" id="a55ed4ad2395fd25ba847cbf6c54b85e4"></a>
588 <div class="memitem">
589 <div class="memproto">
590 <table class="mlabels">
591   <tr>
592   <td class="mlabels-left">
593       <table class="memname">
594         <tr>
595           <td class="memname">void set_dimension_step </td>
596           <td>(</td>
597           <td class="paramtype">size_t&#160;</td>
598           <td class="paramname"><em>dimension</em>, </td>
599         </tr>
600         <tr>
601           <td class="paramkey"></td>
602           <td></td>
603           <td class="paramtype">int&#160;</td>
604           <td class="paramname"><em>step</em>&#160;</td>
605         </tr>
606         <tr>
607           <td></td>
608           <td>)</td>
609           <td></td><td></td>
610         </tr>
611       </table>
612   </td>
613   <td class="mlabels-right">
614 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
615   </tr>
616 </table>
617 </div><div class="memdoc">
618
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&#39;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>
624   </table>
625   </dd>
626 </dl>
627
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>
629
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&lt; int &gt;::num_max_dimensions</a>.</p>
631
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>&#160;{</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension &gt;= <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>&#160;    _dims[dimension].set_step(step);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;}</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&lt; int &gt;::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 -->
636 </div>
637 </div>
638 <a class="anchor" id="aebe39f14cc20642a2a3a73560bb8f116"></a>
639 <div class="memitem">
640 <div class="memproto">
641 <table class="mlabels">
642   <tr>
643   <td class="mlabels-left">
644       <table class="memname">
645         <tr>
646           <td class="memname">void set_num_threads </td>
647           <td>(</td>
648           <td class="paramtype">unsigned int&#160;</td>
649           <td class="paramname"><em>num_threads</em></td><td>)</td>
650           <td></td>
651         </tr>
652       </table>
653   </td>
654   <td class="mlabels-right">
655 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
656   </tr>
657 </table>
658 </div><div class="memdoc">
659
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>
664   </table>
665   </dd>
666 </dl>
667
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>
669
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>&#160;    {</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        _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>&#160;    }</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 -->
673 </div>
674 </div>
675 <a class="anchor" id="a50ee380d076dd9ce06a35a76903f8b7b"></a>
676 <div class="memitem">
677 <div class="memproto">
678 <table class="mlabels">
679   <tr>
680   <td class="mlabels-left">
681       <table class="memname">
682         <tr>
683           <td class="memname">void set_thread_id </td>
684           <td>(</td>
685           <td class="paramtype">unsigned int&#160;</td>
686           <td class="paramname"><em>id</em></td><td>)</td>
687           <td></td>
688         </tr>
689       </table>
690   </td>
691   <td class="mlabels-right">
692 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
693   </tr>
694 </table>
695 </div><div class="memdoc">
696
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>
701   </table>
702   </dd>
703 </dl>
704
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>&#160;    {</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        _thread_id = id;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    }</div></div><!-- fragment -->
707 </div>
708 </div>
709 <a class="anchor" id="ae688f3eb6c2673216d12d5490e1e88dc"></a>
710 <div class="memitem">
711 <div class="memproto">
712 <table class="mlabels">
713   <tr>
714   <td class="mlabels-left">
715       <table class="memname">
716         <tr>
717           <td class="memname">void shift </td>
718           <td>(</td>
719           <td class="paramtype">size_t&#160;</td>
720           <td class="paramname"><em>dimension</em>, </td>
721         </tr>
722         <tr>
723           <td class="paramkey"></td>
724           <td></td>
725           <td class="paramtype">int&#160;</td>
726           <td class="paramname"><em>shift_value</em>&#160;</td>
727         </tr>
728         <tr>
729           <td></td>
730           <td>)</td>
731           <td></td><td></td>
732         </tr>
733       </table>
734   </td>
735   <td class="mlabels-right">
736 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
737   </tr>
738 </table>
739 </div><div class="memdoc">
740
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>
746   </table>
747   </dd>
748 </dl>
749
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>
751
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&lt; int &gt;::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>
753
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>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension &gt;= <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>&#160;    Window::Dimension &amp;d = _dims[dimension];</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    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>&#160;}</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&lt; int &gt;::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 -->
758 </div>
759 </div>
760 <a class="anchor" id="a5cdf746368c9cfe7b07f1ebbb43810af"></a>
761 <div class="memitem">
762 <div class="memproto">
763 <table class="mlabels">
764   <tr>
765   <td class="mlabels-left">
766       <table class="memname">
767         <tr>
768           <td class="memname">bool slide_window_slice_1D </td>
769           <td>(</td>
770           <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
771           <td class="paramname"><em>slice</em></td><td>)</td>
772           <td> const</td>
773         </tr>
774       </table>
775   </td>
776   <td class="mlabels-right">
777 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
778   </tr>
779 </table>
780 </div><div class="memdoc">
781
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>
787   </table>
788   </dd>
789 </dl>
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>
791
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>&#160;    {</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="keywordflow">return</span> slide_window_slice&lt;1&gt;(slice);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    }</div></div><!-- fragment -->
794 </div>
795 </div>
796 <a class="anchor" id="a25e4deca6ce9a7b258e791851eec3f05"></a>
797 <div class="memitem">
798 <div class="memproto">
799 <table class="mlabels">
800   <tr>
801   <td class="mlabels-left">
802       <table class="memname">
803         <tr>
804           <td class="memname">bool slide_window_slice_2D </td>
805           <td>(</td>
806           <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
807           <td class="paramname"><em>slice</em></td><td>)</td>
808           <td> const</td>
809         </tr>
810       </table>
811   </td>
812   <td class="mlabels-right">
813 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
814   </tr>
815 </table>
816 </div><div class="memdoc">
817
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>
823   </table>
824   </dd>
825 </dl>
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>
827
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>&#160;    {</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <span class="keywordflow">return</span> slide_window_slice&lt;2&gt;(slice);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    }</div></div><!-- fragment -->
830 </div>
831 </div>
832 <a class="anchor" id="a96febcbb5f48b24a562ae60353665654"></a>
833 <div class="memitem">
834 <div class="memproto">
835 <table class="mlabels">
836   <tr>
837   <td class="mlabels-left">
838       <table class="memname">
839         <tr>
840           <td class="memname">bool slide_window_slice_3D </td>
841           <td>(</td>
842           <td class="paramtype"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
843           <td class="paramname"><em>slice</em></td><td>)</td>
844           <td> const</td>
845         </tr>
846       </table>
847   </td>
848   <td class="mlabels-right">
849 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
850   </tr>
851 </table>
852 </div><div class="memdoc">
853
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>
859   </table>
860   </dd>
861 </dl>
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>
863
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>&#160;    {</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        <span class="keywordflow">return</span> slide_window_slice&lt;3&gt;(slice);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    }</div></div><!-- fragment -->
866 </div>
867 </div>
868 <a class="anchor" id="aa4ce41fc0f8c3203753a4fbee8211f5a"></a>
869 <div class="memitem">
870 <div class="memproto">
871 <table class="mlabels">
872   <tr>
873   <td class="mlabels-left">
874       <table class="memname">
875         <tr>
876           <td class="memname"><a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> split_window </td>
877           <td>(</td>
878           <td class="paramtype">size_t&#160;</td>
879           <td class="paramname"><em>dimension</em>, </td>
880         </tr>
881         <tr>
882           <td class="paramkey"></td>
883           <td></td>
884           <td class="paramtype">size_t&#160;</td>
885           <td class="paramname"><em>id</em>, </td>
886         </tr>
887         <tr>
888           <td class="paramkey"></td>
889           <td></td>
890           <td class="paramtype">size_t&#160;</td>
891           <td class="paramname"><em>total</em>&#160;</td>
892         </tr>
893         <tr>
894           <td></td>
895           <td>)</td>
896           <td></td><td> const</td>
897         </tr>
898       </table>
899   </td>
900   <td class="mlabels-right">
901 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
902   </tr>
903 </table>
904 </div><div class="memdoc">
905
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 />
911 </p>
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&#39;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>
917   </table>
918   </dd>
919 </dl>
920 <dl class="section return"><dt>Returns</dt><dd>The subwindow "id" out of "total" </dd></dl>
921
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>
923
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&lt; int &gt;::num_max_dimensions</a>, and <a class="el" href="_window_8inl_source.xhtml#l00040">Window::set()</a>.</p>
925
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>&#160;{</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(<span class="keywordtype">id</span> &gt;= total);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(dimension &gt;= <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>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <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>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> d = 0; d &lt; <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>&#160;    {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="keywordflow">if</span>(d == dimension)</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        {</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;            <span class="keywordtype">int</span> start          = _dims[d].start();</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <span class="keywordtype">int</span> end            = _dims[d].end();</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <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>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            start += <span class="keywordtype">id</span> * per_sub_window;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <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>&#160;            {</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                end = start + per_sub_window;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            out.set(d, Dimension(start, end, _dims[d].step()));</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            out.set(d, _dims[d]);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">return</span> out;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</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&lt; int &gt;::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 -->
932 </div>
933 </div>
934 <a class="anchor" id="a69c84c265e9eac3ed35dced3cf1475a2"></a>
935 <div class="memitem">
936 <div class="memproto">
937 <table class="mlabels">
938   <tr>
939   <td class="mlabels-left">
940       <table class="memname">
941         <tr>
942           <td class="memname">constexpr unsigned int thread_id </td>
943           <td>(</td>
944           <td class="paramname"></td><td>)</td>
945           <td> const</td>
946         </tr>
947       </table>
948   </td>
949   <td class="mlabels-right">
950 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
951   </tr>
952 </table>
953 </div><div class="memdoc">
954
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>
957
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>&#160;    {</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keywordflow">return</span> _thread_id;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    }</div></div><!-- fragment -->
960 </div>
961 </div>
962 <a class="anchor" id="a029cf0d4f09af0f9f63b86af4f8387df"></a>
963 <div class="memitem">
964 <div class="memproto">
965 <table class="mlabels">
966   <tr>
967   <td class="mlabels-left">
968       <table class="memname">
969         <tr>
970           <td class="memname">void use_tensor_dimensions </td>
971           <td>(</td>
972           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_tensor_info.xhtml">TensorInfo</a> *&#160;</td>
973           <td class="paramname"><em>info</em>, </td>
974         </tr>
975         <tr>
976           <td class="paramkey"></td>
977           <td></td>
978           <td class="paramtype">size_t&#160;</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>&#160;</td>
980         </tr>
981         <tr>
982           <td></td>
983           <td>)</td>
984           <td></td><td></td>
985         </tr>
986       </table>
987   </td>
988   <td class="mlabels-right">
989 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
990   </tr>
991 </table>
992 </div><div class="memdoc">
993
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>
999   </table>
1000   </dd>
1001 </dl>
1002
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>
1004
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>
1006
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>&#160;{</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n = first_dimension; n &lt; info-&gt;num_dimensions(); ++n)</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    {</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keyword">set</span>(n, Window::Dimension(0, std::max(info-&gt;dimension(n), <span class="keyword">static_cast&lt;</span><span class="keywordtype">size_t</span><span class="keyword">&gt;</span>(1))));</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    }</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div></div><!-- fragment -->
1009 </div>
1010 </div>
1011 <a class="anchor" id="a048aaadf42ac725952523dd9546e96b5"></a>
1012 <div class="memitem">
1013 <div class="memproto">
1014 <table class="mlabels">
1015   <tr>
1016   <td class="mlabels-left">
1017       <table class="memname">
1018         <tr>
1019           <td class="memname">void validate </td>
1020           <td>(</td>
1021           <td class="paramname"></td><td>)</td>
1022           <td> const</td>
1023         </tr>
1024       </table>
1025   </td>
1026   <td class="mlabels-right">
1027 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1028   </tr>
1029 </table>
1030 </div><div class="memdoc">
1031
1032 <p>Will validate all the window's dimensions' values when asserts are enabled. </p>
1033 <p>No-op when asserts are disabled </p>
1034
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>
1036
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&lt; int &gt;::num_max_dimensions</a>.</p>
1038
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>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i = 0; i &lt; <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>&#160;    {</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <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>&#160;        <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(_dims[i].end() &lt;= _dims[i].start());</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <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>&#160;    }</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;}</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&lt; int &gt;::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 -->
1043 </div>
1044 </div>
1045 <a class="anchor" id="ade63ce331b49eb66d330aab444e57ca9"></a>
1046 <div class="memitem">
1047 <div class="memproto">
1048 <table class="mlabels">
1049   <tr>
1050   <td class="mlabels-left">
1051       <table class="memname">
1052         <tr>
1053           <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>&amp; x </td>
1054           <td>(</td>
1055           <td class="paramname"></td><td>)</td>
1056           <td> const</td>
1057         </tr>
1058       </table>
1059   </td>
1060   <td class="mlabels-right">
1061 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1062   </tr>
1063 </table>
1064 </div><div class="memdoc">
1065
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>
1068
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>
1070
1071 <p>References <a class="el" href="_window_8h_source.xhtml#l00043">Window::DimX</a>.</p>
1072
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>&#160;    {</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <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>&#160;    }</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 -->
1076 </div>
1077 </div>
1078 <a class="anchor" id="aedd49c804f269c0e2c251c4efd44a275"></a>
1079 <div class="memitem">
1080 <div class="memproto">
1081 <table class="mlabels">
1082   <tr>
1083   <td class="mlabels-left">
1084       <table class="memname">
1085         <tr>
1086           <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>&amp; y </td>
1087           <td>(</td>
1088           <td class="paramname"></td><td>)</td>
1089           <td> const</td>
1090         </tr>
1091       </table>
1092   </td>
1093   <td class="mlabels-right">
1094 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1095   </tr>
1096 </table>
1097 </div><div class="memdoc">
1098
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>
1101
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>
1103
1104 <p>References <a class="el" href="_window_8h_source.xhtml#l00045">Window::DimY</a>.</p>
1105
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>&#160;    {</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <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>&#160;    }</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 -->
1109 </div>
1110 </div>
1111 <a class="anchor" id="ade6a04ff1f61b38e07ddb8ef741c996b"></a>
1112 <div class="memitem">
1113 <div class="memproto">
1114 <table class="mlabels">
1115   <tr>
1116   <td class="mlabels-left">
1117       <table class="memname">
1118         <tr>
1119           <td class="memname">constexpr const <a class="el" href="classarm__compute_1_1_window_1_1_dimension.xhtml">Dimension</a>&amp; z </td>
1120           <td>(</td>
1121           <td class="paramname"></td><td>)</td>
1122           <td> const</td>
1123         </tr>
1124       </table>
1125   </td>
1126   <td class="mlabels-right">
1127 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1128   </tr>
1129 </table>
1130 </div><div class="memdoc">
1131
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>
1134
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>
1136
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>
1138
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>&#160;    {</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <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>&#160;    }</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 -->
1142 </div>
1143 </div>
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">
1149   <tr>
1150   <td class="mlabels-left">
1151       <table class="memname">
1152         <tr>
1153           <td class="memname">constexpr size_t DimX = 0</td>
1154         </tr>
1155       </table>
1156   </td>
1157   <td class="mlabels-right">
1158 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
1159   </tr>
1160 </table>
1161 </div><div class="memdoc">
1162
1163 <p>Alias for dimension 0 also known as X dimension. </p>
1164
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>
1166
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>
1168
1169 </div>
1170 </div>
1171 <a class="anchor" id="ad2d402364fa822b0b7775081291eeca9"></a>
1172 <div class="memitem">
1173 <div class="memproto">
1174 <table class="mlabels">
1175   <tr>
1176   <td class="mlabels-left">
1177       <table class="memname">
1178         <tr>
1179           <td class="memname">constexpr size_t DimY = 1</td>
1180         </tr>
1181       </table>
1182   </td>
1183   <td class="mlabels-right">
1184 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
1185   </tr>
1186 </table>
1187 </div><div class="memdoc">
1188
1189 <p>Alias for dimension 1 also known as Y dimension. </p>
1190
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>
1192
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>
1194
1195 </div>
1196 </div>
1197 <a class="anchor" id="a893d17b56b9abc4423ce26e9a24ac5dc"></a>
1198 <div class="memitem">
1199 <div class="memproto">
1200 <table class="mlabels">
1201   <tr>
1202   <td class="mlabels-left">
1203       <table class="memname">
1204         <tr>
1205           <td class="memname">constexpr size_t DimZ = 2</td>
1206         </tr>
1207       </table>
1208   </td>
1209   <td class="mlabels-right">
1210 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
1211   </tr>
1212 </table>
1213 </div><div class="memdoc">
1214
1215 <p>Alias for dimension 2 also known as Z dimension. </p>
1216
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>
1218
1219 <p>Referenced by <a class="el" href="_window_8h_source.xhtml#l00146">Window::z()</a>.</p>
1220
1221 </div>
1222 </div>
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>
1226 </ul>
1227 </div><!-- contents -->
1228 </div><!-- doc-content -->
1229 <!-- start footer part -->
1230 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1231   <ul>
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>
1236   </ul>
1237 </div>
1238 </body>
1239 </html>