Home
last modified time | relevance | path

Searched refs:overloadable (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/rs/script_api/include/
Drs_convert.rsh43 extern float2 __attribute__((const, overloadable))
46 extern float3 __attribute__((const, overloadable))
49 extern float4 __attribute__((const, overloadable))
52 extern float2 __attribute__((const, overloadable))
55 extern float3 __attribute__((const, overloadable))
58 extern float4 __attribute__((const, overloadable))
61 extern float2 __attribute__((const, overloadable))
64 extern float3 __attribute__((const, overloadable))
67 extern float4 __attribute__((const, overloadable))
70 extern float2 __attribute__((const, overloadable))
[all …]
Drs_math.rsh163 extern uchar __attribute__((const, overloadable))
166 extern uchar2 __attribute__((const, overloadable))
169 extern uchar3 __attribute__((const, overloadable))
172 extern uchar4 __attribute__((const, overloadable))
175 extern ushort __attribute__((const, overloadable))
178 extern ushort2 __attribute__((const, overloadable))
181 extern ushort3 __attribute__((const, overloadable))
184 extern ushort4 __attribute__((const, overloadable))
187 extern uint __attribute__((const, overloadable))
190 extern uint2 __attribute__((const, overloadable))
[all …]
Drs_debug.rsh40 extern void __attribute__((overloadable))
43 extern void __attribute__((overloadable))
46 extern void __attribute__((overloadable))
49 extern void __attribute__((overloadable))
52 extern void __attribute__((overloadable))
56 extern void __attribute__((overloadable))
61 extern void __attribute__((overloadable))
66 extern void __attribute__((overloadable))
71 extern void __attribute__((overloadable))
76 extern void __attribute__((overloadable))
[all …]
Drs_allocation_data.rsh67 extern void __attribute__((overloadable))
106 extern void __attribute__((overloadable))
144 extern float2 __attribute__((overloadable))
149 extern float3 __attribute__((overloadable))
154 extern float4 __attribute__((overloadable))
159 extern double2 __attribute__((overloadable))
164 extern double3 __attribute__((overloadable))
169 extern double4 __attribute__((overloadable))
174 extern char2 __attribute__((overloadable))
179 extern char3 __attribute__((overloadable))
[all …]
Drs_vector_math.rsh46 extern float3 __attribute__((const, overloadable))
49 extern float4 __attribute__((const, overloadable))
53 extern half3 __attribute__((const, overloadable))
58 extern half4 __attribute__((const, overloadable))
69 extern float __attribute__((const, overloadable))
72 extern float __attribute__((const, overloadable))
75 extern float __attribute__((const, overloadable))
78 extern float __attribute__((const, overloadable))
82 extern half __attribute__((const, overloadable))
87 extern half __attribute__((const, overloadable))
[all …]
Drs_allocation_create.rsh43 extern rs_element __attribute__((overloadable))
59 extern rs_element __attribute__((overloadable))
74 extern rs_element __attribute__((overloadable))
107 extern rs_type __attribute__((overloadable))
113 extern rs_type __attribute__((overloadable))
118 extern rs_type __attribute__((overloadable))
123 extern rs_type __attribute__((overloadable))
148 extern rs_allocation __attribute__((overloadable))
153 extern rs_allocation __attribute__((overloadable))
158 static inline rs_allocation __attribute__((overloadable))
[all …]
Drs_object_info.rsh83 extern uint32_t __attribute__((overloadable))
96 extern uint32_t __attribute__((overloadable))
108 extern uint32_t __attribute__((overloadable))
121 extern uint32_t __attribute__((overloadable))
134 extern uint32_t __attribute__((overloadable))
148 extern rs_element __attribute__((overloadable))
159 extern void __attribute__((overloadable))
162 extern void __attribute__((overloadable))
165 extern void __attribute__((overloadable))
168 extern void __attribute__((overloadable))
[all …]
Drs_matrix.rsh68 static inline void __attribute__((overloadable))
118 extern void __attribute__((overloadable))
138 static inline bool __attribute__((always_inline, overloadable))
170 extern bool __attribute__((overloadable))
187 extern float __attribute__((overloadable))
190 extern float __attribute__((overloadable))
193 extern float __attribute__((overloadable))
204 extern bool __attribute__((overloadable))
216 extern bool __attribute__((overloadable))
243 extern void __attribute__((overloadable))
[all …]
Drs_atomic.rsh51 extern int32_t __attribute__((overloadable))
56 extern int32_t __attribute__((overloadable))
73 extern int32_t __attribute__((overloadable))
78 extern int32_t __attribute__((overloadable))
99 extern int32_t __attribute__((overloadable))
104 extern uint32_t __attribute__((overloadable))
119 extern int32_t __attribute__((overloadable))
124 extern int32_t __attribute__((overloadable))
139 extern int32_t __attribute__((overloadable))
144 extern int32_t __attribute__((overloadable))
[all …]
Drs_graphics.rsh280 extern void __attribute__((overloadable))
287 extern void __attribute__((overloadable))
294 extern void __attribute__((overloadable))
301 extern void __attribute__((overloadable))
308 extern void __attribute__((overloadable))
315 extern void __attribute__((overloadable))
333 extern bool __attribute__((overloadable))
340 extern bool __attribute__((overloadable))
347 extern bool __attribute__((overloadable))
354 extern bool __attribute__((overloadable))
[all …]
Drs_quaternion.rsh38 static inline void __attribute__((overloadable))
56 static inline void __attribute__((overloadable))
74 static inline float __attribute__((overloadable))
90 static inline void __attribute__((overloadable))
129 static inline void __attribute__((overloadable))
156 static inline void __attribute__((overloadable))
166 static inline void __attribute__((overloadable))
189 static inline void __attribute__((overloadable))
211 static inline void __attribute__((overloadable))
236 static inline void __attribute__((overloadable))
[all …]
/frameworks/rs/driver/runtime/
Drs_core.c6 extern float __attribute__((overloadable)) rsFrac(float v) { in rsFrac()
12 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c);
22 extern float __attribute__((overloadable)) rsClamp(float v, float l, float h) { in rsClamp()
25 extern char __attribute__((overloadable)) rsClamp(char v, char l, char h) { in rsClamp()
28 extern uchar __attribute__((overloadable)) rsClamp(uchar v, uchar l, uchar h) { in rsClamp()
31 extern short __attribute__((overloadable)) rsClamp(short v, short l, short h) { in rsClamp()
34 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) { in rsClamp()
37 extern int __attribute__((overloadable)) rsClamp(int v, int l, int h) { in rsClamp()
40 extern uint __attribute__((overloadable)) rsClamp(uint v, uint l, uint h) { in rsClamp()
44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedVal… in rsAtomicCas()
[all …]
Drs_cl.c4 extern float2 __attribute__((overloadable)) convert_float2(int2 c);
5 extern float3 __attribute__((overloadable)) convert_float3(int3 c);
6 extern float4 __attribute__((overloadable)) convert_float4(int4 c);
8 extern int2 __attribute__((overloadable)) convert_int2(float2 c);
9 extern int3 __attribute__((overloadable)) convert_int3(float3 c);
10 extern int4 __attribute__((overloadable)) convert_int4(float4 c);
13 extern float __attribute__((overloadable)) fmin(float v, float v2);
14 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2);
15 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2);
16 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2);
[all …]
Drs_allocation.c5 extern uint32_t __attribute__((overloadable))
11 extern uint32_t __attribute__((overloadable))
17 extern uint32_t __attribute__((overloadable))
23 extern uint32_t __attribute__((overloadable))
29 extern uint32_t __attribute__((overloadable))
36 extern rs_element __attribute__((overloadable))
90 extern void __attribute__((overloadable)) \
92 extern void __attribute__((overloadable)) \
94 extern void __attribute__((overloadable)) \
96 extern void __attribute__((overloadable)) \
[all …]
Drs_program.c10 extern rs_depth_func __attribute__((overloadable))
19 extern bool __attribute__((overloadable))
28 extern bool __attribute__((overloadable))
37 extern bool __attribute__((overloadable))
46 extern bool __attribute__((overloadable))
55 extern bool __attribute__((overloadable))
64 extern rs_blend_src_func __attribute__((overloadable))
73 extern rs_blend_dst_func __attribute__((overloadable))
82 extern bool __attribute__((overloadable))
94 extern bool __attribute__((overloadable))
[all …]
Drs_matrix.c5 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c);
15 extern void __attribute__((overloadable))
35 extern void __attribute__((overloadable))
47 extern void __attribute__((overloadable))
55 extern void __attribute__((overloadable))
74 extern void __attribute__((overloadable))
86 extern void __attribute__((overloadable))
94 extern void __attribute__((overloadable))
113 extern void __attribute__((overloadable))
132 extern void __attribute__((overloadable))
[all …]
Drs_element.c7 extern uint32_t __attribute__((overloadable))
16 extern rs_element __attribute__((overloadable))
34 extern uint32_t __attribute__((overloadable))
43 extern uint32_t __attribute__((overloadable))
65 extern uint32_t __attribute__((overloadable))
74 extern uint32_t __attribute__((overloadable))
83 extern uint32_t __attribute__((overloadable))
92 extern rs_data_type __attribute__((overloadable))
101 extern rs_data_kind __attribute__((overloadable))
110 extern uint32_t __attribute__((overloadable))
Drs_sampler.c7 extern rs_sampler_value __attribute__((overloadable))
16 extern rs_sampler_value __attribute__((overloadable))
25 extern rs_sampler_value __attribute__((overloadable))
34 extern rs_sampler_value __attribute__((overloadable))
43 extern float __attribute__((overloadable))
Drs_quaternion.c11 extern void __attribute__((overloadable))
19 extern void __attribute__((overloadable))
26 extern float __attribute__((overloadable))
31 extern void __attribute__((overloadable))
56 extern void __attribute__((overloadable))
68 extern void __attribute__((overloadable))
76 extern void __attribute__((overloadable))
84 extern void __attribute__((overloadable))
96 extern void __attribute__((overloadable))
108 extern void __attribute__((overloadable))
[all …]
Drs_sample.c49 static inline float __attribute__((overloadable))
55 static inline float2 __attribute__((overloadable))
62 static inline float3 __attribute__((overloadable))
69 static inline float4 __attribute__((overloadable))
76 static inline float3 __attribute__((overloadable))
83 static inline float __attribute__((overloadable))
90 static inline float2 __attribute__((overloadable))
98 static inline float3 __attribute__((overloadable))
106 static inline float4 __attribute__((overloadable))
114 static inline float3 __attribute__((overloadable))
[all …]
Drs_mesh.c10 extern uint32_t __attribute__((overloadable))
19 extern uint32_t __attribute__((overloadable))
28 extern rs_allocation __attribute__((overloadable))
41 extern rs_allocation __attribute__((overloadable))
54 extern rs_primitive __attribute__((overloadable))
Drs_f16_math.c21 extern half __attribute__((overloadable)) copysign(half x, half y) { in copysign()
31 extern half __attribute__((overloadable)) frexp(half x, int *eptr) { in frexp()
58 extern int __attribute__((overloadable)) ilogb(half x) { in ilogb()
82 extern half __attribute__((overloadable)) modf(half x, half *iptr) { in modf()
117 extern half __attribute__((overloadable)) nextafter(half x, half y) { in nextafter()
Drs_convert.c21 extern typeout##2 __attribute__((const, overloadable)) \
25 extern typeout##3 __attribute__((const, overloadable)) \
29 extern typeout##4 __attribute__((const, overloadable)) \
65 extern float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar y, uchar u, uchar v) { in rsYuvToRGBA_float4()
/frameworks/rs/driver/runtime/arch/
Dgeneric.c20 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short hi…
21 extern uchar4 __attribute__((overloadable)) convert_uchar4(short4);
22 extern uchar4 __attribute__((overloadable)) convert_uchar4(float4);
23 extern float4 __attribute__((overloadable)) convert_float4(uchar4);
24 extern float __attribute__((overloadable)) sqrt(float);
30 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \
34 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \
41 extern T##3 __attribute__((overloadable)) clamp(T##3 amount, T##3 low, T##3 high) { \
49 extern T##4 __attribute__((overloadable)) clamp(T##4 amount, T##4 low, T##4 high) { \
58 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T low, T high) { \
[all …]
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp31 float __attribute__((overloadable)) SC_##func(float v) { \
36 float __attribute__((overloadable)) SC_##func(float t, float v) { \
153 void __attribute__((overloadable)) rsMatrixLoadRotate(rs_matrix4x4 *m, in EXPORT_F32_FN_F32()
157 void __attribute__((overloadable)) rsMatrixLoadScale(rs_matrix4x4 *m, in rsMatrixLoadScale()
161 void __attribute__((overloadable)) rsMatrixLoadTranslate(rs_matrix4x4 *m, in rsMatrixLoadTranslate()
165 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate()
169 void __attribute__((overloadable)) rsMatrixScale(rs_matrix4x4 *m, float x, in rsMatrixScale()
173 void __attribute__((overloadable)) rsMatrixTranslate(rs_matrix4x4 *m, float x, in rsMatrixTranslate()
177 void __attribute__((overloadable)) rsMatrixLoadOrtho(rs_matrix4x4 *m, float l, in rsMatrixLoadOrtho()
181 void __attribute__((overloadable)) rsMatrixLoadFrustum(rs_matrix4x4 *m, in rsMatrixLoadFrustum()
[all …]

12