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"/> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 7 | <meta name="generator" content="Doxygen 1.8.11"/> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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: src/core/CL/cl_kernels/remap.cl 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> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 15 | <script type="text/javascript" src="navtreedata.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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"/> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 22 | <script type="text/javascript" src="search/searchdata.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 23 | <script type="text/javascript" src="search/search.js"></script> |
| 24 | <script type="text/javascript"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 25 | $(document).ready(function() { init_search(); }); |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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 | }); |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 32 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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 |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 43 |  <span id="projectnumber">18.05</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 --> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 51 | <!-- Generated by Doxygen 1.8.11 --> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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('remap_8cl.xhtml','');}); |
| 99 | </script> |
| 100 | <div id="doc-content"> |
| 101 | <!-- window showing the filter options --> |
| 102 | <div id="MSearchSelectWindow" |
| 103 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 104 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 105 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 106 | </div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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"> |
| 116 | <div class="summary"> |
| 117 | <a href="#func-members">Functions</a> </div> |
| 118 | <div class="headertitle"> |
| 119 | <div class="title">remap.cl File Reference</div> </div> |
| 120 | </div><!--header--> |
| 121 | <div class="contents"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 122 | <div class="textblock"><code>#include "<a class="el" href="helpers_8h_source.xhtml">helpers.h</a>"</code><br /> |
| 123 | <code>#include "<a class="el" href="warp__helpers_8h_source.xhtml">warp_helpers.h</a>"</code><br /> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 124 | </div> |
| 125 | <p><a href="remap_8cl_source.xhtml">Go to the source code of this file.</a></p> |
| 126 | <table class="memberdecls"> |
| 127 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 128 | Functions</h2></td></tr> |
| 129 | <tr class="memitem:a786803611cc128275d32d9584376713e"><td class="memItemLeft" align="right" valign="top">__kernel void </td><td class="memItemRight" valign="bottom"><a class="el" href="remap_8cl.xhtml#a786803611cc128275d32d9584376713e">remap_nearest_neighbour</a> (__global uchar *in_ptr, uint in_stride_x, uint in_step_x, uint in_stride_y, uint in_step_y, uint in_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes, __global uchar *mapx_ptr, uint mapx_stride_x, uint mapx_step_x, uint mapx_stride_y, uint mapx_step_y, uint mapx_offset_first_element_in_bytes, __global uchar *mapy_ptr, uint mapy_stride_x, uint mapy_step_x, uint mapy_stride_y, uint mapy_step_y, uint mapy_offset_first_element_in_bytes, const float width, const float height)</td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 130 | <tr class="memdesc:a786803611cc128275d32d9584376713e"><td class="mdescLeft"> </td><td class="mdescRight">Performs a remapping of an input image to an output given two remapping image using nearest neighbor as interpolation. <a href="#a786803611cc128275d32d9584376713e">More...</a><br /></td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 131 | <tr class="separator:a786803611cc128275d32d9584376713e"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a1d771133d1dfea450fdbacda1c34ce49"><td class="memItemLeft" align="right" valign="top">__kernel void </td><td class="memItemRight" valign="bottom"><a class="el" href="remap_8cl.xhtml#a1d771133d1dfea450fdbacda1c34ce49">remap_bilinear</a> (__global uchar *in_ptr, uint in_stride_x, uint in_step_x, uint in_stride_y, uint in_step_y, uint in_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes, __global uchar *mapx_ptr, uint mapx_stride_x, uint mapx_step_x, uint mapx_stride_y, uint mapx_step_y, uint mapx_offset_first_element_in_bytes, __global uchar *mapy_ptr, uint mapy_stride_x, uint mapy_step_x, uint mapy_stride_y, uint mapy_step_y, uint mapy_offset_first_element_in_bytes, const float width, const float height)</td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 133 | <tr class="memdesc:a1d771133d1dfea450fdbacda1c34ce49"><td class="mdescLeft"> </td><td class="mdescRight">Performs a remapping of an input image to an output given two remapping image using bilinear as interpolation. <a href="#a1d771133d1dfea450fdbacda1c34ce49">More...</a><br /></td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 134 | <tr class="separator:a1d771133d1dfea450fdbacda1c34ce49"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table> |
| 136 | <h2 class="groupheader">Function Documentation</h2> |
| 137 | <a class="anchor" id="a1d771133d1dfea450fdbacda1c34ce49"></a> |
| 138 | <div class="memitem"> |
| 139 | <div class="memproto"> |
| 140 | <table class="memname"> |
| 141 | <tr> |
| 142 | <td class="memname">__kernel void remap_bilinear </td> |
| 143 | <td>(</td> |
| 144 | <td class="paramtype">__global uchar * </td> |
| 145 | <td class="paramname"><em>in_ptr</em>, </td> |
| 146 | </tr> |
| 147 | <tr> |
| 148 | <td class="paramkey"></td> |
| 149 | <td></td> |
| 150 | <td class="paramtype">uint </td> |
| 151 | <td class="paramname"><em>in_stride_x</em>, </td> |
| 152 | </tr> |
| 153 | <tr> |
| 154 | <td class="paramkey"></td> |
| 155 | <td></td> |
| 156 | <td class="paramtype">uint </td> |
| 157 | <td class="paramname"><em>in_step_x</em>, </td> |
| 158 | </tr> |
| 159 | <tr> |
| 160 | <td class="paramkey"></td> |
| 161 | <td></td> |
| 162 | <td class="paramtype">uint </td> |
| 163 | <td class="paramname"><em>in_stride_y</em>, </td> |
| 164 | </tr> |
| 165 | <tr> |
| 166 | <td class="paramkey"></td> |
| 167 | <td></td> |
| 168 | <td class="paramtype">uint </td> |
| 169 | <td class="paramname"><em>in_step_y</em>, </td> |
| 170 | </tr> |
| 171 | <tr> |
| 172 | <td class="paramkey"></td> |
| 173 | <td></td> |
| 174 | <td class="paramtype">uint </td> |
| 175 | <td class="paramname"><em>in_offset_first_element_in_bytes</em>, </td> |
| 176 | </tr> |
| 177 | <tr> |
| 178 | <td class="paramkey"></td> |
| 179 | <td></td> |
| 180 | <td class="paramtype">__global uchar * </td> |
| 181 | <td class="paramname"><em>out_ptr</em>, </td> |
| 182 | </tr> |
| 183 | <tr> |
| 184 | <td class="paramkey"></td> |
| 185 | <td></td> |
| 186 | <td class="paramtype">uint </td> |
| 187 | <td class="paramname"><em>out_stride_x</em>, </td> |
| 188 | </tr> |
| 189 | <tr> |
| 190 | <td class="paramkey"></td> |
| 191 | <td></td> |
| 192 | <td class="paramtype">uint </td> |
| 193 | <td class="paramname"><em>out_step_x</em>, </td> |
| 194 | </tr> |
| 195 | <tr> |
| 196 | <td class="paramkey"></td> |
| 197 | <td></td> |
| 198 | <td class="paramtype">uint </td> |
| 199 | <td class="paramname"><em>out_stride_y</em>, </td> |
| 200 | </tr> |
| 201 | <tr> |
| 202 | <td class="paramkey"></td> |
| 203 | <td></td> |
| 204 | <td class="paramtype">uint </td> |
| 205 | <td class="paramname"><em>out_step_y</em>, </td> |
| 206 | </tr> |
| 207 | <tr> |
| 208 | <td class="paramkey"></td> |
| 209 | <td></td> |
| 210 | <td class="paramtype">uint </td> |
| 211 | <td class="paramname"><em>out_offset_first_element_in_bytes</em>, </td> |
| 212 | </tr> |
| 213 | <tr> |
| 214 | <td class="paramkey"></td> |
| 215 | <td></td> |
| 216 | <td class="paramtype">__global uchar * </td> |
| 217 | <td class="paramname"><em>mapx_ptr</em>, </td> |
| 218 | </tr> |
| 219 | <tr> |
| 220 | <td class="paramkey"></td> |
| 221 | <td></td> |
| 222 | <td class="paramtype">uint </td> |
| 223 | <td class="paramname"><em>mapx_stride_x</em>, </td> |
| 224 | </tr> |
| 225 | <tr> |
| 226 | <td class="paramkey"></td> |
| 227 | <td></td> |
| 228 | <td class="paramtype">uint </td> |
| 229 | <td class="paramname"><em>mapx_step_x</em>, </td> |
| 230 | </tr> |
| 231 | <tr> |
| 232 | <td class="paramkey"></td> |
| 233 | <td></td> |
| 234 | <td class="paramtype">uint </td> |
| 235 | <td class="paramname"><em>mapx_stride_y</em>, </td> |
| 236 | </tr> |
| 237 | <tr> |
| 238 | <td class="paramkey"></td> |
| 239 | <td></td> |
| 240 | <td class="paramtype">uint </td> |
| 241 | <td class="paramname"><em>mapx_step_y</em>, </td> |
| 242 | </tr> |
| 243 | <tr> |
| 244 | <td class="paramkey"></td> |
| 245 | <td></td> |
| 246 | <td class="paramtype">uint </td> |
| 247 | <td class="paramname"><em>mapx_offset_first_element_in_bytes</em>, </td> |
| 248 | </tr> |
| 249 | <tr> |
| 250 | <td class="paramkey"></td> |
| 251 | <td></td> |
| 252 | <td class="paramtype">__global uchar * </td> |
| 253 | <td class="paramname"><em>mapy_ptr</em>, </td> |
| 254 | </tr> |
| 255 | <tr> |
| 256 | <td class="paramkey"></td> |
| 257 | <td></td> |
| 258 | <td class="paramtype">uint </td> |
| 259 | <td class="paramname"><em>mapy_stride_x</em>, </td> |
| 260 | </tr> |
| 261 | <tr> |
| 262 | <td class="paramkey"></td> |
| 263 | <td></td> |
| 264 | <td class="paramtype">uint </td> |
| 265 | <td class="paramname"><em>mapy_step_x</em>, </td> |
| 266 | </tr> |
| 267 | <tr> |
| 268 | <td class="paramkey"></td> |
| 269 | <td></td> |
| 270 | <td class="paramtype">uint </td> |
| 271 | <td class="paramname"><em>mapy_stride_y</em>, </td> |
| 272 | </tr> |
| 273 | <tr> |
| 274 | <td class="paramkey"></td> |
| 275 | <td></td> |
| 276 | <td class="paramtype">uint </td> |
| 277 | <td class="paramname"><em>mapy_step_y</em>, </td> |
| 278 | </tr> |
| 279 | <tr> |
| 280 | <td class="paramkey"></td> |
| 281 | <td></td> |
| 282 | <td class="paramtype">uint </td> |
| 283 | <td class="paramname"><em>mapy_offset_first_element_in_bytes</em>, </td> |
| 284 | </tr> |
| 285 | <tr> |
| 286 | <td class="paramkey"></td> |
| 287 | <td></td> |
| 288 | <td class="paramtype">const float </td> |
| 289 | <td class="paramname"><em>width</em>, </td> |
| 290 | </tr> |
| 291 | <tr> |
| 292 | <td class="paramkey"></td> |
| 293 | <td></td> |
| 294 | <td class="paramtype">const float </td> |
| 295 | <td class="paramname"><em>height</em> </td> |
| 296 | </tr> |
| 297 | <tr> |
| 298 | <td></td> |
| 299 | <td>)</td> |
| 300 | <td></td><td></td> |
| 301 | </tr> |
| 302 | </table> |
| 303 | </div><div class="memdoc"> |
| 304 | |
| 305 | <p>Performs a remapping of an input image to an output given two remapping image using bilinear as interpolation. </p> |
| 306 | <p>This kernel performs remapping with this method of pixel coordinate translation: out(x,y) = in(mapx(x,y), mapy(x,y));</p> |
| 307 | <dl class="params"><dt>Parameters</dt><dd> |
| 308 | <table class="params"> |
| 309 | <tr><td class="paramdir">[in]</td><td class="paramname">in_ptr</td><td>Pointer to the source image. Supported data types: U8. </td></tr> |
| 310 | <tr><td class="paramdir">[in]</td><td class="paramname">in_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr> |
| 311 | <tr><td class="paramdir">[in]</td><td class="paramname">in_step_x</td><td>in_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 312 | <tr><td class="paramdir">[in]</td><td class="paramname">in_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr> |
| 313 | <tr><td class="paramdir">[in]</td><td class="paramname">in_step_y</td><td>in_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 314 | <tr><td class="paramdir">[in]</td><td class="paramname">in_offset_first_element_in_bytes</td><td>Offset of the first element in the source image </td></tr> |
| 315 | <tr><td class="paramdir">[out]</td><td class="paramname">out_ptr</td><td>Pointer to the destination image. Supported data types: U8. </td></tr> |
| 316 | <tr><td class="paramdir">[in]</td><td class="paramname">out_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr> |
| 317 | <tr><td class="paramdir">[in]</td><td class="paramname">out_step_x</td><td>out_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 318 | <tr><td class="paramdir">[in]</td><td class="paramname">out_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr> |
| 319 | <tr><td class="paramdir">[in]</td><td class="paramname">out_step_y</td><td>out_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 320 | <tr><td class="paramdir">[in]</td><td class="paramname">out_offset_first_element_in_bytes</td><td>Offset of the first element in the destination image </td></tr> |
| 321 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_ptr</td><td>Pointer to the x remapping image. Supported data types: F32. </td></tr> |
| 322 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_stride_x</td><td>Stride of the remapping image in X dimension (in bytes) </td></tr> |
| 323 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_step_x</td><td>mapx_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 324 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_stride_y</td><td>Stride of the remapping image in Y dimension (in bytes) </td></tr> |
| 325 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_step_y</td><td>mapy_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 326 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_offset_first_element_in_bytes</td><td>Offset of the first element in the remapping image </td></tr> |
| 327 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_ptr</td><td>Pointer to the x remapping image. Supported data types: F32. </td></tr> |
| 328 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_stride_x</td><td>Stride of the remapping image in X dimension (in bytes) </td></tr> |
| 329 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_step_x</td><td>mapy_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 330 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_stride_y</td><td>Stride of the remapping image in Y dimension (in bytes) </td></tr> |
| 331 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_step_y</td><td>mapy_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 332 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_offset_first_element_in_bytes</td><td>Offset of the first element in the remapping image </td></tr> |
| 333 | <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>Width of the input image </td></tr> |
| 334 | <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>Height of the input image </td></tr> |
| 335 | </table> |
| 336 | </dd> |
| 337 | </dl> |
| 338 | |
| 339 | <p>Definition at line <a class="el" href="remap_8cl_source.xhtml#l00113">113</a> of file <a class="el" href="remap_8cl_source.xhtml">remap.cl</a>.</p> |
| 340 | |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 341 | <p>References <a class="el" href="warp__helpers_8h_source.xhtml#l00135">bilinear_interpolate()</a>, <a class="el" href="warp__helpers_8h_source.xhtml#l00048">clamp_to_border()</a>, <a class="el" href="helpers_8h_source.xhtml#l00104">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="helpers_8h_source.xhtml#l00107">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a>, and <a class="el" href="helpers_8h_source.xhtml#l00144">Image::ptr</a>.</p> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 342 | <div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="struct_image.xhtml">Image</a> in = <a class="code" href="helpers_8h.xhtml#a4334a4a76f8e9628c0fb9e1acf616e2a">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a>(in);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="struct_image.xhtml">Image</a> out = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(out);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="struct_image.xhtml">Image</a> mapx = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(mapx);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="struct_image.xhtml">Image</a> mapy = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(mapy);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  float4 mapx_coords = vload4(0, (__global <span class="keywordtype">float</span> *)mapx.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  float4 mapy_coords = vload4(0, (__global <span class="keywordtype">float</span> *)mapy.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  float8 map_coords = (float8)(mapx_coords.s0, mapy_coords.s0, mapx_coords.s1, mapy_coords.s1,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  mapx_coords.s2, mapy_coords.s2, mapx_coords.s3, mapy_coords.s3);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  vstore4(<a class="code" href="warp__helpers_8h.xhtml#abea9f226daf3e0ad741d03cf7417d353">bilinear_interpolate</a>(&in, <a class="code" href="warp__helpers_8h.xhtml#adbdf2ca9e8fe0b67f9359929ef743126">clamp_to_border</a>(map_coords, width, height), width, height), 0, out.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> }</div><div class="ttc" id="warp__helpers_8h_xhtml_adbdf2ca9e8fe0b67f9359929ef743126"><div class="ttname"><a href="warp__helpers_8h.xhtml#adbdf2ca9e8fe0b67f9359929ef743126">clamp_to_border</a></div><div class="ttdeci">const float8 clamp_to_border(float8 coords, const float width, const float height)</div><div class="ttdoc">Clamps the given coordinates to the borders. </div><div class="ttdef"><b>Definition:</b> <a href="warp__helpers_8h_source.xhtml#l00048">warp_helpers.h:48</a></div></div> |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 343 | <div class="ttc" id="helpers_8h_xhtml_a4334a4a76f8e9628c0fb9e1acf616e2a"><div class="ttname"><a href="helpers_8h.xhtml#a4334a4a76f8e9628c0fb9e1acf616e2a">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT_NO_STEP(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00107">helpers.h:107</a></div></div> |
| 344 | <div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00104">helpers.h:104</a></div></div> |
| 345 | <div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00142">helpers.h:142</a></div></div> |
| 346 | <div class="ttc" id="struct_image_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">Image::ptr</a></div><div class="ttdeci">__global uchar * ptr</div><div class="ttdoc">Pointer to the starting postion of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00144">helpers.h:144</a></div></div> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 347 | <div class="ttc" id="warp__helpers_8h_xhtml_abea9f226daf3e0ad741d03cf7417d353"><div class="ttname"><a href="warp__helpers_8h.xhtml#abea9f226daf3e0ad741d03cf7417d353">bilinear_interpolate</a></div><div class="ttdeci">const DATA_TYPE4 bilinear_interpolate(const Image *in, const float8 coords, const float width, const float height)</div><div class="ttdoc">Computes the bilinear interpolation for each set of coordinates in the vector coords and returns the ...</div><div class="ttdef"><b>Definition:</b> <a href="warp__helpers_8h_source.xhtml#l00135">warp_helpers.h:135</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 348 | </div><!-- fragment --> |
| 349 | </div> |
| 350 | </div> |
| 351 | <a class="anchor" id="a786803611cc128275d32d9584376713e"></a> |
| 352 | <div class="memitem"> |
| 353 | <div class="memproto"> |
| 354 | <table class="memname"> |
| 355 | <tr> |
| 356 | <td class="memname">__kernel void remap_nearest_neighbour </td> |
| 357 | <td>(</td> |
| 358 | <td class="paramtype">__global uchar * </td> |
| 359 | <td class="paramname"><em>in_ptr</em>, </td> |
| 360 | </tr> |
| 361 | <tr> |
| 362 | <td class="paramkey"></td> |
| 363 | <td></td> |
| 364 | <td class="paramtype">uint </td> |
| 365 | <td class="paramname"><em>in_stride_x</em>, </td> |
| 366 | </tr> |
| 367 | <tr> |
| 368 | <td class="paramkey"></td> |
| 369 | <td></td> |
| 370 | <td class="paramtype">uint </td> |
| 371 | <td class="paramname"><em>in_step_x</em>, </td> |
| 372 | </tr> |
| 373 | <tr> |
| 374 | <td class="paramkey"></td> |
| 375 | <td></td> |
| 376 | <td class="paramtype">uint </td> |
| 377 | <td class="paramname"><em>in_stride_y</em>, </td> |
| 378 | </tr> |
| 379 | <tr> |
| 380 | <td class="paramkey"></td> |
| 381 | <td></td> |
| 382 | <td class="paramtype">uint </td> |
| 383 | <td class="paramname"><em>in_step_y</em>, </td> |
| 384 | </tr> |
| 385 | <tr> |
| 386 | <td class="paramkey"></td> |
| 387 | <td></td> |
| 388 | <td class="paramtype">uint </td> |
| 389 | <td class="paramname"><em>in_offset_first_element_in_bytes</em>, </td> |
| 390 | </tr> |
| 391 | <tr> |
| 392 | <td class="paramkey"></td> |
| 393 | <td></td> |
| 394 | <td class="paramtype">__global uchar * </td> |
| 395 | <td class="paramname"><em>out_ptr</em>, </td> |
| 396 | </tr> |
| 397 | <tr> |
| 398 | <td class="paramkey"></td> |
| 399 | <td></td> |
| 400 | <td class="paramtype">uint </td> |
| 401 | <td class="paramname"><em>out_stride_x</em>, </td> |
| 402 | </tr> |
| 403 | <tr> |
| 404 | <td class="paramkey"></td> |
| 405 | <td></td> |
| 406 | <td class="paramtype">uint </td> |
| 407 | <td class="paramname"><em>out_step_x</em>, </td> |
| 408 | </tr> |
| 409 | <tr> |
| 410 | <td class="paramkey"></td> |
| 411 | <td></td> |
| 412 | <td class="paramtype">uint </td> |
| 413 | <td class="paramname"><em>out_stride_y</em>, </td> |
| 414 | </tr> |
| 415 | <tr> |
| 416 | <td class="paramkey"></td> |
| 417 | <td></td> |
| 418 | <td class="paramtype">uint </td> |
| 419 | <td class="paramname"><em>out_step_y</em>, </td> |
| 420 | </tr> |
| 421 | <tr> |
| 422 | <td class="paramkey"></td> |
| 423 | <td></td> |
| 424 | <td class="paramtype">uint </td> |
| 425 | <td class="paramname"><em>out_offset_first_element_in_bytes</em>, </td> |
| 426 | </tr> |
| 427 | <tr> |
| 428 | <td class="paramkey"></td> |
| 429 | <td></td> |
| 430 | <td class="paramtype">__global uchar * </td> |
| 431 | <td class="paramname"><em>mapx_ptr</em>, </td> |
| 432 | </tr> |
| 433 | <tr> |
| 434 | <td class="paramkey"></td> |
| 435 | <td></td> |
| 436 | <td class="paramtype">uint </td> |
| 437 | <td class="paramname"><em>mapx_stride_x</em>, </td> |
| 438 | </tr> |
| 439 | <tr> |
| 440 | <td class="paramkey"></td> |
| 441 | <td></td> |
| 442 | <td class="paramtype">uint </td> |
| 443 | <td class="paramname"><em>mapx_step_x</em>, </td> |
| 444 | </tr> |
| 445 | <tr> |
| 446 | <td class="paramkey"></td> |
| 447 | <td></td> |
| 448 | <td class="paramtype">uint </td> |
| 449 | <td class="paramname"><em>mapx_stride_y</em>, </td> |
| 450 | </tr> |
| 451 | <tr> |
| 452 | <td class="paramkey"></td> |
| 453 | <td></td> |
| 454 | <td class="paramtype">uint </td> |
| 455 | <td class="paramname"><em>mapx_step_y</em>, </td> |
| 456 | </tr> |
| 457 | <tr> |
| 458 | <td class="paramkey"></td> |
| 459 | <td></td> |
| 460 | <td class="paramtype">uint </td> |
| 461 | <td class="paramname"><em>mapx_offset_first_element_in_bytes</em>, </td> |
| 462 | </tr> |
| 463 | <tr> |
| 464 | <td class="paramkey"></td> |
| 465 | <td></td> |
| 466 | <td class="paramtype">__global uchar * </td> |
| 467 | <td class="paramname"><em>mapy_ptr</em>, </td> |
| 468 | </tr> |
| 469 | <tr> |
| 470 | <td class="paramkey"></td> |
| 471 | <td></td> |
| 472 | <td class="paramtype">uint </td> |
| 473 | <td class="paramname"><em>mapy_stride_x</em>, </td> |
| 474 | </tr> |
| 475 | <tr> |
| 476 | <td class="paramkey"></td> |
| 477 | <td></td> |
| 478 | <td class="paramtype">uint </td> |
| 479 | <td class="paramname"><em>mapy_step_x</em>, </td> |
| 480 | </tr> |
| 481 | <tr> |
| 482 | <td class="paramkey"></td> |
| 483 | <td></td> |
| 484 | <td class="paramtype">uint </td> |
| 485 | <td class="paramname"><em>mapy_stride_y</em>, </td> |
| 486 | </tr> |
| 487 | <tr> |
| 488 | <td class="paramkey"></td> |
| 489 | <td></td> |
| 490 | <td class="paramtype">uint </td> |
| 491 | <td class="paramname"><em>mapy_step_y</em>, </td> |
| 492 | </tr> |
| 493 | <tr> |
| 494 | <td class="paramkey"></td> |
| 495 | <td></td> |
| 496 | <td class="paramtype">uint </td> |
| 497 | <td class="paramname"><em>mapy_offset_first_element_in_bytes</em>, </td> |
| 498 | </tr> |
| 499 | <tr> |
| 500 | <td class="paramkey"></td> |
| 501 | <td></td> |
| 502 | <td class="paramtype">const float </td> |
| 503 | <td class="paramname"><em>width</em>, </td> |
| 504 | </tr> |
| 505 | <tr> |
| 506 | <td class="paramkey"></td> |
| 507 | <td></td> |
| 508 | <td class="paramtype">const float </td> |
| 509 | <td class="paramname"><em>height</em> </td> |
| 510 | </tr> |
| 511 | <tr> |
| 512 | <td></td> |
| 513 | <td>)</td> |
| 514 | <td></td><td></td> |
| 515 | </tr> |
| 516 | </table> |
| 517 | </div><div class="memdoc"> |
| 518 | |
| 519 | <p>Performs a remapping of an input image to an output given two remapping image using nearest neighbor as interpolation. </p> |
| 520 | <p>This kernel performs remapping with this method of pixel coordinate translation: out(x,y) = in(mapx(x,y), mapy(x,y));</p> |
| 521 | <dl class="params"><dt>Parameters</dt><dd> |
| 522 | <table class="params"> |
| 523 | <tr><td class="paramdir">[in]</td><td class="paramname">in_ptr</td><td>Pointer to the source image. Supported data types: U8. </td></tr> |
| 524 | <tr><td class="paramdir">[in]</td><td class="paramname">in_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr> |
| 525 | <tr><td class="paramdir">[in]</td><td class="paramname">in_step_x</td><td>in_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 526 | <tr><td class="paramdir">[in]</td><td class="paramname">in_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr> |
| 527 | <tr><td class="paramdir">[in]</td><td class="paramname">in_step_y</td><td>in_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 528 | <tr><td class="paramdir">[in]</td><td class="paramname">in_offset_first_element_in_bytes</td><td>Offset of the first element in the source image </td></tr> |
| 529 | <tr><td class="paramdir">[out]</td><td class="paramname">out_ptr</td><td>Pointer to the destination image. Supported data types: U8. </td></tr> |
| 530 | <tr><td class="paramdir">[in]</td><td class="paramname">out_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr> |
| 531 | <tr><td class="paramdir">[in]</td><td class="paramname">out_step_x</td><td>out_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 532 | <tr><td class="paramdir">[in]</td><td class="paramname">out_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr> |
| 533 | <tr><td class="paramdir">[in]</td><td class="paramname">out_step_y</td><td>out_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 534 | <tr><td class="paramdir">[in]</td><td class="paramname">out_offset_first_element_in_bytes</td><td>Offset of the first element in the destination image </td></tr> |
| 535 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_ptr</td><td>Pointer to the x remapping image. Supported data types: F32. </td></tr> |
| 536 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_stride_x</td><td>Stride of the remapping image in X dimension (in bytes) </td></tr> |
| 537 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_step_x</td><td>mapx_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 538 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_stride_y</td><td>Stride of the remapping image in Y dimension (in bytes) </td></tr> |
| 539 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_step_y</td><td>mapy_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 540 | <tr><td class="paramdir">[in]</td><td class="paramname">mapx_offset_first_element_in_bytes</td><td>Offset of the first element in the remapping image </td></tr> |
| 541 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_ptr</td><td>Pointer to the x remapping image. Supported data types: F32. </td></tr> |
| 542 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_stride_x</td><td>Stride of the remapping image in X dimension (in bytes) </td></tr> |
| 543 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_step_x</td><td>mapy_stride_x * number of elements along X processed per work item (in bytes) </td></tr> |
| 544 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_stride_y</td><td>Stride of the remapping image in Y dimension (in bytes) </td></tr> |
| 545 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_step_y</td><td>mapy_stride_y * number of elements along Y processed per work item (in bytes) </td></tr> |
| 546 | <tr><td class="paramdir">[in]</td><td class="paramname">mapy_offset_first_element_in_bytes</td><td>Offset of the first element in the remapping image </td></tr> |
| 547 | <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>Width of the input image </td></tr> |
| 548 | <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>Height of the input image </td></tr> |
| 549 | </table> |
| 550 | </dd> |
| 551 | </dl> |
| 552 | |
| 553 | <p>Definition at line <a class="el" href="remap_8cl_source.xhtml#l00059">59</a> of file <a class="el" href="remap_8cl_source.xhtml">remap.cl</a>.</p> |
| 554 | |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 555 | <p>References <a class="el" href="warp__helpers_8h_source.xhtml#l00048">clamp_to_border()</a>, <a class="el" href="helpers_8h_source.xhtml#l00104">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="helpers_8h_source.xhtml#l00107">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a>, <a class="el" href="helpers_8h_source.xhtml#l00144">Image::ptr</a>, and <a class="el" href="warp__helpers_8h_source.xhtml#l00058">read_texels4()</a>.</p> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 556 | <div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="struct_image.xhtml">Image</a> in = <a class="code" href="helpers_8h.xhtml#a4334a4a76f8e9628c0fb9e1acf616e2a">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a>(in);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="struct_image.xhtml">Image</a> out = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(out);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="struct_image.xhtml">Image</a> mapx = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(mapx);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="struct_image.xhtml">Image</a> mapy = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(mapy);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  float4 mapx_coords = vload4(0, (__global <span class="keywordtype">float</span> *)mapx.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  float4 mapy_coords = vload4(0, (__global <span class="keywordtype">float</span> *)mapy.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  float8 map_coords = (float8)(mapx_coords.s0, mapy_coords.s0, mapx_coords.s1, mapy_coords.s1,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  mapx_coords.s2, mapy_coords.s2, mapx_coords.s3, mapy_coords.s3);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  map_coords += (float8)(0.5f);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  vstore4(<a class="code" href="warp__helpers_8h.xhtml#aba42442a4c991cdbb52727fa370676f1">read_texels4</a>(&in, convert_int8(<a class="code" href="warp__helpers_8h.xhtml#adbdf2ca9e8fe0b67f9359929ef743126">clamp_to_border</a>(map_coords, width, height))), 0, out.<a class="code" href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="ttc" id="warp__helpers_8h_xhtml_adbdf2ca9e8fe0b67f9359929ef743126"><div class="ttname"><a href="warp__helpers_8h.xhtml#adbdf2ca9e8fe0b67f9359929ef743126">clamp_to_border</a></div><div class="ttdeci">const float8 clamp_to_border(float8 coords, const float width, const float height)</div><div class="ttdoc">Clamps the given coordinates to the borders. </div><div class="ttdef"><b>Definition:</b> <a href="warp__helpers_8h_source.xhtml#l00048">warp_helpers.h:48</a></div></div> |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 557 | <div class="ttc" id="helpers_8h_xhtml_a4334a4a76f8e9628c0fb9e1acf616e2a"><div class="ttname"><a href="helpers_8h.xhtml#a4334a4a76f8e9628c0fb9e1acf616e2a">CONVERT_TO_IMAGE_STRUCT_NO_STEP</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT_NO_STEP(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00107">helpers.h:107</a></div></div> |
| 558 | <div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00104">helpers.h:104</a></div></div> |
| 559 | <div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00142">helpers.h:142</a></div></div> |
| 560 | <div class="ttc" id="struct_image_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_image.xhtml#acf52c23cbd7424606c10a606524e3e32">Image::ptr</a></div><div class="ttdeci">__global uchar * ptr</div><div class="ttdoc">Pointer to the starting postion of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00144">helpers.h:144</a></div></div> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 561 | <div class="ttc" id="warp__helpers_8h_xhtml_aba42442a4c991cdbb52727fa370676f1"><div class="ttname"><a href="warp__helpers_8h.xhtml#aba42442a4c991cdbb52727fa370676f1">read_texels4</a></div><div class="ttdeci">const DATA_TYPE4 read_texels4(const Image *in, const int8 coords)</div><div class="ttdoc">Reads four texels from the input image. </div><div class="ttdef"><b>Definition:</b> <a href="warp__helpers_8h_source.xhtml#l00058">warp_helpers.h:58</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 562 | </div><!-- fragment --> |
| 563 | </div> |
| 564 | </div> |
| 565 | </div><!-- contents --> |
| 566 | </div><!-- doc-content --> |
| 567 | <!-- start footer part --> |
| 568 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 569 | <ul> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 570 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.xhtml">core</a></li><li class="navelem"><a class="el" href="dir_8c278f79c760e5c5fbd911f9870614c1.xhtml">CL</a></li><li class="navelem"><a class="el" href="dir_25885286e9dad4fa105b7b25a8031bbf.xhtml">cl_kernels</a></li><li class="navelem"><a class="el" href="remap_8cl.xhtml">remap.cl</a></li> |
Jenkins | b3a371b | 2018-05-23 11:36:53 +0100 | [diff] [blame] | 571 | <li class="footer">Generated on Wed May 23 2018 11:36:39 for Compute Library by |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 572 | <a href="http://www.doxygen.org/index.html"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame] | 573 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 574 | </ul> |
| 575 | </div> |
| 576 | </body> |
| 577 | </html> |