Home
last modified time | relevance | path

Searched refs:int2 (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Dball_physics.rs35 int2 gridPos[9];
38 gridPos[1] = (int2){gridPos[0].x - 1, gridPos[0].y - 1};
39 gridPos[2] = (int2){gridPos[0].x + 0, gridPos[0].y - 1};
40 gridPos[3] = (int2){gridPos[0].x + 1, gridPos[0].y - 1};
41 gridPos[4] = (int2){gridPos[0].x - 1, gridPos[0].y};
42 gridPos[5] = (int2){gridPos[0].x + 1, gridPos[0].y};
43 gridPos[6] = (int2){gridPos[0].x - 1, gridPos[0].y + 1};
44 gridPos[7] = (int2){gridPos[0].x + 0, gridPos[0].y + 1};
45 gridPos[8] = (int2){gridPos[0].x + 1, gridPos[0].y + 1};
Dballs.rs46 int2 gridDims = (int2){ rsAllocationGetDimX(gGrid),
70 int2 p = convert_int2(balls[ct].position / 100.f);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h41 typedef int int2 __attribute__((ext_vector_type(2))); typedef
103 static inline int2 clamp(int2 amount, int low, int high) { in clamp()
104 int2 r; in clamp()
DrsCpuRuntimeStubs.cpp50 typedef int32_t int2 __attribute__((ext_vector_type(2))); typedef
169 static void SC_debugI2(const char *s, const int2 *i) { in SC_debugI2()
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
Dyuv.rs68 int2 vignette_half_dims;
70 int2 xy = {x, y};
122 vignette_half_dims = (int2){w / 2, h / 2};
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java87 long int2 = window.getLong(0, 1); in doTestValues() local
88 assertEquals(int1, int2); in doTestValues()
/frameworks/rs/tests/typecheck/
Dkernels.rs60 int2 i2;
61 int2 i2i = {1, 2};
/frameworks/compile/slang/tests/F_global_init/
Dglobal_init.rs6 int2 i2 = {3, 4};
/frameworks/compile/slang/tests/P_kernel_cpp/
Dkernel_cpp.rs10 int2 i2 = 2;
/frameworks/compile/slang/tests/F_vector_cast/
Dvector_cast.rs5 int2 i;
Dstderr.txt.expect1 …ctor values of different size ('float2' (vector of 2 'float' values) and 'int2' (vector of 2 'int'…
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs11 volatile int2 i2;
92 f2 = fnc(f2, (int2*) &i2); \
99 f2 = fnc(f2, f2, (int2*) &i2); \
214 volatile int2 prefix##_i_2 = 1; \
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dmath.rs11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
220 f2 = fnc(f2, (int2*) &i2); \
227 f2 = fnc(f2, f2, (int2*) &i2); \
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
220 f2 = fnc(f2, (int2*) &i2); \
227 f2 = fnc(f2, f2, (int2*) &i2); \
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath.rs11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
227 f2 = fnc(f2, (int2*) &i2); \
234 f2 = fnc(f2, f2, (int2*) &i2); \
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
220 f2 = fnc(f2, (int2*) &i2); \
227 f2 = fnc(f2, f2, (int2*) &i2); \
Dmath.rs.bak11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
206 f2 = fnc(f2, (int2*) &i2); \
213 f2 = fnc(f2, f2, (int2*) &i2); \
Dmath.rs.orig11 volatile int2 i2;
58 volatile int2 prefix##_i_2 = 1; \
220 f2 = fnc(f2, (int2*) &i2); \
227 f2 = fnc(f2, f2, (int2*) &i2); \
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rs30 int2 i2;
/frameworks/rs/driver/runtime/
Drs_cl.c3 extern float2 __attribute__((overloadable)) convert_float2(int2 c);
7 extern int2 __attribute__((overloadable)) convert_int2(float2 c);
48 extern int2 __attribute__((overloadable)) fnc(float2 v) { \
49 int2 r; \
117 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \
201 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \
263 fnc(float2 v1, float2 v2, int2 *v3) { \
1122 int2 iv = convert_int2(v); in native_exp2()
1123 int2 x = iv + (iv >> (int2)31);//floor(v); in native_exp2()
1128 float2 fo = (float2)(x << (int2)23); in native_exp2()
[all …]
/frameworks/rs/scriptc/
Drs_core_math.rsh108 extern uint2 __attribute__((const, overloadable))abs(int2 value);
919 extern int2 __attribute__((const, overloadable))clamp(int2 value, int2 min_value, int2 max_value);
1270 extern int2 __attribute__((const, overloadable))clamp(int2 value, int min_value, int max_value);
1575 extern int2 __attribute__((const, overloadable))clz(int2 value);
1769 * Component wise conversion from int2 to float2
1773 extern float2 __attribute__((const, overloadable))convert_float2(int2 v);
1958 * Component wise conversion from int2 to char2
1962 extern char2 __attribute__((const, overloadable))convert_char2(int2 v);
2147 * Component wise conversion from int2 to uchar2
2151 extern uchar2 __attribute__((const, overloadable))convert_uchar2(int2 v);
[all …]
Drs_allocation.rsh191 GET_ELEMENT_AT(int2)
326 SET_ELEMENT_AT(int2)
405 VOP(int2)
/frameworks/rs/driver/runtime/arch/
Dgeneric.c287 extern int2 __attribute__((overloadable)) max(int2 v1, int2 v2) { in max()
288 int2 r; in max()
488 extern int2 __attribute__((overloadable)) min(int2 v1, int2 v2) { in min()
489 int2 r; in min()
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs49 static volatile int2 prefix##_i_2 = 1; \
247 RUN_BENCH(res_f_2 = fnc(src1_f_2, (int2*) &src1_i_2), "f2 " #fnc "(f2, i2*)") \
254 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_2, (int2*) &src1_i_2), "f2 " #fnc "(f2, f2, i2*)") \
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs5 int2 i2;

12