Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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 --> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 9 | <title>Compute Library: arm_compute/core/Helpers.inl File Reference</title> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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;"> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 42 | <div id="projectname">Compute Library |
| 43 |  <span id="projectnumber">v17.06</span> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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 Page</span></a></li> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 58 | <li><a href="pages.xhtml"><span>Related Pages</span></a></li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 59 | <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li> |
| 60 | <li><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| 61 | <li class="current"><a href="files.xhtml"><span>Files</span></a></li> |
| 62 | <li> |
| 63 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 64 | <span class="left"> |
| 65 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 66 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 67 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 68 | alt=""/> |
| 69 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 70 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 71 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 72 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 73 | </span><span class="right"> |
| 74 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 75 | </span> |
| 76 | </div> |
| 77 | </li> |
| 78 | </ul> |
| 79 | </div> |
| 80 | <div id="navrow2" class="tabs2"> |
| 81 | <ul class="tablist"> |
| 82 | <li><a href="files.xhtml"><span>File List</span></a></li> |
| 83 | <li><a href="globals.xhtml"><span>Globals</span></a></li> |
| 84 | </ul> |
| 85 | </div> |
| 86 | </div><!-- top --> |
| 87 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 88 | <div id="nav-tree"> |
| 89 | <div id="nav-tree-contents"> |
| 90 | <div id="nav-sync" class="sync"></div> |
| 91 | </div> |
| 92 | </div> |
| 93 | <div id="splitbar" style="-moz-user-select:none;" |
| 94 | class="ui-resizable-handle"> |
| 95 | </div> |
| 96 | </div> |
| 97 | <script type="text/javascript"> |
| 98 | $(document).ready(function(){initNavTree('_helpers_8inl.xhtml','');}); |
| 99 | </script> |
| 100 | <div id="doc-content"> |
| 101 | <!-- window showing the filter options --> |
| 102 | <div id="MSearchSelectWindow" |
| 103 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 104 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 105 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 106 | </div> |
| 107 | |
| 108 | <!-- iframe showing the search results (closed by default) --> |
| 109 | <div id="MSearchResultsWindow"> |
| 110 | <iframe src="javascript:void(0)" frameborder="0" |
| 111 | name="MSearchResults" id="MSearchResults"> |
| 112 | </iframe> |
| 113 | </div> |
| 114 | |
| 115 | <div class="header"> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 116 | <div class="summary"> |
| 117 | <a href="#namespaces">Namespaces</a> | |
| 118 | <a href="#func-members">Functions</a> </div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 119 | <div class="headertitle"> |
| 120 | <div class="title">Helpers.inl File Reference</div> </div> |
| 121 | </div><!--header--> |
| 122 | <div class="contents"> |
| 123 | <div class="textblock"><code>#include "<a class="el" href="_error_8h_source.xhtml">arm_compute/core/Error.h</a>"</code><br /> |
| 124 | <code>#include "<a class="el" href="_validate_8h_source.xhtml">arm_compute/core/Validate.h</a>"</code><br /> |
| 125 | <code>#include <cmath></code><br /> |
| 126 | <code>#include <numeric></code><br /> |
| 127 | </div> |
| 128 | <p><a href="_helpers_8inl_source.xhtml">Go to the source code of this file.</a></p> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 129 | <table class="memberdecls"> |
| 130 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 131 | Namespaces</h2></td></tr> |
| 132 | <tr class="memitem:namespacearm__compute"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></td></tr> |
| 133 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | </table><table class="memberdecls"> |
| 135 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 136 | Functions</h2></td></tr> |
| 137 | <tr class="memitem:aceaaf77291e83ca0dfaed677c93ce350"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#aceaaf77291e83ca0dfaed677c93ce350">delta_bilinear_c1u8</a> (const uint8_t *pixel_ptr, size_t stride, float dx, float dy)</td></tr> |
| 138 | <tr class="memdesc:aceaaf77291e83ca0dfaed677c93ce350"><td class="mdescLeft"> </td><td class="mdescRight">Computes bilinear interpolation using the pointer to the top-left pixel and the pixel's distance between the real coordinates and the smallest following integer coordinates. <a href="namespacearm__compute.xhtml#aceaaf77291e83ca0dfaed677c93ce350">More...</a><br /></td></tr> |
| 139 | <tr class="separator:aceaaf77291e83ca0dfaed677c93ce350"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:a49560b7b7e0095fd7501b0a6d7042f2b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a49560b7b7e0095fd7501b0a6d7042f2b">pixel_bilinear_c1u8</a> (const uint8_t *first_pixel_ptr, size_t stride, float x, float y)</td></tr> |
| 141 | <tr class="memdesc:a49560b7b7e0095fd7501b0a6d7042f2b"><td class="mdescLeft"> </td><td class="mdescRight">Return the pixel at (x,y) using bilinear interpolation. <a href="namespacearm__compute.xhtml#a49560b7b7e0095fd7501b0a6d7042f2b">More...</a><br /></td></tr> |
| 142 | <tr class="separator:a49560b7b7e0095fd7501b0a6d7042f2b"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:a7c3fa3051dcd3570157d121b6cb0e56a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a7c3fa3051dcd3570157d121b6cb0e56a">pixel_bilinear_c1u8_clamp</a> (const uint8_t *first_pixel_ptr, size_t stride, size_t width, size_t height, float x, float y)</td></tr> |
| 144 | <tr class="memdesc:a7c3fa3051dcd3570157d121b6cb0e56a"><td class="mdescLeft"> </td><td class="mdescRight">Return the pixel at (x,y) using bilinear interpolation by clamping when out of borders. <a href="namespacearm__compute.xhtml#a7c3fa3051dcd3570157d121b6cb0e56a">More...</a><br /></td></tr> |
| 145 | <tr class="separator:a7c3fa3051dcd3570157d121b6cb0e56a"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:ab7b3af731907e85fcaf72555c446176b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#ab7b3af731907e85fcaf72555c446176b">pixel_area_c1u8_clamp</a> (const uint8_t *first_pixel_ptr, size_t stride, size_t width, size_t height, float wr, float hr, int x, int y)</td></tr> |
| 147 | <tr class="memdesc:ab7b3af731907e85fcaf72555c446176b"><td class="mdescLeft"> </td><td class="mdescRight">Return the pixel at (x,y) using area interpolation by clamping when out of borders. <a href="namespacearm__compute.xhtml#ab7b3af731907e85fcaf72555c446176b">More...</a><br /></td></tr> |
| 148 | <tr class="separator:ab7b3af731907e85fcaf72555c446176b"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a6c0dcc38187027dcb89cd9724bc5a823"><td class="memTemplParams" colspan="2">template<typename L , typename... Ts> </td></tr> |
| 150 | <tr class="memitem:a6c0dcc38187027dcb89cd9724bc5a823"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a6c0dcc38187027dcb89cd9724bc5a823">execute_window_loop</a> (const Window &w, L &&lambda_function, Ts &&...iterators)</td></tr> |
| 151 | <tr class="memdesc:a6c0dcc38187027dcb89cd9724bc5a823"><td class="mdescLeft"> </td><td class="mdescRight">Iterate through the passed window, automatically adjusting the iterators and calling the lambda_functino for each element. <a href="namespacearm__compute.xhtml#a6c0dcc38187027dcb89cd9724bc5a823">More...</a><br /></td></tr> |
| 152 | <tr class="separator:a6c0dcc38187027dcb89cd9724bc5a823"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:a1c9627ac3d73a67e9312c2c9740ff0a3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a1c9627ac3d73a67e9312c2c9740ff0a3">auto_init_if_empty</a> (ITensorInfo &info, const TensorShape &shape, int num_channels, DataType data_type, int fixed_point_position)</td></tr> |
| 154 | <tr class="separator:a1c9627ac3d73a67e9312c2c9740ff0a3"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:a9d1a839c51134b2ae171a2264c541b6f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a9d1a839c51134b2ae171a2264c541b6f">set_shape_if_empty</a> (ITensorInfo &info, const TensorShape &shape)</td></tr> |
| 156 | <tr class="separator:a9d1a839c51134b2ae171a2264c541b6f"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:a8076ba239b6681067b6cfea7f773a39f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a8076ba239b6681067b6cfea7f773a39f">set_format_if_unknown</a> (ITensorInfo &info, Format format)</td></tr> |
| 158 | <tr class="separator:a8076ba239b6681067b6cfea7f773a39f"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:ad19446be52c2c162fa678b9ae236f445"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#ad19446be52c2c162fa678b9ae236f445">set_data_type_if_unknown</a> (ITensorInfo &info, DataType data_type)</td></tr> |
| 160 | <tr class="separator:ad19446be52c2c162fa678b9ae236f445"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:a0894ed18ca6f55d6053882676cc2c95c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a0894ed18ca6f55d6053882676cc2c95c">set_fixed_point_position_if_zero</a> (ITensorInfo &info, int fixed_point_position)</td></tr> |
| 162 | <tr class="separator:a0894ed18ca6f55d6053882676cc2c95c"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | </table> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 164 | </div><!-- contents --> |
| 165 | </div><!-- doc-content --> |
| 166 | <!-- start footer part --> |
| 167 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 168 | <ul> |
| 169 | <li class="navelem"><a class="el" href="dir_214608ef36d61442cb2b0c1c4e9a7def.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="dir_1fb090f0c6070330bfaccc4236d3ca0d.xhtml">core</a></li><li class="navelem"><a class="el" href="_helpers_8inl.xhtml">Helpers.inl</a></li> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 170 | <li class="footer">Generated on Fri Jun 23 2017 15:44:34 for Compute Library by |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 171 | <a href="http://www.doxygen.org/index.html"> |
| 172 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> |
| 173 | </ul> |
| 174 | </div> |
| 175 | </body> |
| 176 | </html> |