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