Searched refs:int2 (Results 1 - 16 of 16) sorted by relevance

/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs23 rs_allocation border_coords; //int2
30 int2 __attribute__((invoke_cpu)) findBestFit(rs_allocation poly, rs_allocation image) {
46 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight);
100 static int2 gfindMin(rs_allocation fit, int cx, int cy, int cwidth, int cheight) {
104 int2 fit_pos = {0, 0};
133 int2 fit_pos = gfindMin(fit, cx, cy, cwidth, cheight);
145 int2 coord = rsGetElementAt_int2(border_coords, i);
H A Dhealing.rs141 rs_allocation border_coords; //int2
144 float3 __attribute__((kernel))extractBorder(int2 in) {
151 int2 coord = rsGetElementAt_int2(border_coords,i);
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java87 long int2 = window.getLong(0, 1);
88 assertEquals(int1, int2);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicInlines.h41 typedef int int2 __attribute__((ext_vector_type(2))); typedef
103 static inline int2 clamp(int2 amount, int low, int high) {
104 int2 r;
/frameworks/rs/tests/typecheck/
H A Dkernels.rs60 int2 i2;
61 int2 i2i = {1, 2};
/frameworks/rs/scriptc/
H A Drs_convert.rsh89 convert_float2(int2 v);
152 convert_char2(int2 v);
215 convert_uchar2(int2 v);
278 convert_short2(int2 v);
341 convert_ushort2(int2 v);
358 extern int2 __attribute__((const, overloadable))
367 extern int2 __attribute__((const, overloadable))
376 extern int2 __attribute__((const, overloadable))
385 extern int2 __attribute__((const, overloadable))
394 extern int2 __attribute_
[all...]
H A Drs_value_types.rsh451 * int2: Two 32 bit signed integers
456 typedef int __attribute__((ext_vector_type(2))) int2;
H A Drs_math.rsh191 abs(int2 v);
847 extern int2 __attribute__((const, overloadable))
848 clamp(int2 value, int2 min_value, int2 max_value);
982 extern int2 __attribute__((const, overloadable))
983 clamp(int2 value, int min_value, int max_value);
1134 extern int2 __attribute__((const, overloadable))
1135 clz(int2 value);
2042 frexp(float2 v, int2* exponen
[all...]
H A Drs_allocation_data.rsh234 extern int2 __attribute__((overloadable))
384 extern int2 __attribute__((overloadable))
534 extern int2 __attribute__((overloadable))
715 rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x);
865 rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y);
1015 rsAllocationVStoreX_int2(rs_allocation a, int2 val, uint32_t x, uint32_t y, uint32_t z);
1271 static inline int2 __attribute__((overloadable))
1273 return ((int2 *)rsGetElementAt(a, x))[0];
1551 static inline int2 __attribute__((overloadable))
1553 return ((int2 *)rsGetElementA
[all...]
H A Drs_debug.rsh57 rsDebug(const char* message, int2 a);
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c291 extern int2 __attribute__((overloadable)) max(int2 v1, int2 v2) {
292 int2 r;
492 extern int2 __attribute__((overloadable)) min(int2 v1, int2 v2) {
493 int2 r;
/frameworks/rs/driver/runtime/
H A Drs_cl.c4 extern float2 __attribute__((overloadable)) convert_float2(int2 c);
8 extern int2 __attribute__((overloadable)) convert_int2(float2 c);
49 extern int2 __attribute__((overloadable)) fnc(float2 v) { \
50 int2 r; \
118 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \
202 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \
264 fnc(float2 v1, float2 v2, int2 *v3) { \
1276 int2 iv = convert_int2(v);
1277 int2 x = iv + (iv >> (int2)3
[all...]
H A Drs_core.c262 PRIM_DEBUG(int2)
H A Drs_allocation.c324 ELEMENT_AT(int2)
474 VOP(int2)
H A Drs_sample.c525 int2 iPixel = convert_int2(floor(uv * dimF));
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp61 typedef int32_t int2 __attribute__((ext_vector_type(2))); typedef
567 ELEMENT_AT(int2, RS_TYPE_SIGNED_32, 2)
1271 void rsDebug(const char *s, const int2 *i2) {
1272 int2 i = *i2;

Completed in 190 milliseconds