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