/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/ImageProcessing2/src/com/android/rs/image/ |
D | colorcube.rscript | 22 static int4 gDims; 23 static int4 gCoordMul; 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.rscript | 29 int4 hv = rsGetElementAt_int4(histogramValues, i); 56 int4 hv = rsGetElementAt_int4(histogramValues, i);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | colorcube.rscript | 22 static int4 gDims; 23 static int4 gCoordMul; 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.rscript | 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.rscript | 22 static int4 gDims; 23 static int4 gCoordMul; 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.rscript | 71 static int4 padRegionRect_ss(float4 rec) { 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, 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/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | int4.rscript | 5 int4 gi4 = {2, 2, 2, 2}; 9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | double.rscript | 19 int4 RS_KERNEL doubleKernel(int4 in)
|
D | increment.rscript | 19 int4 RS_KERNEL increment(int4 in)
|
D | int4.rscript | 21 int4 gi4 = {2, 2, 2, 2}; 25 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | addup.rscript | 22 int4 RS_KERNEL add(uint x)
|
D | increment2.rscript | 21 void RS_KERNEL increment2(int4 in, int x)
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | increment.rscript | 21 int4 RS_KERNEL increment(int4 in)
|
D | double.rscript | 21 int4 RS_KERNEL doubleKernel(int4 in)
|
D | int4.rscript | 23 int4 gi4 = {2, 2, 2, 2}; 27 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
|
D | increment2.rscript | 23 void RS_KERNEL increment2(int4 in, int x)
|
/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.rscript | 64 int4 i4; 65 int4 i4i = {1, 2, 3, 4};
|
/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/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 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/tests/java_api/RsTest_14/src/com/android/rs/test/ |
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);
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rscript | 157 static void my_int4_accum(int4 *accum, int4 val) { } 158 static void my_int4_comb(int4 *accum, const int4 *other) { } 171 typedef int4 array_int4[7]; 172 static void my_array_int4_accum(array_int4 *accum, int4 val) { }
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rscript | 2439 *(uint4*)buf22 = abs(*(int4*)buf23); 2518 *(int4*)buf202 = clz(*(int4*)buf203); 2540 *(float4*)buf246 = convert_float4(*(int4*)buf247); 2561 *(char4*)buf288 = convert_char4(*(int4*)buf289); 2582 *(uchar4*)buf330 = convert_uchar4(*(int4*)buf331); 2603 *(short4*)buf372 = convert_short4(*(int4*)buf373); 2624 *(ushort4*)buf414 = convert_ushort4(*(int4*)buf415); 2630 *(int4*)buf426 = convert_int4(*(float4*)buf427); 2633 *(int4*)buf432 = convert_int4(*(char4*)buf433); 2636 *(int4*)buf438 = convert_int4(*(uchar4*)buf439); [all …]
|