/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | colorcube.rs | 45 uint4 v000 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord1.z)); 46 uint4 v100 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord1.z)); 47 uint4 v010 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord1.z)); 48 uint4 v110 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord1.z)); 49 uint4 v001 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord2.z)); 50 uint4 v101 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord2.z)); 51 uint4 v011 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord2.z)); 52 uint4 v111 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord2.z)); 54 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8; 55 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8; [all …]
|
D | blend.rs | 22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | colorcube.rs | 45 uint4 v000 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord1.z)); 46 uint4 v100 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord1.z)); 47 uint4 v010 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord1.z)); 48 uint4 v110 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord1.z)); 49 uint4 v001 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord2.z)); 50 uint4 v101 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord2.z)); 51 uint4 v011 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord2.z)); 52 uint4 v111 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord2.z)); 54 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8; 55 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8; [all …]
|
D | blend.rs | 21 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | colorcube.rs | 50 uint4 v000 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord1.z)); 51 uint4 v100 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord1.z)); 52 uint4 v010 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord1.z)); 53 uint4 v110 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord1.z)); 54 uint4 v001 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord2.z)); 55 uint4 v101 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord2.z)); 56 uint4 v011 = convert_uint4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord2.z)); 57 uint4 v111 = convert_uint4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord2.z)); 59 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8; 60 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8; [all …]
|
D | blend.rs | 20 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 115 uint4 v000 = convert_uint4(pt_00[0]); in kernel() 116 uint4 v100 = convert_uint4(pt_00[1]); in kernel() 117 uint4 v010 = convert_uint4(pt_10[0]); in kernel() 118 uint4 v110 = convert_uint4(pt_10[1]); in kernel() 119 uint4 v001 = convert_uint4(pt_01[0]); in kernel() 120 uint4 v101 = convert_uint4(pt_01[1]); in kernel() 121 uint4 v011 = convert_uint4(pt_11[0]); in kernel() 122 uint4 v111 = convert_uint4(pt_11[1]); 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() [all …]
|
D | rsCpuIntrinsicInlines.h | 34 typedef uint uint4 __attribute__((ext_vector_type(4))); typedef
|
D | rsCpuRuntimeStubs.cpp | 55 typedef uint32_t uint4 __attribute__((ext_vector_type(4))); typedef 187 static void SC_debugUI4(const char *s, const uint4 *i) { in SC_debugUI4()
|
/frameworks/rs/tests/typecheck/ |
D | kernels.rs | 73 uint4 ui4; 74 uint4 ui4i = {1, 2, 3, 4};
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 17 uint4 ui4;
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 386 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { in max() 387 uint4 r; in max() 587 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { in min() 588 uint4 r; in min()
|
/frameworks/rs/scriptc/ |
D | rs_core_math.rsh | 126 extern uint4 __attribute__((const, overloadable))abs(int4 value); 997 extern uint4 __attribute__((const, overloadable))clamp(uint4 value, uint4 min_value, uint4 max_valu… 1335 extern uint4 __attribute__((const, overloadable))clamp(uint4 value, uint min_value, uint max_value); 1629 extern uint4 __attribute__((const, overloadable))clz(uint4 value); 1814 * Component wise conversion from uint4 to float4 1818 extern float4 __attribute__((const, overloadable))convert_float4(uint4 v); 2003 * Component wise conversion from uint4 to char4 2007 extern char4 __attribute__((const, overloadable))convert_char4(uint4 v); 2192 * Component wise conversion from uint4 to uchar4 2196 extern uchar4 __attribute__((const, overloadable))convert_uchar4(uint4 v); [all …]
|
D | rs_allocation.rsh | 197 GET_ELEMENT_AT(uint4) 332 SET_ELEMENT_AT(uint4) 411 VOP(uint4)
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 18 volatile uint4 ui4; 220 volatile uint4 prefix##_ui_4 = 1; \
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | vector.rs | 34 uint4 u32_4 = { 1, 2, 3, 4 };
|
D | math.rs | 18 volatile uint4 ui4; 64 volatile uint4 prefix##_ui_4 = 1; \
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | vector.rs | 34 uint4 u32_4 = { 1, 2, 3, 4 };
|
D | math.rs | 18 volatile uint4 ui4; 64 volatile uint4 prefix##_ui_4 = 1; \
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | vector.rs | 34 uint4 u32_4 = { 1, 2, 3, 4 };
|
D | math.rs | 18 volatile uint4 ui4; 64 volatile uint4 prefix##_ui_4 = 1; \
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | vector.rs | 34 uint4 u32_4 = { 1, 2, 3, 4 };
|
D | math.rs | 18 volatile uint4 ui4; 64 volatile uint4 prefix##_ui_4 = 1; \
|
D | math.rs.bak | 18 volatile uint4 ui4; 64 volatile uint4 prefix##_ui_4 = 1; \
|
/frameworks/rs/driver/runtime/ |
D | rs_core.c | 200 PRIM_DEBUG(uint4)
|