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