/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 66 int4 dims = { in kernel() 73 const int4 coordMul = convert_int4(m * (float4)0x8000); in kernel() 94 int4 baseCoord = convert_int4(*in) * coordMul; in kernel() 95 int4 coord1 = baseCoord >> (int4)15; in kernel() 98 int4 weight2 = baseCoord & 0x7fff; in kernel() 99 int4 weight1 = (int4)0x8000 - weight2; in kernel() 117 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7; in kernel() 118 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (int4)7; in kernel() 119 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (int4)7; in kernel() 120 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()
|
/frameworks/rs/tests/java_api/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/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | colorcube.rs | 22 static int4 gDims; constant 23 static int4 gCoordMul; variable 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | colorcube.rs | 22 static int4 gDims; variable 23 static int4 gCoordMul; variable 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/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | find_region.rs | 71 static int4 padRegionRect_ss(float4 rec) { constant 77 int4 out = {(int)(rec.x - 1), (int)(rec.y - 1), mWidth + (int)(rec.x - 1), 82 static int4 calcSearchRange_ss(int4 roiBounds, int imgWidth, int imgHeight, constant 87 return (int4){minr.x, minr.y, maxr.x, maxr.y}; 105 static int2 gfindMin_ss(rs_allocation fit, int4 regionInSearch) { 130 static int width(int4 rec) { return rec.z - rec.x; } 131 static int height(int4 rec) { return rec.w - rec.y; } 146 int4 roiBounds = padRegionRect_ss(bounds); 148 int4 searchRange = calcSearchRange_ss(roiBounds, imgWidth, imgHeight, 2); 150 int4 regionInSearch = roiBounds - searchRange.xyxy; [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | double.rs | 21 int4 RS_KERNEL doubleKernel(int4 in)
|
D | increment.rs | 21 int4 RS_KERNEL increment(int4 in)
|
D | int4.rs | 23 int4 gi4 = {2, 2, 2, 2}; 27 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | increment2.rs | 23 void RS_KERNEL increment2(int4 in, int x)
|
D | addup.rs | 24 int4 RS_KERNEL add(uint x)
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | increment.rs | 19 int4 RS_KERNEL increment(int4 in)
|
D | double.rs | 19 int4 RS_KERNEL doubleKernel(int4 in)
|
D | int4.rs | 21 int4 gi4 = {2, 2, 2, 2}; 25 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | increment2.rs | 21 void RS_KERNEL increment2(int4 in, int x)
|
D | addup.rs | 22 int4 RS_KERNEL add(uint x)
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/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};
|
/frameworks/rs/script_api/include/ |
D | rs_convert.rsh | 95 convert_float4(int4 v); 158 convert_char4(int4 v); 221 convert_uchar4(int4 v); 284 convert_short4(int4 v); 347 convert_ushort4(int4 v); 364 extern int4 __attribute__((const, overloadable)) 373 extern int4 __attribute__((const, overloadable)) 382 extern int4 __attribute__((const, overloadable)) 391 extern int4 __attribute__((const, overloadable)) 400 extern int4 __attribute__((const, overloadable)) [all …]
|
/frameworks/rs/tests/cpp_api/typecheck/ |
D | kernels.rs | 64 int4 i4; 65 int4 i4i = {1, 2, 3, 4};
|
/frameworks/rs/tests/java_api/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/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 157 static void my_int4_accum(int4 *accum, int4 val) { } 158 static void my_int4_comb(int4 *accum, const int4 *other) { } constant 171 typedef int4 array_int4[7]; 172 static void my_array_int4_accum(array_int4 *accum, int4 val) { }
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_d1new_helper.rsh | 42 const int4 image_size_i4, 83 const int4 image_size_i4, 125 uint32_t x, uint32_t y, const int4 image_size_i4, 180 uint32_t x, uint32_t y, const int4 image_size_i4, 214 uint32_t x, uint32_t y, const int4 image_size_i4,
|
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/ |
D | simple.rs | 57 int4 int4_global = {888, 999, -1111, 2222}; 119 int4 int4_local = {888, 999, -1111, 2222};
|