Home
last modified time | relevance | path

Searched refs:uint4 (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dcolorcube.rs45 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 …]
Dblend.rs21 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dcolorcube.rs45 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 …]
Dblend.rs22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dcolorcube.rs45 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 …]
Dblend.rs22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp108 uint4 v000 = convert_uint4(pt_00[0]); in kernel()
109 uint4 v100 = convert_uint4(pt_00[1]); in kernel()
110 uint4 v010 = convert_uint4(pt_10[0]); in kernel()
111 uint4 v110 = convert_uint4(pt_10[1]); in kernel()
112 uint4 v001 = convert_uint4(pt_01[0]); in kernel()
113 uint4 v101 = convert_uint4(pt_01[1]); in kernel()
114 uint4 v011 = convert_uint4(pt_11[0]); in kernel()
115 uint4 v111 = convert_uint4(pt_11[1]); 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()
[all …]
/frameworks/rs/script_api/include/
Drs_convert.rsh104 convert_float4(uint4 v);
167 convert_char4(uint4 v);
230 convert_uchar4(uint4 v);
293 convert_short4(uint4 v);
356 convert_ushort4(uint4 v);
419 convert_int4(uint4 v);
427 extern uint4 __attribute__((const, overloadable))
436 extern uint4 __attribute__((const, overloadable))
445 extern uint4 __attribute__((const, overloadable))
454 extern uint4 __attribute__((const, overloadable))
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rs73 uint4 ui4;
74 uint4 ui4i = {1, 2, 3, 4};
/frameworks/rs/rsov/compiler/tests/image/
Dblend.rs23 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8);
/frameworks/rs/rsov/compiler/tests/multi_function/
Dblend_mf.rs34 out.rgba = twice(convert_uchar4((convert_uint4(in.rgba) * 37) >> (uint4)8));
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs265 static void my_uint4_accum(uint4 *accum, uint4 val) { }
266 static void my_uint4_comb(uint4 *accum, const uint4 *other) { } constant
279 typedef uint4 array_uint4[7];
280 static void my_array_uint4_accum(array_uint4 *accum, uint4 val) { }
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rs58 uint4 uint4_global = {1111, 2222, 3333, 4444};
120 uint4 uint4_local = {1111, 2222, 3333, 4444};
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rs58 uint4 uint4_global = {1111, 2222, 3333, 4444};
120 uint4 uint4_local = {1111, 2222, 3333, 4444};
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rs58 uint4 uint4_global = {1111, 2222, 3333, 4444};
120 uint4 uint4_local = {1111, 2222, 3333, 4444};
/frameworks/rs/rsov/compiler/tests/arguments/
Dsignedness.ll64 ; uint4 RS_KERNEL uincrement4(uint4 in)
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rs17 uint4 ui4;
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs4735 *(uint4*)buf22 = abs(*(int4*)buf23);
4818 *(uint4*)buf256 = clamp(*(uint4*)buf257, *(uint4*)buf258, *(uint4*)buf259);
4844 *(uint4*)buf360 = clamp(*(uint4*)buf361, *(uint*)buf362, *(uint*)buf363);
4874 *(uint4*)buf434 = clz(*(uint4*)buf435);
4895 *(float4*)buf476 = convert_float4(*(uint4*)buf477);
4916 *(char4*)buf518 = convert_char4(*(uint4*)buf519);
4937 *(uchar4*)buf560 = convert_uchar4(*(uint4*)buf561);
4958 *(short4*)buf602 = convert_short4(*(uint4*)buf603);
4979 *(ushort4*)buf644 = convert_ushort4(*(uint4*)buf645);
5000 *(int4*)buf686 = convert_int4(*(uint4*)buf687);
[all …]
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rs4085 *(uint4*)buf22 = abs(*(int4*)buf23);
4168 *(uint4*)buf256 = clamp(*(uint4*)buf257, *(uint4*)buf258, *(uint4*)buf259);
4194 *(uint4*)buf360 = clamp(*(uint4*)buf361, *(uint*)buf362, *(uint*)buf363);
4224 *(uint4*)buf434 = clz(*(uint4*)buf435);
4245 *(float4*)buf476 = convert_float4(*(uint4*)buf477);
4266 *(char4*)buf518 = convert_char4(*(uint4*)buf519);
4287 *(uchar4*)buf560 = convert_uchar4(*(uint4*)buf561);
4308 *(short4*)buf602 = convert_short4(*(uint4*)buf603);
4329 *(ushort4*)buf644 = convert_ushort4(*(uint4*)buf645);
4350 *(int4*)buf686 = convert_int4(*(uint4*)buf687);
[all …]
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs2439 *(uint4*)buf22 = abs(*(int4*)buf23);
2522 *(uint4*)buf210 = clz(*(uint4*)buf211);
2543 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2564 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2585 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2606 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2627 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2648 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2651 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2654 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs2369 *(uint4*)buf22 = abs(*(int4*)buf23);
2452 *(uint4*)buf210 = clz(*(uint4*)buf211);
2473 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2494 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2515 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2536 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2557 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2578 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2581 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2584 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs2369 *(uint4*)buf22 = abs(*(int4*)buf23);
2452 *(uint4*)buf210 = clz(*(uint4*)buf211);
2473 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2494 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2515 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2536 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2557 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2578 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2581 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2584 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs2439 *(uint4*)buf22 = abs(*(int4*)buf23);
2522 *(uint4*)buf210 = clz(*(uint4*)buf211);
2543 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2564 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2585 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2606 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2627 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2648 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2651 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2654 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs2531 *(uint4*)buf22 = abs(*(int4*)buf23);
2614 *(uint4*)buf210 = clz(*(uint4*)buf211);
2635 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2656 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2677 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2698 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2719 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2740 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2743 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2746 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs2369 *(uint4*)buf22 = abs(*(int4*)buf23);
2452 *(uint4*)buf210 = clz(*(uint4*)buf211);
2473 *(float4*)buf252 = convert_float4(*(uint4*)buf253);
2494 *(char4*)buf294 = convert_char4(*(uint4*)buf295);
2515 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337);
2536 *(short4*)buf378 = convert_short4(*(uint4*)buf379);
2557 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421);
2578 *(int4*)buf462 = convert_int4(*(uint4*)buf463);
2581 *(uint4*)buf468 = convert_uint4(*(float4*)buf469);
2584 *(uint4*)buf474 = convert_uint4(*(char4*)buf475);
[all …]

123