Home
last modified time | relevance | path

Searched refs:short3 (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp267 (out_s.xyz * ((short3)255 - (short3)in_s.w))) >> (short3)8; in kernel()
287 (in_s.xyz * ((short3)255 - (short3)out_s.w))) >> (short3)8; in kernel()
DrsCpuIntrinsicInlines.h39 typedef short short3 __attribute__((ext_vector_type(3))); typedef
/frameworks/rs/script_api/include/
Drs_convert.rsh74 convert_float3(short3 v);
137 convert_char3(short3 v);
200 convert_uchar3(short3 v);
235 extern short3 __attribute__((const, overloadable))
244 extern short3 __attribute__((const, overloadable))
253 extern short3 __attribute__((const, overloadable))
262 extern short3 __attribute__((const, overloadable))
263 convert_short3(short3 v);
271 extern short3 __attribute__((const, overloadable))
280 extern short3 __attribute__((const, overloadable))
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript44 short3 s3;
45 short3 s3i = {1, 2, 3};
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rscript44 short3 short3_global = {-555, 666, 777};
106 short3 short3_local = {-555, 666, 777};
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rscript44 short3 short3_global = {-555, 666, 777};
106 short3 short3_local = {-555, 666, 777};
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rscript44 short3 short3_global = {-555, 666, 777};
106 short3 short3_local = {-555, 666, 777};
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rscript26 short3 s3;
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript4080 *(ushort3*)buf12 = abs(*(short3*)buf13);
4155 *(short3*)buf204 = clamp(*(short3*)buf205, *(short3*)buf206, *(short3*)buf207);
4184 *(short3*)buf320 = clamp(*(short3*)buf321, *(short*)buf322, *(short*)buf323);
4211 *(short3*)buf408 = clz(*(short3*)buf409);
4235 *(float3*)buf456 = convert_float3(*(short3*)buf457);
4256 *(char3*)buf498 = convert_char3(*(short3*)buf499);
4277 *(uchar3*)buf540 = convert_uchar3(*(short3*)buf541);
4289 *(short3*)buf564 = convert_short3(*(float3*)buf565);
4292 *(short3*)buf570 = convert_short3(*(char3*)buf571);
4295 *(short3*)buf576 = convert_short3(*(uchar3*)buf577);
[all …]
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript2434 *(ushort3*)buf12 = abs(*(short3*)buf13);
2509 *(short3*)buf184 = clz(*(short3*)buf185);
2533 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2554 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2575 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2587 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2590 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2593 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2596 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2599 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rscript2434 *(ushort3*)buf12 = abs(*(short3*)buf13);
2509 *(short3*)buf184 = clz(*(short3*)buf185);
2533 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2554 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2575 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2587 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2590 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2593 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2596 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2599 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rscript2364 *(ushort3*)buf12 = abs(*(short3*)buf13);
2439 *(short3*)buf184 = clz(*(short3*)buf185);
2463 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2484 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2505 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2517 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2520 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2523 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2526 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2529 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rscript2364 *(ushort3*)buf12 = abs(*(short3*)buf13);
2439 *(short3*)buf184 = clz(*(short3*)buf185);
2463 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2484 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2505 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2517 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2520 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2523 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2526 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2529 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rscript2364 *(ushort3*)buf12 = abs(*(short3*)buf13);
2439 *(short3*)buf184 = clz(*(short3*)buf185);
2463 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2484 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2505 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2517 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2520 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2523 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2526 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2529 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript3436 *(ushort3*)buf12 = abs(*(short3*)buf13);
3511 *(short3*)buf204 = clamp(*(short3*)buf205, *(short3*)buf206, *(short3*)buf207);
3540 *(short3*)buf320 = clamp(*(short3*)buf321, *(short*)buf322, *(short*)buf323);
3567 *(short3*)buf408 = clz(*(short3*)buf409);
3591 *(float3*)buf456 = convert_float3(*(short3*)buf457);
3612 *(char3*)buf498 = convert_char3(*(short3*)buf499);
3633 *(uchar3*)buf540 = convert_uchar3(*(short3*)buf541);
3645 *(short3*)buf564 = convert_short3(*(float3*)buf565);
3648 *(short3*)buf570 = convert_short3(*(char3*)buf571);
3651 *(short3*)buf576 = convert_short3(*(uchar3*)buf577);
[all …]
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript3417 *(ushort3*)buf12 = abs(*(short3*)buf13);
3492 *(short3*)buf204 = clamp(*(short3*)buf205, *(short3*)buf206, *(short3*)buf207);
3521 *(short3*)buf320 = clamp(*(short3*)buf321, *(short*)buf322, *(short*)buf323);
3548 *(short3*)buf408 = clz(*(short3*)buf409);
3572 *(float3*)buf456 = convert_float3(*(short3*)buf457);
3593 *(char3*)buf498 = convert_char3(*(short3*)buf499);
3614 *(uchar3*)buf540 = convert_uchar3(*(short3*)buf541);
3626 *(short3*)buf564 = convert_short3(*(float3*)buf565);
3629 *(short3*)buf570 = convert_short3(*(char3*)buf571);
3632 *(short3*)buf576 = convert_short3(*(uchar3*)buf577);
[all …]
/frameworks/rs/driver/runtime/arch/
Dgeneric.c270 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { in max()
271 short3 r; in max()
471 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { in min()
472 short3 r; in min()
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript2634 *(ushort3*)buf12 = abs(*(short3*)buf13);
2709 *(short3*)buf184 = clz(*(short3*)buf185);
2733 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2754 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2775 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2787 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2790 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2793 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2796 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2799 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rscript4800 *(ushort3*)buf12 = abs(*(short3*)buf13);
4875 *(short3*)buf204 = clamp(*(short3*)buf205, *(short3*)buf206, *(short3*)buf207);
4904 *(short3*)buf320 = clamp(*(short3*)buf321, *(short*)buf322, *(short*)buf323);
4931 *(short3*)buf408 = clz(*(short3*)buf409);
4955 *(float3*)buf456 = convert_float3(*(short3*)buf457);
4976 *(char3*)buf498 = convert_char3(*(short3*)buf499);
4997 *(uchar3*)buf540 = convert_uchar3(*(short3*)buf541);
5009 *(short3*)buf564 = convert_short3(*(float3*)buf565);
5012 *(short3*)buf570 = convert_short3(*(char3*)buf571);
5015 *(short3*)buf576 = convert_short3(*(uchar3*)buf577);
[all …]
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rscript4730 *(ushort3*)buf12 = abs(*(short3*)buf13);
4805 *(short3*)buf204 = clamp(*(short3*)buf205, *(short3*)buf206, *(short3*)buf207);
4834 *(short3*)buf320 = clamp(*(short3*)buf321, *(short*)buf322, *(short*)buf323);
4861 *(short3*)buf408 = clz(*(short3*)buf409);
4885 *(float3*)buf456 = convert_float3(*(short3*)buf457);
4906 *(char3*)buf498 = convert_char3(*(short3*)buf499);
4927 *(uchar3*)buf540 = convert_uchar3(*(short3*)buf541);
4939 *(short3*)buf564 = convert_short3(*(float3*)buf565);
4942 *(short3*)buf570 = convert_short3(*(char3*)buf571);
4945 *(short3*)buf576 = convert_short3(*(uchar3*)buf577);
[all …]
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rscript2526 *(ushort3*)buf12 = abs(*(short3*)buf13);
2601 *(short3*)buf184 = clz(*(short3*)buf185);
2625 *(float3*)buf232 = convert_float3(*(short3*)buf233);
2646 *(char3*)buf274 = convert_char3(*(short3*)buf275);
2667 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
2679 *(short3*)buf340 = convert_short3(*(float3*)buf341);
2682 *(short3*)buf346 = convert_short3(*(char3*)buf347);
2685 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
2688 *(short3*)buf358 = convert_short3(*(short3*)buf359);
2691 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rscript3193 *(ushort3*)buf12 = abs(*(short3*)buf13);
3268 *(short3*)buf184 = clz(*(short3*)buf185);
3292 *(float3*)buf232 = convert_float3(*(short3*)buf233);
3313 *(char3*)buf274 = convert_char3(*(short3*)buf275);
3334 *(uchar3*)buf316 = convert_uchar3(*(short3*)buf317);
3346 *(short3*)buf340 = convert_short3(*(float3*)buf341);
3349 *(short3*)buf346 = convert_short3(*(char3*)buf347);
3352 *(short3*)buf352 = convert_short3(*(uchar3*)buf353);
3355 *(short3*)buf358 = convert_short3(*(short3*)buf359);
3358 *(short3*)buf364 = convert_short3(*(ushort3*)buf365);
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript304 short3 queue[64];
308 short3 q_tmp;
318 short3 p = {0, 0, 1};
340 short3 tq = queue[k & 0x3F];
356 short3 tmp = {tx, ty, p_dist + 1};
/frameworks/native/libs/math/include/math/
Dvec3.h122 typedef details::TVec3<int16_t> short3; typedef
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript6492 *(ushort3*)buf12 = abs(*(short3*)buf13);
6619 *(short3*)buf316 = clamp(*(short3*)buf317, *(short3*)buf318, *(short3*)buf319);
6648 *(short3*)buf432 = clamp(*(short3*)buf433, *(short*)buf434, *(short*)buf435);
6682 *(short3*)buf548 = clz(*(short3*)buf549);
6706 *(float3*)buf596 = convert_float3(*(short3*)buf597);
6727 *(char3*)buf638 = convert_char3(*(short3*)buf639);
6748 *(uchar3*)buf680 = convert_uchar3(*(short3*)buf681);
6760 *(short3*)buf704 = convert_short3(*(float3*)buf705);
6763 *(short3*)buf710 = convert_short3(*(char3*)buf711);
6766 *(short3*)buf716 = convert_short3(*(uchar3*)buf717);
[all …]

123