/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 73 int4 dims = { in kernel() 80 const int4 coordMul = convert_int4(m * (float4)0x8000); in kernel() 101 int4 baseCoord = convert_int4(*in) * coordMul; in kernel() 102 int4 coord1 = baseCoord >> (int4)15; in kernel() 105 int4 weight2 = baseCoord & 0x7fff; in kernel() 106 int4 weight1 = (int4)0x8000 - weight2; in kernel() 124 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7; in kernel() 125 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (int4)7; in kernel() 126 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (int4)7; in kernel() 127 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (int4)7; in kernel() [all …]
|
D | rsCpuIntrinsicInlines.h | 43 typedef int int4 __attribute__((ext_vector_type(4))); typedef 85 static inline int4 clamp(int4 amount, int low, int high) { in CVT_FUNC() 86 int4 r; in CVT_FUNC()
|
D | rsCpuRuntimeStubs.cpp | 52 typedef int32_t int4 __attribute__((ext_vector_type(4))); typedef 175 static void SC_debugI4(const char *s, const int4 *i) { in SC_debugI4()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | colorcube.rs | 22 static int4 gDims; constant 23 static int4 gCoordMul; constant 38 int4 baseCoord = convert_int4(in) * gCoordMul; 39 int4 coord1 = baseCoord >> (int4)16; 40 int4 coord2 = min(coord1 + 1, gDims - 1); 42 int4 weight2 = baseCoord & 0xffff; 43 int4 weight1 = (int4)0x10000 - weight2;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | colorcube.rs | 22 static int4 gDims; variable 23 static int4 gCoordMul; constant 38 int4 baseCoord = convert_int4(in) * gCoordMul; 39 int4 coord1 = baseCoord >> (int4)16; 40 int4 coord2 = min(coord1 + 1, gDims - 1); 42 int4 weight2 = baseCoord & 0xffff; 43 int4 weight1 = (int4)0x10000 - weight2;
|
D | wbalance.rs | 29 int4 hv = rsGetElementAt_int4(histogramValues, i); 56 int4 hv = rsGetElementAt_int4(histogramValues, i);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | colorcube.rs | 22 static int4 gDims; variable 23 static int4 gCoordMul; variable 43 int4 baseCoord = convert_int4(*in) * gCoordMul; 44 int4 coord1 = baseCoord >> (int4)16; 45 int4 coord2 = min(coord1 + 1, gDims - 1); 47 int4 weight2 = baseCoord & 0xffff; 48 int4 weight1 = (int4)0x10000 - weight2;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | int4.rs | 5 int4 gi4 = {2, 2, 2, 2}; 9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | math.rs | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 229 f4 = fnc(f4, (int4*) &i4); 236 f4 = fnc(f4, f4, (int4*) &i4);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | int4.rs | 5 int4 gi4 = {2, 2, 2, 2}; 9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | math.rs | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 222 f4 = fnc(f4, (int4*) &i4); 229 f4 = fnc(f4, f4, (int4*) &i4);
|
/frameworks/rs/tests/typecheck/ |
D | kernels.rs | 64 int4 i4; 65 int4 i4i = {1, 2, 3, 4};
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 13 volatile int4 i4; 94 f4 = fnc(f4, (int4*) &i4); 101 f4 = fnc(f4, f4, (int4*) &i4); 216 volatile int4 prefix##_i_4 = 1; \
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 222 f4 = fnc(f4, (int4*) &i4); 229 f4 = fnc(f4, f4, (int4*) &i4);
|
D | vector.rs | 30 int4 i32_4 = { 1, 2, 3, 4 };
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 222 f4 = fnc(f4, (int4*) &i4); 229 f4 = fnc(f4, f4, (int4*) &i4);
|
D | math.rs.bak | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 208 f4 = fnc(f4, (int4*) &i4); 215 f4 = fnc(f4, f4, (int4*) &i4);
|
D | math.rs.orig | 13 volatile int4 i4; 60 volatile int4 prefix##_i_4 = 1; \ 222 f4 = fnc(f4, (int4*) &i4); 229 f4 = fnc(f4, f4, (int4*) &i4);
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 32 int4 i4;
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 5 extern float4 __attribute__((overloadable)) convert_float4(int4 c); 9 extern int4 __attribute__((overloadable)) convert_int4(float4 c); 61 extern int4 __attribute__((overloadable)) fnc(float4 v) { \ 62 int4 r; \ 130 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2) { \ 221 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2) { \ 285 fnc(float4 v1, float4 v2, int4 *v3) { \ 1137 int4 iv = convert_int4(v); in native_exp2() 1138 int4 x = iv + (iv >> (int4)31);//floor(v); in native_exp2() 1143 float4 fo = (float4)(x << (int4)23); in native_exp2() [all …]
|
/frameworks/rs/scriptc/ |
D | rs_core_math.rsh | 126 extern uint4 __attribute__((const, overloadable))abs(int4 value); 945 extern int4 __attribute__((const, overloadable))clamp(int4 value, int4 min_value, int4 max_value); 1296 extern int4 __attribute__((const, overloadable))clamp(int4 value, int min_value, int max_value); 1593 extern int4 __attribute__((const, overloadable))clz(int4 value); 1787 * Component wise conversion from int4 to float4 1791 extern float4 __attribute__((const, overloadable))convert_float4(int4 v); 1976 * Component wise conversion from int4 to char4 1980 extern char4 __attribute__((const, overloadable))convert_char4(int4 v); 2165 * Component wise conversion from int4 to uchar4 2169 extern uchar4 __attribute__((const, overloadable))convert_uchar4(int4 v); [all …]
|
D | rs_allocation.rsh | 193 GET_ELEMENT_AT(int4) 328 SET_ELEMENT_AT(int4) 408 VOP(int4)
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { in max() 303 int4 r; in max() 503 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { in min() 504 int4 r; in min()
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rs | 51 static volatile int4 prefix##_i_4 = 1; \ 249 RUN_BENCH(res_f_4 = fnc(src1_f_4, (int4*) &src1_i_4), "f4 " #fnc "(f4, i4*)") 256 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_4, (int4*) &src1_i_4), "f4 " #fnc "(f4, f4, i4*)")
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 7 int4 i4;
|