Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 1 | /* |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 2 | * Copyright (C) 2015 The Android Open Source Project |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 17 | // Don't edit this file! It is auto-generated by frameworks/rs/api/gen_runtime. |
| 18 | |
| 19 | /* |
| 20 | * rs_allocation.rsh: Allocation routines |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 21 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 22 | * Functions that can be used to query the characteristics of an allocation, |
| 23 | * to set and get elements of the allocation. |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 24 | */ |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 25 | #ifndef RENDERSCRIPT_RS_ALLOCATION_RSH |
| 26 | #define RENDERSCRIPT_RS_ALLOCATION_RSH |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 27 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 28 | /* |
| 29 | * rsAllocationCopy1DRange: Copy consecutive values between allocations |
Jason Sams | 08695a9 | 2012-09-20 18:30:21 -0700 | [diff] [blame] | 30 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 31 | * Copies part of an allocation into another allocation. |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 32 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 33 | * The two allocations must be different. Using this function to copy whithin |
| 34 | * the same allocation yields undefined results. |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 35 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 36 | * Parameters: |
| 37 | * dstAlloc Allocation to copy data into. |
| 38 | * dstOff The offset of the first element to be copied in the destination allocation. |
| 39 | * dstMip Mip level in the destination allocation. |
| 40 | * count The number of elements to be copied. |
| 41 | * srcAlloc The source data allocation. |
| 42 | * srcOff The offset of the first element in data to be copied in the source allocation. |
| 43 | * srcMip Mip level in the source allocation. |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 44 | */ |
Alex Sakhartchouk | 4325387 | 2011-09-28 15:23:18 -0700 | [diff] [blame] | 45 | #if (defined(RS_VERSION) && (RS_VERSION >= 14)) |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 46 | extern void __attribute__((overloadable)) |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 47 | rsAllocationCopy1DRange(rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, |
| 48 | rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip); |
Jason Sams | 988bfc4 | 2013-02-26 13:11:28 -0800 | [diff] [blame] | 49 | #endif |
Jason Sams | 9c7d4c4 | 2012-09-24 17:00:05 -0700 | [diff] [blame] | 50 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 51 | /* |
| 52 | * rsAllocationCopy2DRange: Copy a rectangular region between allocations |
| 53 | * |
| 54 | * Copy a rectangular region into the allocation from another allocation. |
| 55 | * |
| 56 | * The two allocations must be different. Using this function to copy whithin |
| 57 | * the same allocation yields undefined results. |
| 58 | * |
| 59 | * Parameters: |
| 60 | * dstAlloc Allocation to copy data into. |
| 61 | * dstXoff X offset of the region to update in the destination allocation. |
| 62 | * dstYoff Y offset of the region to update in the destination allocation. |
| 63 | * dstMip Mip level in the destination allocation. |
| 64 | * dstFace Cubemap face of the destination allocation, ignored for allocations that aren't cubemaps. |
| 65 | * width Width of the incoming region to update. |
| 66 | * height Height of the incoming region to update. |
| 67 | * srcAlloc The source data allocation. |
| 68 | * srcXoff X offset in data of the source allocation. |
| 69 | * srcYoff Y offset in data of the source allocation. |
| 70 | * srcMip Mip level in the source allocation. |
| 71 | * srcFace Cubemap face of the source allocation, ignored for allocations that aren't cubemaps. |
Jason Sams | b322033 | 2012-04-02 14:41:54 -0700 | [diff] [blame] | 72 | */ |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 73 | #if (defined(RS_VERSION) && (RS_VERSION >= 14)) |
Jean-Luc Brouillet | 40da363 | 2015-03-03 13:50:23 -0800 | [diff] [blame] | 74 | extern void __attribute__((overloadable)) |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 75 | rsAllocationCopy2DRange(rs_allocation dstAlloc, uint32_t dstXoff, uint32_t dstYoff, |
| 76 | uint32_t dstMip, rs_allocation_cubemap_face dstFace, uint32_t width, |
| 77 | uint32_t height, rs_allocation srcAlloc, uint32_t srcXoff, |
| 78 | uint32_t srcYoff, uint32_t srcMip, rs_allocation_cubemap_face srcFace); |
| 79 | #endif |
Jason Sams | b322033 | 2012-04-02 14:41:54 -0700 | [diff] [blame] | 80 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 81 | /* |
| 82 | * rsAllocationGetDimFaces: Presence of more than one face |
| 83 | * |
| 84 | * If the allocation is a cubemap, this function returns 1 if there's more than one |
| 85 | * face present. In all other cases, it returns 0. |
| 86 | * |
| 87 | * Returns: Returns 1 if more than one face is present, 0 otherwise. |
Jason Sams | b322033 | 2012-04-02 14:41:54 -0700 | [diff] [blame] | 88 | */ |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 89 | extern uint32_t __attribute__((overloadable)) |
| 90 | rsAllocationGetDimFaces(rs_allocation a); |
Jason Sams | b322033 | 2012-04-02 14:41:54 -0700 | [diff] [blame] | 91 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 92 | /* |
| 93 | * rsAllocationGetDimLOD: Presence of levels of details |
| 94 | * |
| 95 | * Query an allocation for the presence of more than one Level Of Details. This is useful for mipmaps. |
| 96 | * |
| 97 | * Returns: Returns 1 if more than one LOD is present, 0 otherwise. |
| 98 | */ |
| 99 | extern uint32_t __attribute__((overloadable)) |
| 100 | rsAllocationGetDimLOD(rs_allocation a); |
Jason Sams | b322033 | 2012-04-02 14:41:54 -0700 | [diff] [blame] | 101 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 102 | /* |
| 103 | * rsAllocationGetDimX: Size of the X dimension |
| 104 | * |
| 105 | * Returns the size of the X dimension of the allocation. |
| 106 | * |
| 107 | * Returns: The X dimension of the allocation. |
| 108 | */ |
| 109 | extern uint32_t __attribute__((overloadable)) |
| 110 | rsAllocationGetDimX(rs_allocation a); |
| 111 | |
| 112 | /* |
| 113 | * rsAllocationGetDimY: Size of the Y dimension |
| 114 | * |
| 115 | * Returns the size of the Y dimension of the allocation. |
| 116 | * If the allocation has less than two dimensions, returns 0. |
| 117 | * |
| 118 | * Returns: The Y dimension of the allocation. |
| 119 | */ |
| 120 | extern uint32_t __attribute__((overloadable)) |
| 121 | rsAllocationGetDimY(rs_allocation a); |
| 122 | |
| 123 | /* |
| 124 | * rsAllocationGetDimZ: Size of the Z dimension |
| 125 | * |
| 126 | * Returns the size of the Z dimension of the allocation. |
| 127 | * If the allocation has less than three dimensions, returns 0. |
| 128 | * |
| 129 | * Returns: The Z dimension of the allocation. |
| 130 | */ |
| 131 | extern uint32_t __attribute__((overloadable)) |
| 132 | rsAllocationGetDimZ(rs_allocation a); |
| 133 | |
| 134 | /* |
Alex Sakhartchouk | 340d15a | 2012-04-16 13:50:40 -0700 | [diff] [blame] | 135 | * Get the element object describing the allocation's layout |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 136 | * |
| 137 | * Parameters: |
| 138 | * a allocation to get data from |
| 139 | * |
| 140 | * Returns: element describing allocation layout |
Alex Sakhartchouk | 8d0f59e | 2011-12-16 14:15:07 -0800 | [diff] [blame] | 141 | */ |
Alex Sakhartchouk | b0fa3a6 | 2011-12-16 09:44:26 -0800 | [diff] [blame] | 142 | extern rs_element __attribute__((overloadable)) |
Alex Sakhartchouk | 8d0f59e | 2011-12-16 14:15:07 -0800 | [diff] [blame] | 143 | rsAllocationGetElement(rs_allocation a); |
Alex Sakhartchouk | 253325d | 2011-12-15 09:56:10 -0800 | [diff] [blame] | 144 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 145 | /* |
| 146 | * rsAllocationIoReceive: Receive new content from the queue |
Jason Sams | 4cb9687 | 2013-04-03 14:02:58 -0700 | [diff] [blame] | 147 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 148 | * Receive a new set of contents from the queue. |
Jason Sams | 4cb9687 | 2013-04-03 14:02:58 -0700 | [diff] [blame] | 149 | * |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 150 | * Parameters: |
| 151 | * a allocation to work on |
Jason Sams | 4cb9687 | 2013-04-03 14:02:58 -0700 | [diff] [blame] | 152 | */ |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 153 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 154 | extern void __attribute__((overloadable)) |
| 155 | rsAllocationIoReceive(rs_allocation a); |
| 156 | #endif |
Jason Sams | 4cb9687 | 2013-04-03 14:02:58 -0700 | [diff] [blame] | 157 | |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 158 | /* |
| 159 | * rsAllocationIoSend: Send new content to the queue |
| 160 | * |
| 161 | * Send the contents of the Allocation to the queue. |
| 162 | * |
| 163 | * Parameters: |
| 164 | * a allocation to work on |
| 165 | */ |
| 166 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 167 | extern void __attribute__((overloadable)) |
| 168 | rsAllocationIoSend(rs_allocation a); |
| 169 | #endif |
| 170 | |
| 171 | /* |
| 172 | * Get a single element from an allocation. |
| 173 | */ |
| 174 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 175 | extern float2 __attribute__((overloadable)) |
| 176 | rsAllocationVLoadX_float2(rs_allocation a, uint32_t x); |
| 177 | #endif |
Tim Murray | cc63efe | 2012-10-17 11:43:50 -0700 | [diff] [blame] | 178 | |
Jason Sams | 85e51c2 | 2014-12-08 12:48:45 -0800 | [diff] [blame] | 179 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 180 | extern float3 __attribute__((overloadable)) |
| 181 | rsAllocationVLoadX_float3(rs_allocation a, uint32_t x); |
Jason Sams | 044e2ee | 2011-08-08 16:52:30 -0700 | [diff] [blame] | 182 | #endif |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame^] | 183 | |
| 184 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 185 | extern float4 __attribute__((overloadable)) |
| 186 | rsAllocationVLoadX_float4(rs_allocation a, uint32_t x); |
| 187 | #endif |
| 188 | |
| 189 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 190 | extern double2 __attribute__((overloadable)) |
| 191 | rsAllocationVLoadX_double2(rs_allocation a, uint32_t x); |
| 192 | #endif |
| 193 | |
| 194 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 195 | extern double3 __attribute__((overloadable)) |
| 196 | rsAllocationVLoadX_double3(rs_allocation a, uint32_t x); |
| 197 | #endif |
| 198 | |
| 199 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 200 | extern double4 __attribute__((overloadable)) |
| 201 | rsAllocationVLoadX_double4(rs_allocation a, uint32_t x); |
| 202 | #endif |
| 203 | |
| 204 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 205 | extern char2 __attribute__((overloadable)) |
| 206 | rsAllocationVLoadX_char2(rs_allocation a, uint32_t x); |
| 207 | #endif |
| 208 | |
| 209 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 210 | extern char3 __attribute__((overloadable)) |
| 211 | rsAllocationVLoadX_char3(rs_allocation a, uint32_t x); |
| 212 | #endif |
| 213 | |
| 214 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 215 | extern char4 __attribute__((overloadable)) |
| 216 | rsAllocationVLoadX_char4(rs_allocation a, uint32_t x); |
| 217 | #endif |
| 218 | |
| 219 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 220 | extern uchar2 __attribute__((overloadable)) |
| 221 | rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x); |
| 222 | #endif |
| 223 | |
| 224 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 225 | extern uchar3 __attribute__((overloadable)) |
| 226 | rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x); |
| 227 | #endif |
| 228 | |
| 229 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 230 | extern uchar4 __attribute__((overloadable)) |
| 231 | rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x); |
| 232 | #endif |
| 233 | |
| 234 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 235 | extern short2 __attribute__((overloadable)) |
| 236 | rsAllocationVLoadX_short2(rs_allocation a, uint32_t x); |
| 237 | #endif |
| 238 | |
| 239 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 240 | extern short3 __attribute__((overloadable)) |
| 241 | rsAllocationVLoadX_short3(rs_allocation a, uint32_t x); |
| 242 | #endif |
| 243 | |
| 244 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 245 | extern short4 __attribute__((overloadable)) |
| 246 | rsAllocationVLoadX_short4(rs_allocation a, uint32_t x); |
| 247 | #endif |
| 248 | |
| 249 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 250 | extern ushort2 __attribute__((overloadable)) |
| 251 | rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x); |
| 252 | #endif |
| 253 | |
| 254 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 255 | extern ushort3 __attribute__((overloadable)) |
| 256 | rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x); |
| 257 | #endif |
| 258 | |
| 259 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 260 | extern ushort4 __attribute__((overloadable)) |
| 261 | rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x); |
| 262 | #endif |
| 263 | |
| 264 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 265 | extern int2 __attribute__((overloadable)) |
| 266 | rsAllocationVLoadX_int2(rs_allocation a, uint32_t x); |
| 267 | #endif |
| 268 | |
| 269 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 270 | extern int3 __attribute__((overloadable)) |
| 271 | rsAllocationVLoadX_int3(rs_allocation a, uint32_t x); |
| 272 | #endif |
| 273 | |
| 274 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 275 | extern int4 __attribute__((overloadable)) |
| 276 | rsAllocationVLoadX_int4(rs_allocation a, uint32_t x); |
| 277 | #endif |
| 278 | |
| 279 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 280 | extern uint2 __attribute__((overloadable)) |
| 281 | rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x); |
| 282 | #endif |
| 283 | |
| 284 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 285 | extern uint3 __attribute__((overloadable)) |
| 286 | rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x); |
| 287 | #endif |
| 288 | |
| 289 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 290 | extern uint4 __attribute__((overloadable)) |
| 291 | rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x); |
| 292 | #endif |
| 293 | |
| 294 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 295 | extern long2 __attribute__((overloadable)) |
| 296 | rsAllocationVLoadX_long2(rs_allocation a, uint32_t x); |
| 297 | #endif |
| 298 | |
| 299 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 300 | extern long3 __attribute__((overloadable)) |
| 301 | rsAllocationVLoadX_long3(rs_allocation a, uint32_t x); |
| 302 | #endif |
| 303 | |
| 304 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 305 | extern long4 __attribute__((overloadable)) |
| 306 | rsAllocationVLoadX_long4(rs_allocation a, uint32_t x); |
| 307 | #endif |
| 308 | |
| 309 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 310 | extern ulong2 __attribute__((overloadable)) |
| 311 | rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x); |
| 312 | #endif |
| 313 | |
| 314 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 315 | extern ulong3 __attribute__((overloadable)) |
| 316 | rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x); |
| 317 | #endif |
| 318 | |
| 319 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 320 | extern ulong4 __attribute__((overloadable)) |
| 321 | rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x); |
| 322 | #endif |
| 323 | |
| 324 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 325 | extern float2 __attribute__((overloadable)) |
| 326 | rsAllocationVLoadX_float2(rs_allocation a, uint32_t x, uint32_t y); |
| 327 | #endif |
| 328 | |
| 329 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 330 | extern float3 __attribute__((overloadable)) |
| 331 | rsAllocationVLoadX_float3(rs_allocation a, uint32_t x, uint32_t y); |
| 332 | #endif |
| 333 | |
| 334 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 335 | extern float4 __attribute__((overloadable)) |
| 336 | rsAllocationVLoadX_float4(rs_allocation a, uint32_t x, uint32_t y); |
| 337 | #endif |
| 338 | |
| 339 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 340 | extern double2 __attribute__((overloadable)) |
| 341 | rsAllocationVLoadX_double2(rs_allocation a, uint32_t x, uint32_t y); |
| 342 | #endif |
| 343 | |
| 344 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 345 | extern double3 __attribute__((overloadable)) |
| 346 | rsAllocationVLoadX_double3(rs_allocation a, uint32_t x, uint32_t y); |
| 347 | #endif |
| 348 | |
| 349 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 350 | extern double4 __attribute__((overloadable)) |
| 351 | rsAllocationVLoadX_double4(rs_allocation a, uint32_t x, uint32_t y); |
| 352 | #endif |
| 353 | |
| 354 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 355 | extern char2 __attribute__((overloadable)) |
| 356 | rsAllocationVLoadX_char2(rs_allocation a, uint32_t x, uint32_t y); |
| 357 | #endif |
| 358 | |
| 359 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 360 | extern char3 __attribute__((overloadable)) |
| 361 | rsAllocationVLoadX_char3(rs_allocation a, uint32_t x, uint32_t y); |
| 362 | #endif |
| 363 | |
| 364 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 365 | extern char4 __attribute__((overloadable)) |
| 366 | rsAllocationVLoadX_char4(rs_allocation a, uint32_t x, uint32_t y); |
| 367 | #endif |
| 368 | |
| 369 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 370 | extern uchar2 __attribute__((overloadable)) |
| 371 | rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x, uint32_t y); |
| 372 | #endif |
| 373 | |
| 374 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 375 | extern uchar3 __attribute__((overloadable)) |
| 376 | rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x, uint32_t y); |
| 377 | #endif |
| 378 | |
| 379 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 380 | extern uchar4 __attribute__((overloadable)) |
| 381 | rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x, uint32_t y); |
| 382 | #endif |
| 383 | |
| 384 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 385 | extern short2 __attribute__((overloadable)) |
| 386 | rsAllocationVLoadX_short2(rs_allocation a, uint32_t x, uint32_t y); |
| 387 | #endif |
| 388 | |
| 389 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 390 | extern short3 __attribute__((overloadable)) |
| 391 | rsAllocationVLoadX_short3(rs_allocation a, uint32_t x, uint32_t y); |
| 392 | #endif |
| 393 | |
| 394 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 395 | extern short4 __attribute__((overloadable)) |
| 396 | rsAllocationVLoadX_short4(rs_allocation a, uint32_t x, uint32_t y); |
| 397 | #endif |
| 398 | |
| 399 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 400 | extern ushort2 __attribute__((overloadable)) |
| 401 | rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x, uint32_t y); |
| 402 | #endif |
| 403 | |
| 404 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 405 | extern ushort3 __attribute__((overloadable)) |
| 406 | rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x, uint32_t y); |
| 407 | #endif |
| 408 | |
| 409 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 410 | extern ushort4 __attribute__((overloadable)) |
| 411 | rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x, uint32_t y); |
| 412 | #endif |
| 413 | |
| 414 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 415 | extern int2 __attribute__((overloadable)) |
| 416 | rsAllocationVLoadX_int2(rs_allocation a, uint32_t x, uint32_t y); |
| 417 | #endif |
| 418 | |
| 419 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 420 | extern int3 __attribute__((overloadable)) |
| 421 | rsAllocationVLoadX_int3(rs_allocation a, uint32_t x, uint32_t y); |
| 422 | #endif |
| 423 | |
| 424 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 425 | extern int4 __attribute__((overloadable)) |
| 426 | rsAllocationVLoadX_int4(rs_allocation a, uint32_t x, uint32_t y); |
| 427 | #endif |
| 428 | |
| 429 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 430 | extern uint2 __attribute__((overloadable)) |
| 431 | rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x, uint32_t y); |
| 432 | #endif |
| 433 | |
| 434 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 435 | extern uint3 __attribute__((overloadable)) |
| 436 | rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x, uint32_t y); |
| 437 | #endif |
| 438 | |
| 439 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 440 | extern uint4 __attribute__((overloadable)) |
| 441 | rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x, uint32_t y); |
| 442 | #endif |
| 443 | |
| 444 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 445 | extern long2 __attribute__((overloadable)) |
| 446 | rsAllocationVLoadX_long2(rs_allocation a, uint32_t x, uint32_t y); |
| 447 | #endif |
| 448 | |
| 449 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 450 | extern long3 __attribute__((overloadable)) |
| 451 | rsAllocationVLoadX_long3(rs_allocation a, uint32_t x, uint32_t y); |
| 452 | #endif |
| 453 | |
| 454 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 455 | extern long4 __attribute__((overloadable)) |
| 456 | rsAllocationVLoadX_long4(rs_allocation a, uint32_t x, uint32_t y); |
| 457 | #endif |
| 458 | |
| 459 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 460 | extern ulong2 __attribute__((overloadable)) |
| 461 | rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x, uint32_t y); |
| 462 | #endif |
| 463 | |
| 464 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 465 | extern ulong3 __attribute__((overloadable)) |
| 466 | rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x, uint32_t y); |
| 467 | #endif |
| 468 | |
| 469 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 470 | extern ulong4 __attribute__((overloadable)) |
| 471 | rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x, uint32_t y); |
| 472 | #endif |
| 473 | |
| 474 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 475 | extern float2 __attribute__((overloadable)) |
| 476 | rsAllocationVLoadX_float2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 477 | #endif |
| 478 | |
| 479 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 480 | extern float3 __attribute__((overloadable)) |
| 481 | rsAllocationVLoadX_float3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 482 | #endif |
| 483 | |
| 484 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 485 | extern float4 __attribute__((overloadable)) |
| 486 | rsAllocationVLoadX_float4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 487 | #endif |
| 488 | |
| 489 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 490 | extern double2 __attribute__((overloadable)) |
| 491 | rsAllocationVLoadX_double2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 492 | #endif |
| 493 | |
| 494 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 495 | extern double3 __attribute__((overloadable)) |
| 496 | rsAllocationVLoadX_double3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 497 | #endif |
| 498 | |
| 499 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 500 | extern double4 __attribute__((overloadable)) |
| 501 | rsAllocationVLoadX_double4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 502 | #endif |
| 503 | |
| 504 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 505 | extern char2 __attribute__((overloadable)) |
| 506 | rsAllocationVLoadX_char2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 507 | #endif |
| 508 | |
| 509 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 510 | extern char3 __attribute__((overloadable)) |
| 511 | rsAllocationVLoadX_char3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 512 | #endif |
| 513 | |
| 514 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 515 | extern char4 __attribute__((overloadable)) |
| 516 | rsAllocationVLoadX_char4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 517 | #endif |
| 518 | |
| 519 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 520 | extern uchar2 __attribute__((overloadable)) |
| 521 | rsAllocationVLoadX_uchar2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 522 | #endif |
| 523 | |
| 524 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 525 | extern uchar3 __attribute__((overloadable)) |
| 526 | rsAllocationVLoadX_uchar3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 527 | #endif |
| 528 | |
| 529 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 530 | extern uchar4 __attribute__((overloadable)) |
| 531 | rsAllocationVLoadX_uchar4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 532 | #endif |
| 533 | |
| 534 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 535 | extern short2 __attribute__((overloadable)) |
| 536 | rsAllocationVLoadX_short2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 537 | #endif |
| 538 | |
| 539 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 540 | extern short3 __attribute__((overloadable)) |
| 541 | rsAllocationVLoadX_short3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 542 | #endif |
| 543 | |
| 544 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 545 | extern short4 __attribute__((overloadable)) |
| 546 | rsAllocationVLoadX_short4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 547 | #endif |
| 548 | |
| 549 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 550 | extern ushort2 __attribute__((overloadable)) |
| 551 | rsAllocationVLoadX_ushort2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 552 | #endif |
| 553 | |
| 554 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 555 | extern ushort3 __attribute__((overloadable)) |
| 556 | rsAllocationVLoadX_ushort3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 557 | #endif |
| 558 | |
| 559 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 560 | extern ushort4 __attribute__((overloadable)) |
| 561 | rsAllocationVLoadX_ushort4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 562 | #endif |
| 563 | |
| 564 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 565 | extern int2 __attribute__((overloadable)) |
| 566 | rsAllocationVLoadX_int2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 567 | #endif |
| 568 | |
| 569 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 570 | extern int3 __attribute__((overloadable)) |
| 571 | rsAllocationVLoadX_int3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 572 | #endif |
| 573 | |
| 574 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 575 | extern int4 __attribute__((overloadable)) |
| 576 | rsAllocationVLoadX_int4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 577 | #endif |
| 578 | |
| 579 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 580 | extern uint2 __attribute__((overloadable)) |
| 581 | rsAllocationVLoadX_uint2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 582 | #endif |
| 583 | |
| 584 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 585 | extern uint3 __attribute__((overloadable)) |
| 586 | rsAllocationVLoadX_uint3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 587 | #endif |
| 588 | |
| 589 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 590 | extern uint4 __attribute__((overloadable)) |
| 591 | rsAllocationVLoadX_uint4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 592 | #endif |
| 593 | |
| 594 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 595 | extern long2 __attribute__((overloadable)) |
| 596 | rsAllocationVLoadX_long2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 597 | #endif |
| 598 | |
| 599 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 600 | extern long3 __attribute__((overloadable)) |
| 601 | rsAllocationVLoadX_long3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 602 | #endif |
| 603 | |
| 604 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 605 | extern long4 __attribute__((overloadable)) |
| 606 | rsAllocationVLoadX_long4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 607 | #endif |
| 608 | |
| 609 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 610 | extern ulong2 __attribute__((overloadable)) |
| 611 | rsAllocationVLoadX_ulong2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 612 | #endif |
| 613 | |
| 614 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 615 | extern ulong3 __attribute__((overloadable)) |
| 616 | rsAllocationVLoadX_ulong3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 617 | #endif |
| 618 | |
| 619 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 620 | extern ulong4 __attribute__((overloadable)) |
| 621 | rsAllocationVLoadX_ulong4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 622 | #endif |
| 623 | |
| 624 | /* |
| 625 | * Set a single element of an allocation. |
| 626 | */ |
| 627 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 628 | extern void __attribute__((overloadable)) |
| 629 | rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x); |
| 630 | #endif |
| 631 | |
| 632 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 633 | extern void __attribute__((overloadable)) |
| 634 | rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x); |
| 635 | #endif |
| 636 | |
| 637 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 638 | extern void __attribute__((overloadable)) |
| 639 | rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x); |
| 640 | #endif |
| 641 | |
| 642 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 643 | extern void __attribute__((overloadable)) |
| 644 | rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x); |
| 645 | #endif |
| 646 | |
| 647 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 648 | extern void __attribute__((overloadable)) |
| 649 | rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x); |
| 650 | #endif |
| 651 | |
| 652 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 653 | extern void __attribute__((overloadable)) |
| 654 | rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x); |
| 655 | #endif |
| 656 | |
| 657 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 658 | extern void __attribute__((overloadable)) |
| 659 | rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x); |
| 660 | #endif |
| 661 | |
| 662 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 663 | extern void __attribute__((overloadable)) |
| 664 | rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x); |
| 665 | #endif |
| 666 | |
| 667 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 668 | extern void __attribute__((overloadable)) |
| 669 | rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x); |
| 670 | #endif |
| 671 | |
| 672 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 673 | extern void __attribute__((overloadable)) |
| 674 | rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x); |
| 675 | #endif |
| 676 | |
| 677 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 678 | extern void __attribute__((overloadable)) |
| 679 | rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x); |
| 680 | #endif |
| 681 | |
| 682 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 683 | extern void __attribute__((overloadable)) |
| 684 | rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x); |
| 685 | #endif |
| 686 | |
| 687 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 688 | extern void __attribute__((overloadable)) |
| 689 | rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x); |
| 690 | #endif |
| 691 | |
| 692 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 693 | extern void __attribute__((overloadable)) |
| 694 | rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x); |
| 695 | #endif |
| 696 | |
| 697 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 698 | extern void __attribute__((overloadable)) |
| 699 | rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x); |
| 700 | #endif |
| 701 | |
| 702 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 703 | extern void __attribute__((overloadable)) |
| 704 | rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x); |
| 705 | #endif |
| 706 | |
| 707 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 708 | extern void __attribute__((overloadable)) |
| 709 | rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x); |
| 710 | #endif |
| 711 | |
| 712 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 713 | extern void __attribute__((overloadable)) |
| 714 | rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x); |
| 715 | #endif |
| 716 | |
| 717 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 718 | extern void __attribute__((overloadable)) |
| 719 | rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x); |
| 720 | #endif |
| 721 | |
| 722 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 723 | extern void __attribute__((overloadable)) |
| 724 | rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x); |
| 725 | #endif |
| 726 | |
| 727 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 728 | extern void __attribute__((overloadable)) |
| 729 | rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x); |
| 730 | #endif |
| 731 | |
| 732 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 733 | extern void __attribute__((overloadable)) |
| 734 | rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x); |
| 735 | #endif |
| 736 | |
| 737 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 738 | extern void __attribute__((overloadable)) |
| 739 | rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x); |
| 740 | #endif |
| 741 | |
| 742 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 743 | extern void __attribute__((overloadable)) |
| 744 | rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x); |
| 745 | #endif |
| 746 | |
| 747 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 748 | extern void __attribute__((overloadable)) |
| 749 | rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x); |
| 750 | #endif |
| 751 | |
| 752 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 753 | extern void __attribute__((overloadable)) |
| 754 | rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x); |
| 755 | #endif |
| 756 | |
| 757 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 758 | extern void __attribute__((overloadable)) |
| 759 | rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x); |
| 760 | #endif |
| 761 | |
| 762 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 763 | extern void __attribute__((overloadable)) |
| 764 | rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x); |
| 765 | #endif |
| 766 | |
| 767 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 768 | extern void __attribute__((overloadable)) |
| 769 | rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x); |
| 770 | #endif |
| 771 | |
| 772 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 773 | extern void __attribute__((overloadable)) |
| 774 | rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x); |
| 775 | #endif |
| 776 | |
| 777 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 778 | extern void __attribute__((overloadable)) |
| 779 | rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y); |
| 780 | #endif |
| 781 | |
| 782 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 783 | extern void __attribute__((overloadable)) |
| 784 | rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y); |
| 785 | #endif |
| 786 | |
| 787 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 788 | extern void __attribute__((overloadable)) |
| 789 | rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y); |
| 790 | #endif |
| 791 | |
| 792 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 793 | extern void __attribute__((overloadable)) |
| 794 | rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y); |
| 795 | #endif |
| 796 | |
| 797 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 798 | extern void __attribute__((overloadable)) |
| 799 | rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y); |
| 800 | #endif |
| 801 | |
| 802 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 803 | extern void __attribute__((overloadable)) |
| 804 | rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y); |
| 805 | #endif |
| 806 | |
| 807 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 808 | extern void __attribute__((overloadable)) |
| 809 | rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y); |
| 810 | #endif |
| 811 | |
| 812 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 813 | extern void __attribute__((overloadable)) |
| 814 | rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y); |
| 815 | #endif |
| 816 | |
| 817 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 818 | extern void __attribute__((overloadable)) |
| 819 | rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y); |
| 820 | #endif |
| 821 | |
| 822 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 823 | extern void __attribute__((overloadable)) |
| 824 | rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y); |
| 825 | #endif |
| 826 | |
| 827 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 828 | extern void __attribute__((overloadable)) |
| 829 | rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y); |
| 830 | #endif |
| 831 | |
| 832 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 833 | extern void __attribute__((overloadable)) |
| 834 | rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y); |
| 835 | #endif |
| 836 | |
| 837 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 838 | extern void __attribute__((overloadable)) |
| 839 | rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y); |
| 840 | #endif |
| 841 | |
| 842 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 843 | extern void __attribute__((overloadable)) |
| 844 | rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y); |
| 845 | #endif |
| 846 | |
| 847 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 848 | extern void __attribute__((overloadable)) |
| 849 | rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y); |
| 850 | #endif |
| 851 | |
| 852 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 853 | extern void __attribute__((overloadable)) |
| 854 | rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y); |
| 855 | #endif |
| 856 | |
| 857 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 858 | extern void __attribute__((overloadable)) |
| 859 | rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y); |
| 860 | #endif |
| 861 | |
| 862 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 863 | extern void __attribute__((overloadable)) |
| 864 | rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y); |
| 865 | #endif |
| 866 | |
| 867 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 868 | extern void __attribute__((overloadable)) |
| 869 | rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y); |
| 870 | #endif |
| 871 | |
| 872 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 873 | extern void __attribute__((overloadable)) |
| 874 | rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y); |
| 875 | #endif |
| 876 | |
| 877 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 878 | extern void __attribute__((overloadable)) |
| 879 | rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y); |
| 880 | #endif |
| 881 | |
| 882 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 883 | extern void __attribute__((overloadable)) |
| 884 | rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y); |
| 885 | #endif |
| 886 | |
| 887 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 888 | extern void __attribute__((overloadable)) |
| 889 | rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y); |
| 890 | #endif |
| 891 | |
| 892 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 893 | extern void __attribute__((overloadable)) |
| 894 | rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y); |
| 895 | #endif |
| 896 | |
| 897 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 898 | extern void __attribute__((overloadable)) |
| 899 | rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y); |
| 900 | #endif |
| 901 | |
| 902 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 903 | extern void __attribute__((overloadable)) |
| 904 | rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y); |
| 905 | #endif |
| 906 | |
| 907 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 908 | extern void __attribute__((overloadable)) |
| 909 | rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y); |
| 910 | #endif |
| 911 | |
| 912 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 913 | extern void __attribute__((overloadable)) |
| 914 | rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y); |
| 915 | #endif |
| 916 | |
| 917 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 918 | extern void __attribute__((overloadable)) |
| 919 | rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y); |
| 920 | #endif |
| 921 | |
| 922 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 923 | extern void __attribute__((overloadable)) |
| 924 | rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y); |
| 925 | #endif |
| 926 | |
| 927 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 928 | extern void __attribute__((overloadable)) |
| 929 | rsAllocationVStoreX_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y, uint32_t z); |
| 930 | #endif |
| 931 | |
| 932 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 933 | extern void __attribute__((overloadable)) |
| 934 | rsAllocationVStoreX_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y, uint32_t z); |
| 935 | #endif |
| 936 | |
| 937 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 938 | extern void __attribute__((overloadable)) |
| 939 | rsAllocationVStoreX_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y, uint32_t z); |
| 940 | #endif |
| 941 | |
| 942 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 943 | extern void __attribute__((overloadable)) |
| 944 | rsAllocationVStoreX_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y, uint32_t z); |
| 945 | #endif |
| 946 | |
| 947 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 948 | extern void __attribute__((overloadable)) |
| 949 | rsAllocationVStoreX_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y, uint32_t z); |
| 950 | #endif |
| 951 | |
| 952 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 953 | extern void __attribute__((overloadable)) |
| 954 | rsAllocationVStoreX_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y, uint32_t z); |
| 955 | #endif |
| 956 | |
| 957 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 958 | extern void __attribute__((overloadable)) |
| 959 | rsAllocationVStoreX_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y, uint32_t z); |
| 960 | #endif |
| 961 | |
| 962 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 963 | extern void __attribute__((overloadable)) |
| 964 | rsAllocationVStoreX_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y, uint32_t z); |
| 965 | #endif |
| 966 | |
| 967 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 968 | extern void __attribute__((overloadable)) |
| 969 | rsAllocationVStoreX_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y, uint32_t z); |
| 970 | #endif |
| 971 | |
| 972 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 973 | extern void __attribute__((overloadable)) |
| 974 | rsAllocationVStoreX_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y, uint32_t z); |
| 975 | #endif |
| 976 | |
| 977 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 978 | extern void __attribute__((overloadable)) |
| 979 | rsAllocationVStoreX_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y, uint32_t z); |
| 980 | #endif |
| 981 | |
| 982 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 983 | extern void __attribute__((overloadable)) |
| 984 | rsAllocationVStoreX_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y, uint32_t z); |
| 985 | #endif |
| 986 | |
| 987 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 988 | extern void __attribute__((overloadable)) |
| 989 | rsAllocationVStoreX_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y, uint32_t z); |
| 990 | #endif |
| 991 | |
| 992 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 993 | extern void __attribute__((overloadable)) |
| 994 | rsAllocationVStoreX_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y, uint32_t z); |
| 995 | #endif |
| 996 | |
| 997 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 998 | extern void __attribute__((overloadable)) |
| 999 | rsAllocationVStoreX_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1000 | #endif |
| 1001 | |
| 1002 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1003 | extern void __attribute__((overloadable)) |
| 1004 | rsAllocationVStoreX_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y, uint32_t z); |
| 1005 | #endif |
| 1006 | |
| 1007 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1008 | extern void __attribute__((overloadable)) |
| 1009 | rsAllocationVStoreX_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y, uint32_t z); |
| 1010 | #endif |
| 1011 | |
| 1012 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1013 | extern void __attribute__((overloadable)) |
| 1014 | rsAllocationVStoreX_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1015 | #endif |
| 1016 | |
| 1017 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1018 | extern void __attribute__((overloadable)) |
| 1019 | rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y, uint32_t z); |
| 1020 | #endif |
| 1021 | |
| 1022 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1023 | extern void __attribute__((overloadable)) |
| 1024 | rsAllocationVStoreX_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y, uint32_t z); |
| 1025 | #endif |
| 1026 | |
| 1027 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1028 | extern void __attribute__((overloadable)) |
| 1029 | rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1030 | #endif |
| 1031 | |
| 1032 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1033 | extern void __attribute__((overloadable)) |
| 1034 | rsAllocationVStoreX_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y, uint32_t z); |
| 1035 | #endif |
| 1036 | |
| 1037 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1038 | extern void __attribute__((overloadable)) |
| 1039 | rsAllocationVStoreX_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y, uint32_t z); |
| 1040 | #endif |
| 1041 | |
| 1042 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1043 | extern void __attribute__((overloadable)) |
| 1044 | rsAllocationVStoreX_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1045 | #endif |
| 1046 | |
| 1047 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1048 | extern void __attribute__((overloadable)) |
| 1049 | rsAllocationVStoreX_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y, uint32_t z); |
| 1050 | #endif |
| 1051 | |
| 1052 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1053 | extern void __attribute__((overloadable)) |
| 1054 | rsAllocationVStoreX_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y, uint32_t z); |
| 1055 | #endif |
| 1056 | |
| 1057 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1058 | extern void __attribute__((overloadable)) |
| 1059 | rsAllocationVStoreX_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1060 | #endif |
| 1061 | |
| 1062 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1063 | extern void __attribute__((overloadable)) |
| 1064 | rsAllocationVStoreX_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y, uint32_t z); |
| 1065 | #endif |
| 1066 | |
| 1067 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1068 | extern void __attribute__((overloadable)) |
| 1069 | rsAllocationVStoreX_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y, uint32_t z); |
| 1070 | #endif |
| 1071 | |
| 1072 | #if (defined(RS_VERSION) && (RS_VERSION >= 22)) |
| 1073 | extern void __attribute__((overloadable)) |
| 1074 | rsAllocationVStoreX_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y, uint32_t z); |
| 1075 | #endif |
| 1076 | |
| 1077 | /* |
| 1078 | * rsGetAllocation: Returns the Allocation for a given pointer |
| 1079 | * |
| 1080 | * Returns the Allocation for a given pointer. The pointer should point within |
| 1081 | * a valid allocation. The results are undefined if the pointer is not from a |
| 1082 | * valid allocation. |
| 1083 | * |
| 1084 | * This function is deprecated and will be removed from the SDK in a future |
| 1085 | * release. |
| 1086 | */ |
| 1087 | extern rs_allocation __attribute__((overloadable)) |
| 1088 | rsGetAllocation(const void* p); |
| 1089 | |
| 1090 | /* |
| 1091 | * rsGetElementAt: Get an element |
| 1092 | * |
| 1093 | * Extract a single element from an allocation. |
| 1094 | */ |
| 1095 | extern const void* __attribute__((overloadable)) |
| 1096 | rsGetElementAt(rs_allocation a, uint32_t x); |
| 1097 | |
| 1098 | extern const void* __attribute__((overloadable)) |
| 1099 | rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y); |
| 1100 | |
| 1101 | extern const void* __attribute__((overloadable)) |
| 1102 | rsGetElementAt(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 1103 | |
| 1104 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1105 | static inline float __attribute__((overloadable)) |
| 1106 | rsGetElementAt_float(rs_allocation a, uint32_t x) { |
| 1107 | return ((float *)rsGetElementAt(a, x))[0]; |
| 1108 | } |
| 1109 | #endif |
| 1110 | |
| 1111 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1112 | static inline float2 __attribute__((overloadable)) |
| 1113 | rsGetElementAt_float2(rs_allocation a, uint32_t x) { |
| 1114 | return ((float2 *)rsGetElementAt(a, x))[0]; |
| 1115 | } |
| 1116 | #endif |
| 1117 | |
| 1118 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1119 | static inline float3 __attribute__((overloadable)) |
| 1120 | rsGetElementAt_float3(rs_allocation a, uint32_t x) { |
| 1121 | return ((float3 *)rsGetElementAt(a, x))[0]; |
| 1122 | } |
| 1123 | #endif |
| 1124 | |
| 1125 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1126 | static inline float4 __attribute__((overloadable)) |
| 1127 | rsGetElementAt_float4(rs_allocation a, uint32_t x) { |
| 1128 | return ((float4 *)rsGetElementAt(a, x))[0]; |
| 1129 | } |
| 1130 | #endif |
| 1131 | |
| 1132 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1133 | static inline double __attribute__((overloadable)) |
| 1134 | rsGetElementAt_double(rs_allocation a, uint32_t x) { |
| 1135 | return ((double *)rsGetElementAt(a, x))[0]; |
| 1136 | } |
| 1137 | #endif |
| 1138 | |
| 1139 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1140 | static inline double2 __attribute__((overloadable)) |
| 1141 | rsGetElementAt_double2(rs_allocation a, uint32_t x) { |
| 1142 | return ((double2 *)rsGetElementAt(a, x))[0]; |
| 1143 | } |
| 1144 | #endif |
| 1145 | |
| 1146 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1147 | static inline double3 __attribute__((overloadable)) |
| 1148 | rsGetElementAt_double3(rs_allocation a, uint32_t x) { |
| 1149 | return ((double3 *)rsGetElementAt(a, x))[0]; |
| 1150 | } |
| 1151 | #endif |
| 1152 | |
| 1153 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1154 | static inline double4 __attribute__((overloadable)) |
| 1155 | rsGetElementAt_double4(rs_allocation a, uint32_t x) { |
| 1156 | return ((double4 *)rsGetElementAt(a, x))[0]; |
| 1157 | } |
| 1158 | #endif |
| 1159 | |
| 1160 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1161 | static inline char __attribute__((overloadable)) |
| 1162 | rsGetElementAt_char(rs_allocation a, uint32_t x) { |
| 1163 | return ((char *)rsGetElementAt(a, x))[0]; |
| 1164 | } |
| 1165 | #endif |
| 1166 | |
| 1167 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1168 | static inline char2 __attribute__((overloadable)) |
| 1169 | rsGetElementAt_char2(rs_allocation a, uint32_t x) { |
| 1170 | return ((char2 *)rsGetElementAt(a, x))[0]; |
| 1171 | } |
| 1172 | #endif |
| 1173 | |
| 1174 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1175 | static inline char3 __attribute__((overloadable)) |
| 1176 | rsGetElementAt_char3(rs_allocation a, uint32_t x) { |
| 1177 | return ((char3 *)rsGetElementAt(a, x))[0]; |
| 1178 | } |
| 1179 | #endif |
| 1180 | |
| 1181 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1182 | static inline char4 __attribute__((overloadable)) |
| 1183 | rsGetElementAt_char4(rs_allocation a, uint32_t x) { |
| 1184 | return ((char4 *)rsGetElementAt(a, x))[0]; |
| 1185 | } |
| 1186 | #endif |
| 1187 | |
| 1188 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1189 | static inline uchar __attribute__((overloadable)) |
| 1190 | rsGetElementAt_uchar(rs_allocation a, uint32_t x) { |
| 1191 | return ((uchar *)rsGetElementAt(a, x))[0]; |
| 1192 | } |
| 1193 | #endif |
| 1194 | |
| 1195 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1196 | static inline uchar2 __attribute__((overloadable)) |
| 1197 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x) { |
| 1198 | return ((uchar2 *)rsGetElementAt(a, x))[0]; |
| 1199 | } |
| 1200 | #endif |
| 1201 | |
| 1202 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1203 | static inline uchar3 __attribute__((overloadable)) |
| 1204 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x) { |
| 1205 | return ((uchar3 *)rsGetElementAt(a, x))[0]; |
| 1206 | } |
| 1207 | #endif |
| 1208 | |
| 1209 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1210 | static inline uchar4 __attribute__((overloadable)) |
| 1211 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x) { |
| 1212 | return ((uchar4 *)rsGetElementAt(a, x))[0]; |
| 1213 | } |
| 1214 | #endif |
| 1215 | |
| 1216 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1217 | static inline short __attribute__((overloadable)) |
| 1218 | rsGetElementAt_short(rs_allocation a, uint32_t x) { |
| 1219 | return ((short *)rsGetElementAt(a, x))[0]; |
| 1220 | } |
| 1221 | #endif |
| 1222 | |
| 1223 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1224 | static inline short2 __attribute__((overloadable)) |
| 1225 | rsGetElementAt_short2(rs_allocation a, uint32_t x) { |
| 1226 | return ((short2 *)rsGetElementAt(a, x))[0]; |
| 1227 | } |
| 1228 | #endif |
| 1229 | |
| 1230 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1231 | static inline short3 __attribute__((overloadable)) |
| 1232 | rsGetElementAt_short3(rs_allocation a, uint32_t x) { |
| 1233 | return ((short3 *)rsGetElementAt(a, x))[0]; |
| 1234 | } |
| 1235 | #endif |
| 1236 | |
| 1237 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1238 | static inline short4 __attribute__((overloadable)) |
| 1239 | rsGetElementAt_short4(rs_allocation a, uint32_t x) { |
| 1240 | return ((short4 *)rsGetElementAt(a, x))[0]; |
| 1241 | } |
| 1242 | #endif |
| 1243 | |
| 1244 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1245 | static inline ushort __attribute__((overloadable)) |
| 1246 | rsGetElementAt_ushort(rs_allocation a, uint32_t x) { |
| 1247 | return ((ushort *)rsGetElementAt(a, x))[0]; |
| 1248 | } |
| 1249 | #endif |
| 1250 | |
| 1251 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1252 | static inline ushort2 __attribute__((overloadable)) |
| 1253 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x) { |
| 1254 | return ((ushort2 *)rsGetElementAt(a, x))[0]; |
| 1255 | } |
| 1256 | #endif |
| 1257 | |
| 1258 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1259 | static inline ushort3 __attribute__((overloadable)) |
| 1260 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x) { |
| 1261 | return ((ushort3 *)rsGetElementAt(a, x))[0]; |
| 1262 | } |
| 1263 | #endif |
| 1264 | |
| 1265 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1266 | static inline ushort4 __attribute__((overloadable)) |
| 1267 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x) { |
| 1268 | return ((ushort4 *)rsGetElementAt(a, x))[0]; |
| 1269 | } |
| 1270 | #endif |
| 1271 | |
| 1272 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1273 | static inline int __attribute__((overloadable)) |
| 1274 | rsGetElementAt_int(rs_allocation a, uint32_t x) { |
| 1275 | return ((int *)rsGetElementAt(a, x))[0]; |
| 1276 | } |
| 1277 | #endif |
| 1278 | |
| 1279 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1280 | static inline int2 __attribute__((overloadable)) |
| 1281 | rsGetElementAt_int2(rs_allocation a, uint32_t x) { |
| 1282 | return ((int2 *)rsGetElementAt(a, x))[0]; |
| 1283 | } |
| 1284 | #endif |
| 1285 | |
| 1286 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1287 | static inline int3 __attribute__((overloadable)) |
| 1288 | rsGetElementAt_int3(rs_allocation a, uint32_t x) { |
| 1289 | return ((int3 *)rsGetElementAt(a, x))[0]; |
| 1290 | } |
| 1291 | #endif |
| 1292 | |
| 1293 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1294 | static inline int4 __attribute__((overloadable)) |
| 1295 | rsGetElementAt_int4(rs_allocation a, uint32_t x) { |
| 1296 | return ((int4 *)rsGetElementAt(a, x))[0]; |
| 1297 | } |
| 1298 | #endif |
| 1299 | |
| 1300 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1301 | static inline uint __attribute__((overloadable)) |
| 1302 | rsGetElementAt_uint(rs_allocation a, uint32_t x) { |
| 1303 | return ((uint *)rsGetElementAt(a, x))[0]; |
| 1304 | } |
| 1305 | #endif |
| 1306 | |
| 1307 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1308 | static inline uint2 __attribute__((overloadable)) |
| 1309 | rsGetElementAt_uint2(rs_allocation a, uint32_t x) { |
| 1310 | return ((uint2 *)rsGetElementAt(a, x))[0]; |
| 1311 | } |
| 1312 | #endif |
| 1313 | |
| 1314 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1315 | static inline uint3 __attribute__((overloadable)) |
| 1316 | rsGetElementAt_uint3(rs_allocation a, uint32_t x) { |
| 1317 | return ((uint3 *)rsGetElementAt(a, x))[0]; |
| 1318 | } |
| 1319 | #endif |
| 1320 | |
| 1321 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1322 | static inline uint4 __attribute__((overloadable)) |
| 1323 | rsGetElementAt_uint4(rs_allocation a, uint32_t x) { |
| 1324 | return ((uint4 *)rsGetElementAt(a, x))[0]; |
| 1325 | } |
| 1326 | #endif |
| 1327 | |
| 1328 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1329 | static inline long __attribute__((overloadable)) |
| 1330 | rsGetElementAt_long(rs_allocation a, uint32_t x) { |
| 1331 | return ((long *)rsGetElementAt(a, x))[0]; |
| 1332 | } |
| 1333 | #endif |
| 1334 | |
| 1335 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1336 | static inline long2 __attribute__((overloadable)) |
| 1337 | rsGetElementAt_long2(rs_allocation a, uint32_t x) { |
| 1338 | return ((long2 *)rsGetElementAt(a, x))[0]; |
| 1339 | } |
| 1340 | #endif |
| 1341 | |
| 1342 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1343 | static inline long3 __attribute__((overloadable)) |
| 1344 | rsGetElementAt_long3(rs_allocation a, uint32_t x) { |
| 1345 | return ((long3 *)rsGetElementAt(a, x))[0]; |
| 1346 | } |
| 1347 | #endif |
| 1348 | |
| 1349 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1350 | static inline long4 __attribute__((overloadable)) |
| 1351 | rsGetElementAt_long4(rs_allocation a, uint32_t x) { |
| 1352 | return ((long4 *)rsGetElementAt(a, x))[0]; |
| 1353 | } |
| 1354 | #endif |
| 1355 | |
| 1356 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1357 | static inline ulong __attribute__((overloadable)) |
| 1358 | rsGetElementAt_ulong(rs_allocation a, uint32_t x) { |
| 1359 | return ((ulong *)rsGetElementAt(a, x))[0]; |
| 1360 | } |
| 1361 | #endif |
| 1362 | |
| 1363 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1364 | static inline ulong2 __attribute__((overloadable)) |
| 1365 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x) { |
| 1366 | return ((ulong2 *)rsGetElementAt(a, x))[0]; |
| 1367 | } |
| 1368 | #endif |
| 1369 | |
| 1370 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1371 | static inline ulong3 __attribute__((overloadable)) |
| 1372 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x) { |
| 1373 | return ((ulong3 *)rsGetElementAt(a, x))[0]; |
| 1374 | } |
| 1375 | #endif |
| 1376 | |
| 1377 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1378 | static inline ulong4 __attribute__((overloadable)) |
| 1379 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x) { |
| 1380 | return ((ulong4 *)rsGetElementAt(a, x))[0]; |
| 1381 | } |
| 1382 | #endif |
| 1383 | |
| 1384 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1385 | static inline float __attribute__((overloadable)) |
| 1386 | rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y) { |
| 1387 | return ((float *)rsGetElementAt(a, x, y))[0]; |
| 1388 | } |
| 1389 | #endif |
| 1390 | |
| 1391 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1392 | static inline float2 __attribute__((overloadable)) |
| 1393 | rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1394 | return ((float2 *)rsGetElementAt(a, x, y))[0]; |
| 1395 | } |
| 1396 | #endif |
| 1397 | |
| 1398 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1399 | static inline float3 __attribute__((overloadable)) |
| 1400 | rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1401 | return ((float3 *)rsGetElementAt(a, x, y))[0]; |
| 1402 | } |
| 1403 | #endif |
| 1404 | |
| 1405 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1406 | static inline float4 __attribute__((overloadable)) |
| 1407 | rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1408 | return ((float4 *)rsGetElementAt(a, x, y))[0]; |
| 1409 | } |
| 1410 | #endif |
| 1411 | |
| 1412 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1413 | static inline double __attribute__((overloadable)) |
| 1414 | rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y) { |
| 1415 | return ((double *)rsGetElementAt(a, x, y))[0]; |
| 1416 | } |
| 1417 | #endif |
| 1418 | |
| 1419 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1420 | static inline double2 __attribute__((overloadable)) |
| 1421 | rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1422 | return ((double2 *)rsGetElementAt(a, x, y))[0]; |
| 1423 | } |
| 1424 | #endif |
| 1425 | |
| 1426 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1427 | static inline double3 __attribute__((overloadable)) |
| 1428 | rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1429 | return ((double3 *)rsGetElementAt(a, x, y))[0]; |
| 1430 | } |
| 1431 | #endif |
| 1432 | |
| 1433 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1434 | static inline double4 __attribute__((overloadable)) |
| 1435 | rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1436 | return ((double4 *)rsGetElementAt(a, x, y))[0]; |
| 1437 | } |
| 1438 | #endif |
| 1439 | |
| 1440 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1441 | static inline char __attribute__((overloadable)) |
| 1442 | rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y) { |
| 1443 | return ((char *)rsGetElementAt(a, x, y))[0]; |
| 1444 | } |
| 1445 | #endif |
| 1446 | |
| 1447 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1448 | static inline char2 __attribute__((overloadable)) |
| 1449 | rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1450 | return ((char2 *)rsGetElementAt(a, x, y))[0]; |
| 1451 | } |
| 1452 | #endif |
| 1453 | |
| 1454 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1455 | static inline char3 __attribute__((overloadable)) |
| 1456 | rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1457 | return ((char3 *)rsGetElementAt(a, x, y))[0]; |
| 1458 | } |
| 1459 | #endif |
| 1460 | |
| 1461 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1462 | static inline char4 __attribute__((overloadable)) |
| 1463 | rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1464 | return ((char4 *)rsGetElementAt(a, x, y))[0]; |
| 1465 | } |
| 1466 | #endif |
| 1467 | |
| 1468 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1469 | static inline uchar __attribute__((overloadable)) |
| 1470 | rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y) { |
| 1471 | return ((uchar *)rsGetElementAt(a, x, y))[0]; |
| 1472 | } |
| 1473 | #endif |
| 1474 | |
| 1475 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1476 | static inline uchar2 __attribute__((overloadable)) |
| 1477 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1478 | return ((uchar2 *)rsGetElementAt(a, x, y))[0]; |
| 1479 | } |
| 1480 | #endif |
| 1481 | |
| 1482 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1483 | static inline uchar3 __attribute__((overloadable)) |
| 1484 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1485 | return ((uchar3 *)rsGetElementAt(a, x, y))[0]; |
| 1486 | } |
| 1487 | #endif |
| 1488 | |
| 1489 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1490 | static inline uchar4 __attribute__((overloadable)) |
| 1491 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1492 | return ((uchar4 *)rsGetElementAt(a, x, y))[0]; |
| 1493 | } |
| 1494 | #endif |
| 1495 | |
| 1496 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1497 | static inline short __attribute__((overloadable)) |
| 1498 | rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y) { |
| 1499 | return ((short *)rsGetElementAt(a, x, y))[0]; |
| 1500 | } |
| 1501 | #endif |
| 1502 | |
| 1503 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1504 | static inline short2 __attribute__((overloadable)) |
| 1505 | rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1506 | return ((short2 *)rsGetElementAt(a, x, y))[0]; |
| 1507 | } |
| 1508 | #endif |
| 1509 | |
| 1510 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1511 | static inline short3 __attribute__((overloadable)) |
| 1512 | rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1513 | return ((short3 *)rsGetElementAt(a, x, y))[0]; |
| 1514 | } |
| 1515 | #endif |
| 1516 | |
| 1517 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1518 | static inline short4 __attribute__((overloadable)) |
| 1519 | rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1520 | return ((short4 *)rsGetElementAt(a, x, y))[0]; |
| 1521 | } |
| 1522 | #endif |
| 1523 | |
| 1524 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1525 | static inline ushort __attribute__((overloadable)) |
| 1526 | rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y) { |
| 1527 | return ((ushort *)rsGetElementAt(a, x, y))[0]; |
| 1528 | } |
| 1529 | #endif |
| 1530 | |
| 1531 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1532 | static inline ushort2 __attribute__((overloadable)) |
| 1533 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1534 | return ((ushort2 *)rsGetElementAt(a, x, y))[0]; |
| 1535 | } |
| 1536 | #endif |
| 1537 | |
| 1538 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1539 | static inline ushort3 __attribute__((overloadable)) |
| 1540 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1541 | return ((ushort3 *)rsGetElementAt(a, x, y))[0]; |
| 1542 | } |
| 1543 | #endif |
| 1544 | |
| 1545 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1546 | static inline ushort4 __attribute__((overloadable)) |
| 1547 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1548 | return ((ushort4 *)rsGetElementAt(a, x, y))[0]; |
| 1549 | } |
| 1550 | #endif |
| 1551 | |
| 1552 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1553 | static inline int __attribute__((overloadable)) |
| 1554 | rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y) { |
| 1555 | return ((int *)rsGetElementAt(a, x, y))[0]; |
| 1556 | } |
| 1557 | #endif |
| 1558 | |
| 1559 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1560 | static inline int2 __attribute__((overloadable)) |
| 1561 | rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1562 | return ((int2 *)rsGetElementAt(a, x, y))[0]; |
| 1563 | } |
| 1564 | #endif |
| 1565 | |
| 1566 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1567 | static inline int3 __attribute__((overloadable)) |
| 1568 | rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1569 | return ((int3 *)rsGetElementAt(a, x, y))[0]; |
| 1570 | } |
| 1571 | #endif |
| 1572 | |
| 1573 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1574 | static inline int4 __attribute__((overloadable)) |
| 1575 | rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1576 | return ((int4 *)rsGetElementAt(a, x, y))[0]; |
| 1577 | } |
| 1578 | #endif |
| 1579 | |
| 1580 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1581 | static inline uint __attribute__((overloadable)) |
| 1582 | rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y) { |
| 1583 | return ((uint *)rsGetElementAt(a, x, y))[0]; |
| 1584 | } |
| 1585 | #endif |
| 1586 | |
| 1587 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1588 | static inline uint2 __attribute__((overloadable)) |
| 1589 | rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1590 | return ((uint2 *)rsGetElementAt(a, x, y))[0]; |
| 1591 | } |
| 1592 | #endif |
| 1593 | |
| 1594 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1595 | static inline uint3 __attribute__((overloadable)) |
| 1596 | rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1597 | return ((uint3 *)rsGetElementAt(a, x, y))[0]; |
| 1598 | } |
| 1599 | #endif |
| 1600 | |
| 1601 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1602 | static inline uint4 __attribute__((overloadable)) |
| 1603 | rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1604 | return ((uint4 *)rsGetElementAt(a, x, y))[0]; |
| 1605 | } |
| 1606 | #endif |
| 1607 | |
| 1608 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1609 | static inline long __attribute__((overloadable)) |
| 1610 | rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y) { |
| 1611 | return ((long *)rsGetElementAt(a, x, y))[0]; |
| 1612 | } |
| 1613 | #endif |
| 1614 | |
| 1615 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1616 | static inline long2 __attribute__((overloadable)) |
| 1617 | rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1618 | return ((long2 *)rsGetElementAt(a, x, y))[0]; |
| 1619 | } |
| 1620 | #endif |
| 1621 | |
| 1622 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1623 | static inline long3 __attribute__((overloadable)) |
| 1624 | rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1625 | return ((long3 *)rsGetElementAt(a, x, y))[0]; |
| 1626 | } |
| 1627 | #endif |
| 1628 | |
| 1629 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1630 | static inline long4 __attribute__((overloadable)) |
| 1631 | rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1632 | return ((long4 *)rsGetElementAt(a, x, y))[0]; |
| 1633 | } |
| 1634 | #endif |
| 1635 | |
| 1636 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1637 | static inline ulong __attribute__((overloadable)) |
| 1638 | rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y) { |
| 1639 | return ((ulong *)rsGetElementAt(a, x, y))[0]; |
| 1640 | } |
| 1641 | #endif |
| 1642 | |
| 1643 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1644 | static inline ulong2 __attribute__((overloadable)) |
| 1645 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y) { |
| 1646 | return ((ulong2 *)rsGetElementAt(a, x, y))[0]; |
| 1647 | } |
| 1648 | #endif |
| 1649 | |
| 1650 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1651 | static inline ulong3 __attribute__((overloadable)) |
| 1652 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y) { |
| 1653 | return ((ulong3 *)rsGetElementAt(a, x, y))[0]; |
| 1654 | } |
| 1655 | #endif |
| 1656 | |
| 1657 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1658 | static inline ulong4 __attribute__((overloadable)) |
| 1659 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y) { |
| 1660 | return ((ulong4 *)rsGetElementAt(a, x, y))[0]; |
| 1661 | } |
| 1662 | #endif |
| 1663 | |
| 1664 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1665 | static inline float __attribute__((overloadable)) |
| 1666 | rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1667 | return ((float *)rsGetElementAt(a, x, y, z))[0]; |
| 1668 | } |
| 1669 | #endif |
| 1670 | |
| 1671 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1672 | static inline float2 __attribute__((overloadable)) |
| 1673 | rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1674 | return ((float2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1675 | } |
| 1676 | #endif |
| 1677 | |
| 1678 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1679 | static inline float3 __attribute__((overloadable)) |
| 1680 | rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1681 | return ((float3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1682 | } |
| 1683 | #endif |
| 1684 | |
| 1685 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1686 | static inline float4 __attribute__((overloadable)) |
| 1687 | rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1688 | return ((float4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1689 | } |
| 1690 | #endif |
| 1691 | |
| 1692 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1693 | static inline double __attribute__((overloadable)) |
| 1694 | rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1695 | return ((double *)rsGetElementAt(a, x, y, z))[0]; |
| 1696 | } |
| 1697 | #endif |
| 1698 | |
| 1699 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1700 | static inline double2 __attribute__((overloadable)) |
| 1701 | rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1702 | return ((double2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1703 | } |
| 1704 | #endif |
| 1705 | |
| 1706 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1707 | static inline double3 __attribute__((overloadable)) |
| 1708 | rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1709 | return ((double3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1710 | } |
| 1711 | #endif |
| 1712 | |
| 1713 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1714 | static inline double4 __attribute__((overloadable)) |
| 1715 | rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1716 | return ((double4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1717 | } |
| 1718 | #endif |
| 1719 | |
| 1720 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1721 | static inline char __attribute__((overloadable)) |
| 1722 | rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1723 | return ((char *)rsGetElementAt(a, x, y, z))[0]; |
| 1724 | } |
| 1725 | #endif |
| 1726 | |
| 1727 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1728 | static inline char2 __attribute__((overloadable)) |
| 1729 | rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1730 | return ((char2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1731 | } |
| 1732 | #endif |
| 1733 | |
| 1734 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1735 | static inline char3 __attribute__((overloadable)) |
| 1736 | rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1737 | return ((char3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1738 | } |
| 1739 | #endif |
| 1740 | |
| 1741 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1742 | static inline char4 __attribute__((overloadable)) |
| 1743 | rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1744 | return ((char4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1745 | } |
| 1746 | #endif |
| 1747 | |
| 1748 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1749 | static inline uchar __attribute__((overloadable)) |
| 1750 | rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1751 | return ((uchar *)rsGetElementAt(a, x, y, z))[0]; |
| 1752 | } |
| 1753 | #endif |
| 1754 | |
| 1755 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1756 | static inline uchar2 __attribute__((overloadable)) |
| 1757 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1758 | return ((uchar2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1759 | } |
| 1760 | #endif |
| 1761 | |
| 1762 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1763 | static inline uchar3 __attribute__((overloadable)) |
| 1764 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1765 | return ((uchar3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1766 | } |
| 1767 | #endif |
| 1768 | |
| 1769 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1770 | static inline uchar4 __attribute__((overloadable)) |
| 1771 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1772 | return ((uchar4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1773 | } |
| 1774 | #endif |
| 1775 | |
| 1776 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1777 | static inline short __attribute__((overloadable)) |
| 1778 | rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1779 | return ((short *)rsGetElementAt(a, x, y, z))[0]; |
| 1780 | } |
| 1781 | #endif |
| 1782 | |
| 1783 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1784 | static inline short2 __attribute__((overloadable)) |
| 1785 | rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1786 | return ((short2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1787 | } |
| 1788 | #endif |
| 1789 | |
| 1790 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1791 | static inline short3 __attribute__((overloadable)) |
| 1792 | rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1793 | return ((short3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1794 | } |
| 1795 | #endif |
| 1796 | |
| 1797 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1798 | static inline short4 __attribute__((overloadable)) |
| 1799 | rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1800 | return ((short4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1801 | } |
| 1802 | #endif |
| 1803 | |
| 1804 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1805 | static inline ushort __attribute__((overloadable)) |
| 1806 | rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1807 | return ((ushort *)rsGetElementAt(a, x, y, z))[0]; |
| 1808 | } |
| 1809 | #endif |
| 1810 | |
| 1811 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1812 | static inline ushort2 __attribute__((overloadable)) |
| 1813 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1814 | return ((ushort2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1815 | } |
| 1816 | #endif |
| 1817 | |
| 1818 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1819 | static inline ushort3 __attribute__((overloadable)) |
| 1820 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1821 | return ((ushort3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1822 | } |
| 1823 | #endif |
| 1824 | |
| 1825 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1826 | static inline ushort4 __attribute__((overloadable)) |
| 1827 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1828 | return ((ushort4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1829 | } |
| 1830 | #endif |
| 1831 | |
| 1832 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1833 | static inline int __attribute__((overloadable)) |
| 1834 | rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1835 | return ((int *)rsGetElementAt(a, x, y, z))[0]; |
| 1836 | } |
| 1837 | #endif |
| 1838 | |
| 1839 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1840 | static inline int2 __attribute__((overloadable)) |
| 1841 | rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1842 | return ((int2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1843 | } |
| 1844 | #endif |
| 1845 | |
| 1846 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1847 | static inline int3 __attribute__((overloadable)) |
| 1848 | rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1849 | return ((int3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1850 | } |
| 1851 | #endif |
| 1852 | |
| 1853 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1854 | static inline int4 __attribute__((overloadable)) |
| 1855 | rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1856 | return ((int4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1857 | } |
| 1858 | #endif |
| 1859 | |
| 1860 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1861 | static inline uint __attribute__((overloadable)) |
| 1862 | rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1863 | return ((uint *)rsGetElementAt(a, x, y, z))[0]; |
| 1864 | } |
| 1865 | #endif |
| 1866 | |
| 1867 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1868 | static inline uint2 __attribute__((overloadable)) |
| 1869 | rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1870 | return ((uint2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1871 | } |
| 1872 | #endif |
| 1873 | |
| 1874 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1875 | static inline uint3 __attribute__((overloadable)) |
| 1876 | rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1877 | return ((uint3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1878 | } |
| 1879 | #endif |
| 1880 | |
| 1881 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1882 | static inline uint4 __attribute__((overloadable)) |
| 1883 | rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1884 | return ((uint4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1885 | } |
| 1886 | #endif |
| 1887 | |
| 1888 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1889 | static inline long __attribute__((overloadable)) |
| 1890 | rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1891 | return ((long *)rsGetElementAt(a, x, y, z))[0]; |
| 1892 | } |
| 1893 | #endif |
| 1894 | |
| 1895 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1896 | static inline long2 __attribute__((overloadable)) |
| 1897 | rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1898 | return ((long2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1899 | } |
| 1900 | #endif |
| 1901 | |
| 1902 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1903 | static inline long3 __attribute__((overloadable)) |
| 1904 | rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1905 | return ((long3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1906 | } |
| 1907 | #endif |
| 1908 | |
| 1909 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1910 | static inline long4 __attribute__((overloadable)) |
| 1911 | rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1912 | return ((long4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1913 | } |
| 1914 | #endif |
| 1915 | |
| 1916 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1917 | static inline ulong __attribute__((overloadable)) |
| 1918 | rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1919 | return ((ulong *)rsGetElementAt(a, x, y, z))[0]; |
| 1920 | } |
| 1921 | #endif |
| 1922 | |
| 1923 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1924 | static inline ulong2 __attribute__((overloadable)) |
| 1925 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1926 | return ((ulong2 *)rsGetElementAt(a, x, y, z))[0]; |
| 1927 | } |
| 1928 | #endif |
| 1929 | |
| 1930 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1931 | static inline ulong3 __attribute__((overloadable)) |
| 1932 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1933 | return ((ulong3 *)rsGetElementAt(a, x, y, z))[0]; |
| 1934 | } |
| 1935 | #endif |
| 1936 | |
| 1937 | #if !defined(RS_VERSION) || (RS_VERSION <= 17) |
| 1938 | static inline ulong4 __attribute__((overloadable)) |
| 1939 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z) { |
| 1940 | return ((ulong4 *)rsGetElementAt(a, x, y, z))[0]; |
| 1941 | } |
| 1942 | #endif |
| 1943 | |
| 1944 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1945 | extern float __attribute__((overloadable)) |
| 1946 | rsGetElementAt_float(rs_allocation a, uint32_t x); |
| 1947 | #endif |
| 1948 | |
| 1949 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1950 | extern float2 __attribute__((overloadable)) |
| 1951 | rsGetElementAt_float2(rs_allocation a, uint32_t x); |
| 1952 | #endif |
| 1953 | |
| 1954 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1955 | extern float3 __attribute__((overloadable)) |
| 1956 | rsGetElementAt_float3(rs_allocation a, uint32_t x); |
| 1957 | #endif |
| 1958 | |
| 1959 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1960 | extern float4 __attribute__((overloadable)) |
| 1961 | rsGetElementAt_float4(rs_allocation a, uint32_t x); |
| 1962 | #endif |
| 1963 | |
| 1964 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1965 | extern double __attribute__((overloadable)) |
| 1966 | rsGetElementAt_double(rs_allocation a, uint32_t x); |
| 1967 | #endif |
| 1968 | |
| 1969 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1970 | extern double2 __attribute__((overloadable)) |
| 1971 | rsGetElementAt_double2(rs_allocation a, uint32_t x); |
| 1972 | #endif |
| 1973 | |
| 1974 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1975 | extern double3 __attribute__((overloadable)) |
| 1976 | rsGetElementAt_double3(rs_allocation a, uint32_t x); |
| 1977 | #endif |
| 1978 | |
| 1979 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1980 | extern double4 __attribute__((overloadable)) |
| 1981 | rsGetElementAt_double4(rs_allocation a, uint32_t x); |
| 1982 | #endif |
| 1983 | |
| 1984 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1985 | extern char __attribute__((overloadable)) |
| 1986 | rsGetElementAt_char(rs_allocation a, uint32_t x); |
| 1987 | #endif |
| 1988 | |
| 1989 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1990 | extern char2 __attribute__((overloadable)) |
| 1991 | rsGetElementAt_char2(rs_allocation a, uint32_t x); |
| 1992 | #endif |
| 1993 | |
| 1994 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 1995 | extern char3 __attribute__((overloadable)) |
| 1996 | rsGetElementAt_char3(rs_allocation a, uint32_t x); |
| 1997 | #endif |
| 1998 | |
| 1999 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2000 | extern char4 __attribute__((overloadable)) |
| 2001 | rsGetElementAt_char4(rs_allocation a, uint32_t x); |
| 2002 | #endif |
| 2003 | |
| 2004 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2005 | extern uchar __attribute__((overloadable)) |
| 2006 | rsGetElementAt_uchar(rs_allocation a, uint32_t x); |
| 2007 | #endif |
| 2008 | |
| 2009 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2010 | extern uchar2 __attribute__((overloadable)) |
| 2011 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x); |
| 2012 | #endif |
| 2013 | |
| 2014 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2015 | extern uchar3 __attribute__((overloadable)) |
| 2016 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x); |
| 2017 | #endif |
| 2018 | |
| 2019 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2020 | extern uchar4 __attribute__((overloadable)) |
| 2021 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x); |
| 2022 | #endif |
| 2023 | |
| 2024 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2025 | extern short __attribute__((overloadable)) |
| 2026 | rsGetElementAt_short(rs_allocation a, uint32_t x); |
| 2027 | #endif |
| 2028 | |
| 2029 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2030 | extern short2 __attribute__((overloadable)) |
| 2031 | rsGetElementAt_short2(rs_allocation a, uint32_t x); |
| 2032 | #endif |
| 2033 | |
| 2034 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2035 | extern short3 __attribute__((overloadable)) |
| 2036 | rsGetElementAt_short3(rs_allocation a, uint32_t x); |
| 2037 | #endif |
| 2038 | |
| 2039 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2040 | extern short4 __attribute__((overloadable)) |
| 2041 | rsGetElementAt_short4(rs_allocation a, uint32_t x); |
| 2042 | #endif |
| 2043 | |
| 2044 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2045 | extern ushort __attribute__((overloadable)) |
| 2046 | rsGetElementAt_ushort(rs_allocation a, uint32_t x); |
| 2047 | #endif |
| 2048 | |
| 2049 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2050 | extern ushort2 __attribute__((overloadable)) |
| 2051 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x); |
| 2052 | #endif |
| 2053 | |
| 2054 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2055 | extern ushort3 __attribute__((overloadable)) |
| 2056 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x); |
| 2057 | #endif |
| 2058 | |
| 2059 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2060 | extern ushort4 __attribute__((overloadable)) |
| 2061 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x); |
| 2062 | #endif |
| 2063 | |
| 2064 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2065 | extern int __attribute__((overloadable)) |
| 2066 | rsGetElementAt_int(rs_allocation a, uint32_t x); |
| 2067 | #endif |
| 2068 | |
| 2069 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2070 | extern int2 __attribute__((overloadable)) |
| 2071 | rsGetElementAt_int2(rs_allocation a, uint32_t x); |
| 2072 | #endif |
| 2073 | |
| 2074 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2075 | extern int3 __attribute__((overloadable)) |
| 2076 | rsGetElementAt_int3(rs_allocation a, uint32_t x); |
| 2077 | #endif |
| 2078 | |
| 2079 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2080 | extern int4 __attribute__((overloadable)) |
| 2081 | rsGetElementAt_int4(rs_allocation a, uint32_t x); |
| 2082 | #endif |
| 2083 | |
| 2084 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2085 | extern uint __attribute__((overloadable)) |
| 2086 | rsGetElementAt_uint(rs_allocation a, uint32_t x); |
| 2087 | #endif |
| 2088 | |
| 2089 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2090 | extern uint2 __attribute__((overloadable)) |
| 2091 | rsGetElementAt_uint2(rs_allocation a, uint32_t x); |
| 2092 | #endif |
| 2093 | |
| 2094 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2095 | extern uint3 __attribute__((overloadable)) |
| 2096 | rsGetElementAt_uint3(rs_allocation a, uint32_t x); |
| 2097 | #endif |
| 2098 | |
| 2099 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2100 | extern uint4 __attribute__((overloadable)) |
| 2101 | rsGetElementAt_uint4(rs_allocation a, uint32_t x); |
| 2102 | #endif |
| 2103 | |
| 2104 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2105 | extern long __attribute__((overloadable)) |
| 2106 | rsGetElementAt_long(rs_allocation a, uint32_t x); |
| 2107 | #endif |
| 2108 | |
| 2109 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2110 | extern long2 __attribute__((overloadable)) |
| 2111 | rsGetElementAt_long2(rs_allocation a, uint32_t x); |
| 2112 | #endif |
| 2113 | |
| 2114 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2115 | extern long3 __attribute__((overloadable)) |
| 2116 | rsGetElementAt_long3(rs_allocation a, uint32_t x); |
| 2117 | #endif |
| 2118 | |
| 2119 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2120 | extern long4 __attribute__((overloadable)) |
| 2121 | rsGetElementAt_long4(rs_allocation a, uint32_t x); |
| 2122 | #endif |
| 2123 | |
| 2124 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2125 | extern ulong __attribute__((overloadable)) |
| 2126 | rsGetElementAt_ulong(rs_allocation a, uint32_t x); |
| 2127 | #endif |
| 2128 | |
| 2129 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2130 | extern ulong2 __attribute__((overloadable)) |
| 2131 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x); |
| 2132 | #endif |
| 2133 | |
| 2134 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2135 | extern ulong3 __attribute__((overloadable)) |
| 2136 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x); |
| 2137 | #endif |
| 2138 | |
| 2139 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2140 | extern ulong4 __attribute__((overloadable)) |
| 2141 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x); |
| 2142 | #endif |
| 2143 | |
| 2144 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2145 | extern float __attribute__((overloadable)) |
| 2146 | rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y); |
| 2147 | #endif |
| 2148 | |
| 2149 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2150 | extern float2 __attribute__((overloadable)) |
| 2151 | rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y); |
| 2152 | #endif |
| 2153 | |
| 2154 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2155 | extern float3 __attribute__((overloadable)) |
| 2156 | rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y); |
| 2157 | #endif |
| 2158 | |
| 2159 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2160 | extern float4 __attribute__((overloadable)) |
| 2161 | rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y); |
| 2162 | #endif |
| 2163 | |
| 2164 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2165 | extern double __attribute__((overloadable)) |
| 2166 | rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y); |
| 2167 | #endif |
| 2168 | |
| 2169 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2170 | extern double2 __attribute__((overloadable)) |
| 2171 | rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y); |
| 2172 | #endif |
| 2173 | |
| 2174 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2175 | extern double3 __attribute__((overloadable)) |
| 2176 | rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y); |
| 2177 | #endif |
| 2178 | |
| 2179 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2180 | extern double4 __attribute__((overloadable)) |
| 2181 | rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y); |
| 2182 | #endif |
| 2183 | |
| 2184 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2185 | extern char __attribute__((overloadable)) |
| 2186 | rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y); |
| 2187 | #endif |
| 2188 | |
| 2189 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2190 | extern char2 __attribute__((overloadable)) |
| 2191 | rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y); |
| 2192 | #endif |
| 2193 | |
| 2194 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2195 | extern char3 __attribute__((overloadable)) |
| 2196 | rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y); |
| 2197 | #endif |
| 2198 | |
| 2199 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2200 | extern char4 __attribute__((overloadable)) |
| 2201 | rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y); |
| 2202 | #endif |
| 2203 | |
| 2204 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2205 | extern uchar __attribute__((overloadable)) |
| 2206 | rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y); |
| 2207 | #endif |
| 2208 | |
| 2209 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2210 | extern uchar2 __attribute__((overloadable)) |
| 2211 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y); |
| 2212 | #endif |
| 2213 | |
| 2214 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2215 | extern uchar3 __attribute__((overloadable)) |
| 2216 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y); |
| 2217 | #endif |
| 2218 | |
| 2219 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2220 | extern uchar4 __attribute__((overloadable)) |
| 2221 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y); |
| 2222 | #endif |
| 2223 | |
| 2224 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2225 | extern short __attribute__((overloadable)) |
| 2226 | rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y); |
| 2227 | #endif |
| 2228 | |
| 2229 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2230 | extern short2 __attribute__((overloadable)) |
| 2231 | rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y); |
| 2232 | #endif |
| 2233 | |
| 2234 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2235 | extern short3 __attribute__((overloadable)) |
| 2236 | rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y); |
| 2237 | #endif |
| 2238 | |
| 2239 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2240 | extern short4 __attribute__((overloadable)) |
| 2241 | rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y); |
| 2242 | #endif |
| 2243 | |
| 2244 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2245 | extern ushort __attribute__((overloadable)) |
| 2246 | rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y); |
| 2247 | #endif |
| 2248 | |
| 2249 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2250 | extern ushort2 __attribute__((overloadable)) |
| 2251 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y); |
| 2252 | #endif |
| 2253 | |
| 2254 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2255 | extern ushort3 __attribute__((overloadable)) |
| 2256 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y); |
| 2257 | #endif |
| 2258 | |
| 2259 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2260 | extern ushort4 __attribute__((overloadable)) |
| 2261 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y); |
| 2262 | #endif |
| 2263 | |
| 2264 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2265 | extern int __attribute__((overloadable)) |
| 2266 | rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y); |
| 2267 | #endif |
| 2268 | |
| 2269 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2270 | extern int2 __attribute__((overloadable)) |
| 2271 | rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y); |
| 2272 | #endif |
| 2273 | |
| 2274 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2275 | extern int3 __attribute__((overloadable)) |
| 2276 | rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y); |
| 2277 | #endif |
| 2278 | |
| 2279 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2280 | extern int4 __attribute__((overloadable)) |
| 2281 | rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y); |
| 2282 | #endif |
| 2283 | |
| 2284 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2285 | extern uint __attribute__((overloadable)) |
| 2286 | rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y); |
| 2287 | #endif |
| 2288 | |
| 2289 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2290 | extern uint2 __attribute__((overloadable)) |
| 2291 | rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y); |
| 2292 | #endif |
| 2293 | |
| 2294 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2295 | extern uint3 __attribute__((overloadable)) |
| 2296 | rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y); |
| 2297 | #endif |
| 2298 | |
| 2299 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2300 | extern uint4 __attribute__((overloadable)) |
| 2301 | rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y); |
| 2302 | #endif |
| 2303 | |
| 2304 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2305 | extern long __attribute__((overloadable)) |
| 2306 | rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y); |
| 2307 | #endif |
| 2308 | |
| 2309 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2310 | extern long2 __attribute__((overloadable)) |
| 2311 | rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y); |
| 2312 | #endif |
| 2313 | |
| 2314 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2315 | extern long3 __attribute__((overloadable)) |
| 2316 | rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y); |
| 2317 | #endif |
| 2318 | |
| 2319 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2320 | extern long4 __attribute__((overloadable)) |
| 2321 | rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y); |
| 2322 | #endif |
| 2323 | |
| 2324 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2325 | extern ulong __attribute__((overloadable)) |
| 2326 | rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y); |
| 2327 | #endif |
| 2328 | |
| 2329 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2330 | extern ulong2 __attribute__((overloadable)) |
| 2331 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y); |
| 2332 | #endif |
| 2333 | |
| 2334 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2335 | extern ulong3 __attribute__((overloadable)) |
| 2336 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y); |
| 2337 | #endif |
| 2338 | |
| 2339 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2340 | extern ulong4 __attribute__((overloadable)) |
| 2341 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y); |
| 2342 | #endif |
| 2343 | |
| 2344 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2345 | extern float __attribute__((overloadable)) |
| 2346 | rsGetElementAt_float(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2347 | #endif |
| 2348 | |
| 2349 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2350 | extern float2 __attribute__((overloadable)) |
| 2351 | rsGetElementAt_float2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2352 | #endif |
| 2353 | |
| 2354 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2355 | extern float3 __attribute__((overloadable)) |
| 2356 | rsGetElementAt_float3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2357 | #endif |
| 2358 | |
| 2359 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2360 | extern float4 __attribute__((overloadable)) |
| 2361 | rsGetElementAt_float4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2362 | #endif |
| 2363 | |
| 2364 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2365 | extern double __attribute__((overloadable)) |
| 2366 | rsGetElementAt_double(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2367 | #endif |
| 2368 | |
| 2369 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2370 | extern double2 __attribute__((overloadable)) |
| 2371 | rsGetElementAt_double2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2372 | #endif |
| 2373 | |
| 2374 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2375 | extern double3 __attribute__((overloadable)) |
| 2376 | rsGetElementAt_double3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2377 | #endif |
| 2378 | |
| 2379 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2380 | extern double4 __attribute__((overloadable)) |
| 2381 | rsGetElementAt_double4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2382 | #endif |
| 2383 | |
| 2384 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2385 | extern char __attribute__((overloadable)) |
| 2386 | rsGetElementAt_char(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2387 | #endif |
| 2388 | |
| 2389 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2390 | extern char2 __attribute__((overloadable)) |
| 2391 | rsGetElementAt_char2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2392 | #endif |
| 2393 | |
| 2394 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2395 | extern char3 __attribute__((overloadable)) |
| 2396 | rsGetElementAt_char3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2397 | #endif |
| 2398 | |
| 2399 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2400 | extern char4 __attribute__((overloadable)) |
| 2401 | rsGetElementAt_char4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2402 | #endif |
| 2403 | |
| 2404 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2405 | extern uchar __attribute__((overloadable)) |
| 2406 | rsGetElementAt_uchar(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2407 | #endif |
| 2408 | |
| 2409 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2410 | extern uchar2 __attribute__((overloadable)) |
| 2411 | rsGetElementAt_uchar2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2412 | #endif |
| 2413 | |
| 2414 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2415 | extern uchar3 __attribute__((overloadable)) |
| 2416 | rsGetElementAt_uchar3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2417 | #endif |
| 2418 | |
| 2419 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2420 | extern uchar4 __attribute__((overloadable)) |
| 2421 | rsGetElementAt_uchar4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2422 | #endif |
| 2423 | |
| 2424 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2425 | extern short __attribute__((overloadable)) |
| 2426 | rsGetElementAt_short(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2427 | #endif |
| 2428 | |
| 2429 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2430 | extern short2 __attribute__((overloadable)) |
| 2431 | rsGetElementAt_short2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2432 | #endif |
| 2433 | |
| 2434 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2435 | extern short3 __attribute__((overloadable)) |
| 2436 | rsGetElementAt_short3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2437 | #endif |
| 2438 | |
| 2439 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2440 | extern short4 __attribute__((overloadable)) |
| 2441 | rsGetElementAt_short4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2442 | #endif |
| 2443 | |
| 2444 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2445 | extern ushort __attribute__((overloadable)) |
| 2446 | rsGetElementAt_ushort(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2447 | #endif |
| 2448 | |
| 2449 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2450 | extern ushort2 __attribute__((overloadable)) |
| 2451 | rsGetElementAt_ushort2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2452 | #endif |
| 2453 | |
| 2454 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2455 | extern ushort3 __attribute__((overloadable)) |
| 2456 | rsGetElementAt_ushort3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2457 | #endif |
| 2458 | |
| 2459 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2460 | extern ushort4 __attribute__((overloadable)) |
| 2461 | rsGetElementAt_ushort4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2462 | #endif |
| 2463 | |
| 2464 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2465 | extern int __attribute__((overloadable)) |
| 2466 | rsGetElementAt_int(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2467 | #endif |
| 2468 | |
| 2469 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2470 | extern int2 __attribute__((overloadable)) |
| 2471 | rsGetElementAt_int2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2472 | #endif |
| 2473 | |
| 2474 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2475 | extern int3 __attribute__((overloadable)) |
| 2476 | rsGetElementAt_int3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2477 | #endif |
| 2478 | |
| 2479 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2480 | extern int4 __attribute__((overloadable)) |
| 2481 | rsGetElementAt_int4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2482 | #endif |
| 2483 | |
| 2484 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2485 | extern uint __attribute__((overloadable)) |
| 2486 | rsGetElementAt_uint(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2487 | #endif |
| 2488 | |
| 2489 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2490 | extern uint2 __attribute__((overloadable)) |
| 2491 | rsGetElementAt_uint2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2492 | #endif |
| 2493 | |
| 2494 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2495 | extern uint3 __attribute__((overloadable)) |
| 2496 | rsGetElementAt_uint3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2497 | #endif |
| 2498 | |
| 2499 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2500 | extern uint4 __attribute__((overloadable)) |
| 2501 | rsGetElementAt_uint4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2502 | #endif |
| 2503 | |
| 2504 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2505 | extern long __attribute__((overloadable)) |
| 2506 | rsGetElementAt_long(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2507 | #endif |
| 2508 | |
| 2509 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2510 | extern long2 __attribute__((overloadable)) |
| 2511 | rsGetElementAt_long2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2512 | #endif |
| 2513 | |
| 2514 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2515 | extern long3 __attribute__((overloadable)) |
| 2516 | rsGetElementAt_long3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2517 | #endif |
| 2518 | |
| 2519 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2520 | extern long4 __attribute__((overloadable)) |
| 2521 | rsGetElementAt_long4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2522 | #endif |
| 2523 | |
| 2524 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2525 | extern ulong __attribute__((overloadable)) |
| 2526 | rsGetElementAt_ulong(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2527 | #endif |
| 2528 | |
| 2529 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2530 | extern ulong2 __attribute__((overloadable)) |
| 2531 | rsGetElementAt_ulong2(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2532 | #endif |
| 2533 | |
| 2534 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2535 | extern ulong3 __attribute__((overloadable)) |
| 2536 | rsGetElementAt_ulong3(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2537 | #endif |
| 2538 | |
| 2539 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2540 | extern ulong4 __attribute__((overloadable)) |
| 2541 | rsGetElementAt_ulong4(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); |
| 2542 | #endif |
| 2543 | |
| 2544 | /* |
| 2545 | * Extract a single element from an allocation. |
| 2546 | * |
| 2547 | * Coordinates are in the dimensions of the Y plane |
| 2548 | */ |
| 2549 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2550 | extern uchar __attribute__((overloadable)) |
| 2551 | rsGetElementAtYuv_uchar_U(rs_allocation a, uint32_t x, uint32_t y); |
| 2552 | #endif |
| 2553 | |
| 2554 | /* |
| 2555 | * Extract a single element from an allocation. |
| 2556 | * |
| 2557 | * Coordinates are in the dimensions of the Y plane |
| 2558 | */ |
| 2559 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2560 | extern uchar __attribute__((overloadable)) |
| 2561 | rsGetElementAtYuv_uchar_V(rs_allocation a, uint32_t x, uint32_t y); |
| 2562 | #endif |
| 2563 | |
| 2564 | /* |
| 2565 | * Extract a single element from an allocation. |
| 2566 | */ |
| 2567 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2568 | extern uchar __attribute__((overloadable)) |
| 2569 | rsGetElementAtYuv_uchar_Y(rs_allocation a, uint32_t x, uint32_t y); |
| 2570 | #endif |
| 2571 | |
| 2572 | /* |
| 2573 | * Fetch allocation in a way described by the sampler |
| 2574 | * |
| 2575 | * If your allocation is 1D, use the variant with float for location. |
| 2576 | * For 2D, use the float2 variant. |
| 2577 | * |
| 2578 | * Parameters: |
| 2579 | * a allocation to sample from |
| 2580 | * s sampler state |
| 2581 | * location location to sample from |
| 2582 | * lod mip level to sample from, for fractional values mip levels will be interpolated if RS_SAMPLER_LINEAR_MIP_LINEAR is used |
| 2583 | */ |
| 2584 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 2585 | extern float4 __attribute__((overloadable)) |
| 2586 | rsSample(rs_allocation a, rs_sampler s, float location); |
| 2587 | #endif |
| 2588 | |
| 2589 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 2590 | extern float4 __attribute__((overloadable)) |
| 2591 | rsSample(rs_allocation a, rs_sampler s, float location, float lod); |
| 2592 | #endif |
| 2593 | |
| 2594 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 2595 | extern float4 __attribute__((overloadable)) |
| 2596 | rsSample(rs_allocation a, rs_sampler s, float2 location); |
| 2597 | #endif |
| 2598 | |
| 2599 | #if (defined(RS_VERSION) && (RS_VERSION >= 16)) |
| 2600 | extern float4 __attribute__((overloadable)) |
| 2601 | rsSample(rs_allocation a, rs_sampler s, float2 location, float lod); |
| 2602 | #endif |
| 2603 | |
| 2604 | /* |
| 2605 | * rsSetElementAt: Set an element |
| 2606 | * |
| 2607 | * Set single element of an allocation. |
| 2608 | */ |
| 2609 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2610 | extern void __attribute__((overloadable)) |
| 2611 | rsSetElementAt(rs_allocation a, void* ptr, uint32_t x); |
| 2612 | #endif |
| 2613 | |
| 2614 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2615 | extern void __attribute__((overloadable)) |
| 2616 | rsSetElementAt(rs_allocation a, void* ptr, uint32_t x, uint32_t y); |
| 2617 | #endif |
| 2618 | |
| 2619 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2620 | extern void __attribute__((overloadable)) |
| 2621 | rsSetElementAt_float(rs_allocation a, float val, uint32_t x); |
| 2622 | #endif |
| 2623 | |
| 2624 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2625 | extern void __attribute__((overloadable)) |
| 2626 | rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x); |
| 2627 | #endif |
| 2628 | |
| 2629 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2630 | extern void __attribute__((overloadable)) |
| 2631 | rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x); |
| 2632 | #endif |
| 2633 | |
| 2634 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2635 | extern void __attribute__((overloadable)) |
| 2636 | rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x); |
| 2637 | #endif |
| 2638 | |
| 2639 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2640 | extern void __attribute__((overloadable)) |
| 2641 | rsSetElementAt_double(rs_allocation a, double val, uint32_t x); |
| 2642 | #endif |
| 2643 | |
| 2644 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2645 | extern void __attribute__((overloadable)) |
| 2646 | rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x); |
| 2647 | #endif |
| 2648 | |
| 2649 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2650 | extern void __attribute__((overloadable)) |
| 2651 | rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x); |
| 2652 | #endif |
| 2653 | |
| 2654 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2655 | extern void __attribute__((overloadable)) |
| 2656 | rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x); |
| 2657 | #endif |
| 2658 | |
| 2659 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2660 | extern void __attribute__((overloadable)) |
| 2661 | rsSetElementAt_char(rs_allocation a, char val, uint32_t x); |
| 2662 | #endif |
| 2663 | |
| 2664 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2665 | extern void __attribute__((overloadable)) |
| 2666 | rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x); |
| 2667 | #endif |
| 2668 | |
| 2669 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2670 | extern void __attribute__((overloadable)) |
| 2671 | rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x); |
| 2672 | #endif |
| 2673 | |
| 2674 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2675 | extern void __attribute__((overloadable)) |
| 2676 | rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x); |
| 2677 | #endif |
| 2678 | |
| 2679 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2680 | extern void __attribute__((overloadable)) |
| 2681 | rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x); |
| 2682 | #endif |
| 2683 | |
| 2684 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2685 | extern void __attribute__((overloadable)) |
| 2686 | rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x); |
| 2687 | #endif |
| 2688 | |
| 2689 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2690 | extern void __attribute__((overloadable)) |
| 2691 | rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x); |
| 2692 | #endif |
| 2693 | |
| 2694 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2695 | extern void __attribute__((overloadable)) |
| 2696 | rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x); |
| 2697 | #endif |
| 2698 | |
| 2699 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2700 | extern void __attribute__((overloadable)) |
| 2701 | rsSetElementAt_short(rs_allocation a, short val, uint32_t x); |
| 2702 | #endif |
| 2703 | |
| 2704 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2705 | extern void __attribute__((overloadable)) |
| 2706 | rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x); |
| 2707 | #endif |
| 2708 | |
| 2709 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2710 | extern void __attribute__((overloadable)) |
| 2711 | rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x); |
| 2712 | #endif |
| 2713 | |
| 2714 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2715 | extern void __attribute__((overloadable)) |
| 2716 | rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x); |
| 2717 | #endif |
| 2718 | |
| 2719 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2720 | extern void __attribute__((overloadable)) |
| 2721 | rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x); |
| 2722 | #endif |
| 2723 | |
| 2724 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2725 | extern void __attribute__((overloadable)) |
| 2726 | rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x); |
| 2727 | #endif |
| 2728 | |
| 2729 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2730 | extern void __attribute__((overloadable)) |
| 2731 | rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x); |
| 2732 | #endif |
| 2733 | |
| 2734 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2735 | extern void __attribute__((overloadable)) |
| 2736 | rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x); |
| 2737 | #endif |
| 2738 | |
| 2739 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2740 | extern void __attribute__((overloadable)) |
| 2741 | rsSetElementAt_int(rs_allocation a, int val, uint32_t x); |
| 2742 | #endif |
| 2743 | |
| 2744 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2745 | extern void __attribute__((overloadable)) |
| 2746 | rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x); |
| 2747 | #endif |
| 2748 | |
| 2749 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2750 | extern void __attribute__((overloadable)) |
| 2751 | rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x); |
| 2752 | #endif |
| 2753 | |
| 2754 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2755 | extern void __attribute__((overloadable)) |
| 2756 | rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x); |
| 2757 | #endif |
| 2758 | |
| 2759 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2760 | extern void __attribute__((overloadable)) |
| 2761 | rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x); |
| 2762 | #endif |
| 2763 | |
| 2764 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2765 | extern void __attribute__((overloadable)) |
| 2766 | rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x); |
| 2767 | #endif |
| 2768 | |
| 2769 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2770 | extern void __attribute__((overloadable)) |
| 2771 | rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x); |
| 2772 | #endif |
| 2773 | |
| 2774 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2775 | extern void __attribute__((overloadable)) |
| 2776 | rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x); |
| 2777 | #endif |
| 2778 | |
| 2779 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2780 | extern void __attribute__((overloadable)) |
| 2781 | rsSetElementAt_long(rs_allocation a, long val, uint32_t x); |
| 2782 | #endif |
| 2783 | |
| 2784 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2785 | extern void __attribute__((overloadable)) |
| 2786 | rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x); |
| 2787 | #endif |
| 2788 | |
| 2789 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2790 | extern void __attribute__((overloadable)) |
| 2791 | rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x); |
| 2792 | #endif |
| 2793 | |
| 2794 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2795 | extern void __attribute__((overloadable)) |
| 2796 | rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x); |
| 2797 | #endif |
| 2798 | |
| 2799 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2800 | extern void __attribute__((overloadable)) |
| 2801 | rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x); |
| 2802 | #endif |
| 2803 | |
| 2804 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2805 | extern void __attribute__((overloadable)) |
| 2806 | rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x); |
| 2807 | #endif |
| 2808 | |
| 2809 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2810 | extern void __attribute__((overloadable)) |
| 2811 | rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x); |
| 2812 | #endif |
| 2813 | |
| 2814 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2815 | extern void __attribute__((overloadable)) |
| 2816 | rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x); |
| 2817 | #endif |
| 2818 | |
| 2819 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2820 | extern void __attribute__((overloadable)) |
| 2821 | rsSetElementAt_float(rs_allocation a, float val, uint32_t x, uint32_t y); |
| 2822 | #endif |
| 2823 | |
| 2824 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2825 | extern void __attribute__((overloadable)) |
| 2826 | rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y); |
| 2827 | #endif |
| 2828 | |
| 2829 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2830 | extern void __attribute__((overloadable)) |
| 2831 | rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y); |
| 2832 | #endif |
| 2833 | |
| 2834 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2835 | extern void __attribute__((overloadable)) |
| 2836 | rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y); |
| 2837 | #endif |
| 2838 | |
| 2839 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2840 | extern void __attribute__((overloadable)) |
| 2841 | rsSetElementAt_double(rs_allocation a, double val, uint32_t x, uint32_t y); |
| 2842 | #endif |
| 2843 | |
| 2844 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2845 | extern void __attribute__((overloadable)) |
| 2846 | rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y); |
| 2847 | #endif |
| 2848 | |
| 2849 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2850 | extern void __attribute__((overloadable)) |
| 2851 | rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y); |
| 2852 | #endif |
| 2853 | |
| 2854 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2855 | extern void __attribute__((overloadable)) |
| 2856 | rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y); |
| 2857 | #endif |
| 2858 | |
| 2859 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2860 | extern void __attribute__((overloadable)) |
| 2861 | rsSetElementAt_char(rs_allocation a, char val, uint32_t x, uint32_t y); |
| 2862 | #endif |
| 2863 | |
| 2864 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2865 | extern void __attribute__((overloadable)) |
| 2866 | rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y); |
| 2867 | #endif |
| 2868 | |
| 2869 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2870 | extern void __attribute__((overloadable)) |
| 2871 | rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y); |
| 2872 | #endif |
| 2873 | |
| 2874 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2875 | extern void __attribute__((overloadable)) |
| 2876 | rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y); |
| 2877 | #endif |
| 2878 | |
| 2879 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2880 | extern void __attribute__((overloadable)) |
| 2881 | rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x, uint32_t y); |
| 2882 | #endif |
| 2883 | |
| 2884 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2885 | extern void __attribute__((overloadable)) |
| 2886 | rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y); |
| 2887 | #endif |
| 2888 | |
| 2889 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2890 | extern void __attribute__((overloadable)) |
| 2891 | rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y); |
| 2892 | #endif |
| 2893 | |
| 2894 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2895 | extern void __attribute__((overloadable)) |
| 2896 | rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y); |
| 2897 | #endif |
| 2898 | |
| 2899 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2900 | extern void __attribute__((overloadable)) |
| 2901 | rsSetElementAt_short(rs_allocation a, short val, uint32_t x, uint32_t y); |
| 2902 | #endif |
| 2903 | |
| 2904 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2905 | extern void __attribute__((overloadable)) |
| 2906 | rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y); |
| 2907 | #endif |
| 2908 | |
| 2909 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2910 | extern void __attribute__((overloadable)) |
| 2911 | rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y); |
| 2912 | #endif |
| 2913 | |
| 2914 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2915 | extern void __attribute__((overloadable)) |
| 2916 | rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y); |
| 2917 | #endif |
| 2918 | |
| 2919 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2920 | extern void __attribute__((overloadable)) |
| 2921 | rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x, uint32_t y); |
| 2922 | #endif |
| 2923 | |
| 2924 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2925 | extern void __attribute__((overloadable)) |
| 2926 | rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y); |
| 2927 | #endif |
| 2928 | |
| 2929 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2930 | extern void __attribute__((overloadable)) |
| 2931 | rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y); |
| 2932 | #endif |
| 2933 | |
| 2934 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2935 | extern void __attribute__((overloadable)) |
| 2936 | rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y); |
| 2937 | #endif |
| 2938 | |
| 2939 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2940 | extern void __attribute__((overloadable)) |
| 2941 | rsSetElementAt_int(rs_allocation a, int val, uint32_t x, uint32_t y); |
| 2942 | #endif |
| 2943 | |
| 2944 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2945 | extern void __attribute__((overloadable)) |
| 2946 | rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y); |
| 2947 | #endif |
| 2948 | |
| 2949 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2950 | extern void __attribute__((overloadable)) |
| 2951 | rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y); |
| 2952 | #endif |
| 2953 | |
| 2954 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2955 | extern void __attribute__((overloadable)) |
| 2956 | rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y); |
| 2957 | #endif |
| 2958 | |
| 2959 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2960 | extern void __attribute__((overloadable)) |
| 2961 | rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x, uint32_t y); |
| 2962 | #endif |
| 2963 | |
| 2964 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2965 | extern void __attribute__((overloadable)) |
| 2966 | rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y); |
| 2967 | #endif |
| 2968 | |
| 2969 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2970 | extern void __attribute__((overloadable)) |
| 2971 | rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y); |
| 2972 | #endif |
| 2973 | |
| 2974 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2975 | extern void __attribute__((overloadable)) |
| 2976 | rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y); |
| 2977 | #endif |
| 2978 | |
| 2979 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2980 | extern void __attribute__((overloadable)) |
| 2981 | rsSetElementAt_long(rs_allocation a, long val, uint32_t x, uint32_t y); |
| 2982 | #endif |
| 2983 | |
| 2984 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2985 | extern void __attribute__((overloadable)) |
| 2986 | rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y); |
| 2987 | #endif |
| 2988 | |
| 2989 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2990 | extern void __attribute__((overloadable)) |
| 2991 | rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y); |
| 2992 | #endif |
| 2993 | |
| 2994 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 2995 | extern void __attribute__((overloadable)) |
| 2996 | rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y); |
| 2997 | #endif |
| 2998 | |
| 2999 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3000 | extern void __attribute__((overloadable)) |
| 3001 | rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x, uint32_t y); |
| 3002 | #endif |
| 3003 | |
| 3004 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3005 | extern void __attribute__((overloadable)) |
| 3006 | rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y); |
| 3007 | #endif |
| 3008 | |
| 3009 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3010 | extern void __attribute__((overloadable)) |
| 3011 | rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y); |
| 3012 | #endif |
| 3013 | |
| 3014 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3015 | extern void __attribute__((overloadable)) |
| 3016 | rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y); |
| 3017 | #endif |
| 3018 | |
| 3019 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3020 | extern void __attribute__((overloadable)) |
| 3021 | rsSetElementAt_float(rs_allocation a, float val, uint32_t x, uint32_t y, uint32_t z); |
| 3022 | #endif |
| 3023 | |
| 3024 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3025 | extern void __attribute__((overloadable)) |
| 3026 | rsSetElementAt_float2(rs_allocation a, float2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3027 | #endif |
| 3028 | |
| 3029 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3030 | extern void __attribute__((overloadable)) |
| 3031 | rsSetElementAt_float3(rs_allocation a, float3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3032 | #endif |
| 3033 | |
| 3034 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3035 | extern void __attribute__((overloadable)) |
| 3036 | rsSetElementAt_float4(rs_allocation a, float4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3037 | #endif |
| 3038 | |
| 3039 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3040 | extern void __attribute__((overloadable)) |
| 3041 | rsSetElementAt_double(rs_allocation a, double val, uint32_t x, uint32_t y, uint32_t z); |
| 3042 | #endif |
| 3043 | |
| 3044 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3045 | extern void __attribute__((overloadable)) |
| 3046 | rsSetElementAt_double2(rs_allocation a, double2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3047 | #endif |
| 3048 | |
| 3049 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3050 | extern void __attribute__((overloadable)) |
| 3051 | rsSetElementAt_double3(rs_allocation a, double3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3052 | #endif |
| 3053 | |
| 3054 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3055 | extern void __attribute__((overloadable)) |
| 3056 | rsSetElementAt_double4(rs_allocation a, double4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3057 | #endif |
| 3058 | |
| 3059 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3060 | extern void __attribute__((overloadable)) |
| 3061 | rsSetElementAt_char(rs_allocation a, char val, uint32_t x, uint32_t y, uint32_t z); |
| 3062 | #endif |
| 3063 | |
| 3064 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3065 | extern void __attribute__((overloadable)) |
| 3066 | rsSetElementAt_char2(rs_allocation a, char2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3067 | #endif |
| 3068 | |
| 3069 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3070 | extern void __attribute__((overloadable)) |
| 3071 | rsSetElementAt_char3(rs_allocation a, char3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3072 | #endif |
| 3073 | |
| 3074 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3075 | extern void __attribute__((overloadable)) |
| 3076 | rsSetElementAt_char4(rs_allocation a, char4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3077 | #endif |
| 3078 | |
| 3079 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3080 | extern void __attribute__((overloadable)) |
| 3081 | rsSetElementAt_uchar(rs_allocation a, uchar val, uint32_t x, uint32_t y, uint32_t z); |
| 3082 | #endif |
| 3083 | |
| 3084 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3085 | extern void __attribute__((overloadable)) |
| 3086 | rsSetElementAt_uchar2(rs_allocation a, uchar2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3087 | #endif |
| 3088 | |
| 3089 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3090 | extern void __attribute__((overloadable)) |
| 3091 | rsSetElementAt_uchar3(rs_allocation a, uchar3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3092 | #endif |
| 3093 | |
| 3094 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3095 | extern void __attribute__((overloadable)) |
| 3096 | rsSetElementAt_uchar4(rs_allocation a, uchar4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3097 | #endif |
| 3098 | |
| 3099 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3100 | extern void __attribute__((overloadable)) |
| 3101 | rsSetElementAt_short(rs_allocation a, short val, uint32_t x, uint32_t y, uint32_t z); |
| 3102 | #endif |
| 3103 | |
| 3104 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3105 | extern void __attribute__((overloadable)) |
| 3106 | rsSetElementAt_short2(rs_allocation a, short2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3107 | #endif |
| 3108 | |
| 3109 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3110 | extern void __attribute__((overloadable)) |
| 3111 | rsSetElementAt_short3(rs_allocation a, short3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3112 | #endif |
| 3113 | |
| 3114 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3115 | extern void __attribute__((overloadable)) |
| 3116 | rsSetElementAt_short4(rs_allocation a, short4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3117 | #endif |
| 3118 | |
| 3119 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3120 | extern void __attribute__((overloadable)) |
| 3121 | rsSetElementAt_ushort(rs_allocation a, ushort val, uint32_t x, uint32_t y, uint32_t z); |
| 3122 | #endif |
| 3123 | |
| 3124 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3125 | extern void __attribute__((overloadable)) |
| 3126 | rsSetElementAt_ushort2(rs_allocation a, ushort2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3127 | #endif |
| 3128 | |
| 3129 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3130 | extern void __attribute__((overloadable)) |
| 3131 | rsSetElementAt_ushort3(rs_allocation a, ushort3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3132 | #endif |
| 3133 | |
| 3134 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3135 | extern void __attribute__((overloadable)) |
| 3136 | rsSetElementAt_ushort4(rs_allocation a, ushort4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3137 | #endif |
| 3138 | |
| 3139 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3140 | extern void __attribute__((overloadable)) |
| 3141 | rsSetElementAt_int(rs_allocation a, int val, uint32_t x, uint32_t y, uint32_t z); |
| 3142 | #endif |
| 3143 | |
| 3144 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3145 | extern void __attribute__((overloadable)) |
| 3146 | rsSetElementAt_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3147 | #endif |
| 3148 | |
| 3149 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3150 | extern void __attribute__((overloadable)) |
| 3151 | rsSetElementAt_int3(rs_allocation a, int3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3152 | #endif |
| 3153 | |
| 3154 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3155 | extern void __attribute__((overloadable)) |
| 3156 | rsSetElementAt_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3157 | #endif |
| 3158 | |
| 3159 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3160 | extern void __attribute__((overloadable)) |
| 3161 | rsSetElementAt_uint(rs_allocation a, uint val, uint32_t x, uint32_t y, uint32_t z); |
| 3162 | #endif |
| 3163 | |
| 3164 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3165 | extern void __attribute__((overloadable)) |
| 3166 | rsSetElementAt_uint2(rs_allocation a, uint2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3167 | #endif |
| 3168 | |
| 3169 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3170 | extern void __attribute__((overloadable)) |
| 3171 | rsSetElementAt_uint3(rs_allocation a, uint3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3172 | #endif |
| 3173 | |
| 3174 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3175 | extern void __attribute__((overloadable)) |
| 3176 | rsSetElementAt_uint4(rs_allocation a, uint4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3177 | #endif |
| 3178 | |
| 3179 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3180 | extern void __attribute__((overloadable)) |
| 3181 | rsSetElementAt_long(rs_allocation a, long val, uint32_t x, uint32_t y, uint32_t z); |
| 3182 | #endif |
| 3183 | |
| 3184 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3185 | extern void __attribute__((overloadable)) |
| 3186 | rsSetElementAt_long2(rs_allocation a, long2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3187 | #endif |
| 3188 | |
| 3189 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3190 | extern void __attribute__((overloadable)) |
| 3191 | rsSetElementAt_long3(rs_allocation a, long3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3192 | #endif |
| 3193 | |
| 3194 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3195 | extern void __attribute__((overloadable)) |
| 3196 | rsSetElementAt_long4(rs_allocation a, long4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3197 | #endif |
| 3198 | |
| 3199 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3200 | extern void __attribute__((overloadable)) |
| 3201 | rsSetElementAt_ulong(rs_allocation a, ulong val, uint32_t x, uint32_t y, uint32_t z); |
| 3202 | #endif |
| 3203 | |
| 3204 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3205 | extern void __attribute__((overloadable)) |
| 3206 | rsSetElementAt_ulong2(rs_allocation a, ulong2 val, uint32_t x, uint32_t y, uint32_t z); |
| 3207 | #endif |
| 3208 | |
| 3209 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3210 | extern void __attribute__((overloadable)) |
| 3211 | rsSetElementAt_ulong3(rs_allocation a, ulong3 val, uint32_t x, uint32_t y, uint32_t z); |
| 3212 | #endif |
| 3213 | |
| 3214 | #if (defined(RS_VERSION) && (RS_VERSION >= 18)) |
| 3215 | extern void __attribute__((overloadable)) |
| 3216 | rsSetElementAt_ulong4(rs_allocation a, ulong4 val, uint32_t x, uint32_t y, uint32_t z); |
| 3217 | #endif |
| 3218 | |
| 3219 | #endif // RENDERSCRIPT_RS_ALLOCATION_RSH |