Home
last modified time | relevance | path

Searched refs:short2 (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs78 static void my_half_short2_0_accum(int *accum, half a, short2 b) { }
81 static void my_half_short2_1_accum(int *accum, half a, short2 b, rs_kernel_context context) { }
204 static void my_half2_short2_0_accum(int *accum, half2 a, short2 b) { }
207 static void my_half2_short2_1_accum(int *accum, half2 a, short2 b, rs_kernel_context context) { }
330 static void my_half4_short2_0_accum(int *accum, half4 a, short2 b) { }
333 static void my_half4_short2_1_accum(int *accum, half4 a, short2 b, rs_kernel_context context) { }
456 static void my_float_short2_0_accum(int *accum, float a, short2 b) { }
459 static void my_float_short2_1_accum(int *accum, float a, short2 b, rs_kernel_context context) { }
582 static void my_float2_short2_0_accum(int *accum, float2 a, short2 b) { }
585 static void my_float2_short2_1_accum(int *accum, float2 a, short2 b, rs_kernel_context context) { }
[all …]
/frameworks/rs/script_api/include/
Drs_convert.rsh71 convert_float2(short2 v);
134 convert_char2(short2 v);
197 convert_uchar2(short2 v);
232 extern short2 __attribute__((const, overloadable))
241 extern short2 __attribute__((const, overloadable))
250 extern short2 __attribute__((const, overloadable))
259 extern short2 __attribute__((const, overloadable))
260 convert_short2(short2 v);
268 extern short2 __attribute__((const, overloadable))
277 extern short2 __attribute__((const, overloadable))
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rs42 short2 s2;
43 short2 s2i = {1, 2};
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs126 static void my_short2_accum(short2 *accum, short2 val) { }
127 static void my_short2_comb(short2 *accum, const short2 *other) { } constant
139 typedef short2 array_short2[7];
140 static void my_array_short2_accum(array_short2 *accum, short2 val) { }
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rs33 short2 short2_global = {-555, 666};
95 short2 short2_local = {-555, 666};
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rs33 short2 short2_global = {-555, 666};
95 short2 short2_local = {-555, 666};
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rs33 short2 short2_global = {-555, 666};
95 short2 short2_local = {-555, 666};
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rs25 short2 s2;
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs4729 *(ushort2*)buf10 = abs(*(short2*)buf11);
4804 *(short2*)buf200 = clamp(*(short2*)buf201, *(short2*)buf202, *(short2*)buf203);
4833 *(short2*)buf316 = clamp(*(short2*)buf317, *(short*)buf318, *(short*)buf319);
4860 *(short2*)buf406 = clz(*(short2*)buf407);
4884 *(float2*)buf454 = convert_float2(*(short2*)buf455);
4905 *(char2*)buf496 = convert_char2(*(short2*)buf497);
4926 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
4938 *(short2*)buf562 = convert_short2(*(float2*)buf563);
4941 *(short2*)buf568 = convert_short2(*(char2*)buf569);
4944 *(short2*)buf574 = convert_short2(*(uchar2*)buf575);
[all …]
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rs4079 *(ushort2*)buf10 = abs(*(short2*)buf11);
4154 *(short2*)buf200 = clamp(*(short2*)buf201, *(short2*)buf202, *(short2*)buf203);
4183 *(short2*)buf316 = clamp(*(short2*)buf317, *(short*)buf318, *(short*)buf319);
4210 *(short2*)buf406 = clz(*(short2*)buf407);
4234 *(float2*)buf454 = convert_float2(*(short2*)buf455);
4255 *(char2*)buf496 = convert_char2(*(short2*)buf497);
4276 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
4288 *(short2*)buf562 = convert_short2(*(float2*)buf563);
4291 *(short2*)buf568 = convert_short2(*(char2*)buf569);
4294 *(short2*)buf574 = convert_short2(*(uchar2*)buf575);
[all …]
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs2433 *(ushort2*)buf10 = abs(*(short2*)buf11);
2508 *(short2*)buf182 = clz(*(short2*)buf183);
2532 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2553 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2574 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2586 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2589 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2592 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2595 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2598 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs2363 *(ushort2*)buf10 = abs(*(short2*)buf11);
2438 *(short2*)buf182 = clz(*(short2*)buf183);
2462 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2483 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2516 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2519 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2522 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2525 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2528 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs2363 *(ushort2*)buf10 = abs(*(short2*)buf11);
2438 *(short2*)buf182 = clz(*(short2*)buf183);
2462 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2483 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2516 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2519 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2522 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2525 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2528 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs2433 *(ushort2*)buf10 = abs(*(short2*)buf11);
2508 *(short2*)buf182 = clz(*(short2*)buf183);
2532 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2553 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2574 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2586 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2589 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2592 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2595 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2598 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs2525 *(ushort2*)buf10 = abs(*(short2*)buf11);
2600 *(short2*)buf182 = clz(*(short2*)buf183);
2624 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2645 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2666 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2678 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2681 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2684 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2687 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2690 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs2363 *(ushort2*)buf10 = abs(*(short2*)buf11);
2438 *(short2*)buf182 = clz(*(short2*)buf183);
2462 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2483 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2516 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2519 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2522 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2525 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2528 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rs3416 *(ushort2*)buf10 = abs(*(short2*)buf11);
3491 *(short2*)buf200 = clamp(*(short2*)buf201, *(short2*)buf202, *(short2*)buf203);
3520 *(short2*)buf316 = clamp(*(short2*)buf317, *(short*)buf318, *(short*)buf319);
3547 *(short2*)buf406 = clz(*(short2*)buf407);
3571 *(float2*)buf454 = convert_float2(*(short2*)buf455);
3592 *(char2*)buf496 = convert_char2(*(short2*)buf497);
3613 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
3625 *(short2*)buf562 = convert_short2(*(float2*)buf563);
3628 *(short2*)buf568 = convert_short2(*(char2*)buf569);
3631 *(short2*)buf574 = convert_short2(*(uchar2*)buf575);
[all …]
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rs3435 *(ushort2*)buf10 = abs(*(short2*)buf11);
3510 *(short2*)buf200 = clamp(*(short2*)buf201, *(short2*)buf202, *(short2*)buf203);
3539 *(short2*)buf316 = clamp(*(short2*)buf317, *(short*)buf318, *(short*)buf319);
3566 *(short2*)buf406 = clz(*(short2*)buf407);
3590 *(float2*)buf454 = convert_float2(*(short2*)buf455);
3611 *(char2*)buf496 = convert_char2(*(short2*)buf497);
3632 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
3644 *(short2*)buf562 = convert_short2(*(float2*)buf563);
3647 *(short2*)buf568 = convert_short2(*(char2*)buf569);
3650 *(short2*)buf574 = convert_short2(*(uchar2*)buf575);
[all …]
/frameworks/native/libs/math/include/math/
Dvec2.h116 typedef details::TVec2<int16_t> short2; typedef
/frameworks/rs/driver/runtime/arch/
Dgeneric.c263 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { in max()
264 short2 r; in max()
464 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { in min()
465 short2 r; in min()
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs2633 *(ushort2*)buf10 = abs(*(short2*)buf11);
2708 *(short2*)buf182 = clz(*(short2*)buf183);
2732 *(float2*)buf230 = convert_float2(*(short2*)buf231);
2753 *(char2*)buf272 = convert_char2(*(short2*)buf273);
2774 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2786 *(short2*)buf338 = convert_short2(*(float2*)buf339);
2789 *(short2*)buf344 = convert_short2(*(char2*)buf345);
2792 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
2795 *(short2*)buf356 = convert_short2(*(short2*)buf357);
2798 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rs4799 *(ushort2*)buf10 = abs(*(short2*)buf11);
4874 *(short2*)buf200 = clamp(*(short2*)buf201, *(short2*)buf202, *(short2*)buf203);
4903 *(short2*)buf316 = clamp(*(short2*)buf317, *(short*)buf318, *(short*)buf319);
4930 *(short2*)buf406 = clz(*(short2*)buf407);
4954 *(float2*)buf454 = convert_float2(*(short2*)buf455);
4975 *(char2*)buf496 = convert_char2(*(short2*)buf497);
4996 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
5008 *(short2*)buf562 = convert_short2(*(float2*)buf563);
5011 *(short2*)buf568 = convert_short2(*(char2*)buf569);
5014 *(short2*)buf574 = convert_short2(*(uchar2*)buf575);
[all …]
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rs3192 *(ushort2*)buf10 = abs(*(short2*)buf11);
3267 *(short2*)buf182 = clz(*(short2*)buf183);
3291 *(float2*)buf230 = convert_float2(*(short2*)buf231);
3312 *(char2*)buf272 = convert_char2(*(short2*)buf273);
3333 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
3345 *(short2*)buf338 = convert_short2(*(float2*)buf339);
3348 *(short2*)buf344 = convert_short2(*(char2*)buf345);
3351 *(short2*)buf350 = convert_short2(*(uchar2*)buf351);
3354 *(short2*)buf356 = convert_short2(*(short2*)buf357);
3357 *(short2*)buf362 = convert_short2(*(ushort2*)buf363);
[all …]
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs21 volatile short2 s2;
206 volatile short2 prefix##_s_2 = 1; \
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h38 typedef short short2 __attribute__((ext_vector_type(2))); typedef

123