/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/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/ImageProcessing2/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/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 …]
|
/frameworks/rs/scriptc/ |
D | rs_convert.rsh | 104 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/typecheck/ |
D | kernels.rs | 73 uint4 ui4; 74 uint4 ui4i = {1, 2, 3, 4};
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_convert.jd | 199 …roid_rs:char4'>char4</a> convert_char4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 377 …s:double4'>double4</a> convert_double4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 538 …d_rs:float4'>float4</a> convert_float4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 697 …android_rs:int4'>int4</a> convert_int4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 875 …roid_rs:long4'>long4</a> convert_long4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 1036 …d_rs:short4'>short4</a> convert_short4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 1195 …d_rs:uchar4'>uchar4</a> convert_uchar4(<a href='rs_value_types.html#android_rs:uint4'>uint4</a> v); 1317 …<td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types… 1322 …<td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types… 1328 …<td><a href='rs_value_types.html#android_rs:uint4'>uint4</a> convert_uint4(<a href='rs_value_types… [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 265 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/compile/slang/tests/P_all_api_23/ |
D | all23.rs | 4735 *(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/ |
D | all21.rs | 4085 *(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_11/ |
D | all11.rs | 2369 *(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/ |
D | all15.rs | 2439 *(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_14/ |
D | all14.rs | 2439 *(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/ |
D | all16.rs | 2531 *(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_12/ |
D | all12.rs | 2369 *(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/ |
D | all13.rs | 2369 *(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_19/ |
D | all19.rs | 3422 *(uint4*)buf22 = abs(*(int4*)buf23); 3505 *(uint4*)buf256 = clamp(*(uint4*)buf257, *(uint4*)buf258, *(uint4*)buf259); 3531 *(uint4*)buf360 = clamp(*(uint4*)buf361, *(uint*)buf362, *(uint*)buf363); 3561 *(uint4*)buf434 = clz(*(uint4*)buf435); 3582 *(float4*)buf476 = convert_float4(*(uint4*)buf477); 3603 *(char4*)buf518 = convert_char4(*(uint4*)buf519); 3624 *(uchar4*)buf560 = convert_uchar4(*(uint4*)buf561); 3645 *(short4*)buf602 = convert_short4(*(uint4*)buf603); 3666 *(ushort4*)buf644 = convert_ushort4(*(uint4*)buf645); 3687 *(int4*)buf686 = convert_int4(*(uint4*)buf687); [all …]
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 3441 *(uint4*)buf22 = abs(*(int4*)buf23); 3524 *(uint4*)buf256 = clamp(*(uint4*)buf257, *(uint4*)buf258, *(uint4*)buf259); 3550 *(uint4*)buf360 = clamp(*(uint4*)buf361, *(uint*)buf362, *(uint*)buf363); 3580 *(uint4*)buf434 = clz(*(uint4*)buf435); 3601 *(float4*)buf476 = convert_float4(*(uint4*)buf477); 3622 *(char4*)buf518 = convert_char4(*(uint4*)buf519); 3643 *(uchar4*)buf560 = convert_uchar4(*(uint4*)buf561); 3664 *(short4*)buf602 = convert_short4(*(uint4*)buf603); 3685 *(ushort4*)buf644 = convert_ushort4(*(uint4*)buf645); 3706 *(int4*)buf686 = convert_int4(*(uint4*)buf687); [all …]
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 17 uint4 ui4;
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 390 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { in max() 391 uint4 r; in max() 591 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { in min() 592 uint4 r; in min()
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rs | 2639 *(uint4*)buf22 = abs(*(int4*)buf23); 2722 *(uint4*)buf210 = clz(*(uint4*)buf211); 2743 *(float4*)buf252 = convert_float4(*(uint4*)buf253); 2764 *(char4*)buf294 = convert_char4(*(uint4*)buf295); 2785 *(uchar4*)buf336 = convert_uchar4(*(uint4*)buf337); 2806 *(short4*)buf378 = convert_short4(*(uint4*)buf379); 2827 *(ushort4*)buf420 = convert_ushort4(*(uint4*)buf421); 2848 *(int4*)buf462 = convert_int4(*(uint4*)buf463); 2851 *(uint4*)buf468 = convert_uint4(*(float4*)buf469); 2854 *(uint4*)buf474 = convert_uint4(*(char4*)buf475); [all …]
|
/frameworks/compile/slang/tests/P_all_api_22/ |
D | all22.rs | 4805 *(uint4*)buf22 = abs(*(int4*)buf23); 4888 *(uint4*)buf256 = clamp(*(uint4*)buf257, *(uint4*)buf258, *(uint4*)buf259); 4914 *(uint4*)buf360 = clamp(*(uint4*)buf361, *(uint*)buf362, *(uint*)buf363); 4944 *(uint4*)buf434 = clz(*(uint4*)buf435); 4965 *(float4*)buf476 = convert_float4(*(uint4*)buf477); 4986 *(char4*)buf518 = convert_char4(*(uint4*)buf519); 5007 *(uchar4*)buf560 = convert_uchar4(*(uint4*)buf561); 5028 *(short4*)buf602 = convert_short4(*(uint4*)buf603); 5049 *(ushort4*)buf644 = convert_ushort4(*(uint4*)buf645); 5070 *(int4*)buf686 = convert_int4(*(uint4*)buf687); [all …]
|