/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlend.cpp | 154 short4 in_s = convert_short4(*in); in kernel() 155 short4 out_s = convert_short4(*out); in kernel() 156 in_s = in_s + ((out_s * (short4)(255 - in_s.w)) >> (short4)8); in kernel() 173 short4 in_s = convert_short4(*in); in kernel() 174 short4 out_s = convert_short4(*out); in kernel() 175 in_s = out_s + ((in_s * (short4)(255 - out_s.w)) >> (short4)8); in kernel() 192 short4 in_s = convert_short4(*in); in kernel() 193 in_s = (in_s * out->w) >> (short4)8; in kernel() 210 short4 out_s = convert_short4(*out); in kernel() 211 out_s = (out_s * in->w) >> (short4)8; in kernel() [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | reduce_general_inputs.rs | 84 static void my_half_short4_0_accum(int *accum, half a, short4 b) { } 87 static void my_half_short4_1_accum(int *accum, half a, short4 b, rs_kernel_context context) { } 210 static void my_half2_short4_0_accum(int *accum, half2 a, short4 b) { } 213 static void my_half2_short4_1_accum(int *accum, half2 a, short4 b, rs_kernel_context context) { } 336 static void my_half4_short4_0_accum(int *accum, half4 a, short4 b) { } 339 static void my_half4_short4_1_accum(int *accum, half4 a, short4 b, rs_kernel_context context) { } 462 static void my_float_short4_0_accum(int *accum, float a, short4 b) { } 465 static void my_float_short4_1_accum(int *accum, float a, short4 b, rs_kernel_context context) { } 588 static void my_float2_short4_0_accum(int *accum, float2 a, short4 b) { } 591 static void my_float2_short4_1_accum(int *accum, float2 a, short4 b, rs_kernel_context context) { } [all …]
|
/frameworks/rs/script_api/include/ |
D | rs_convert.rsh | 77 convert_float4(short4 v); 140 convert_char4(short4 v); 203 convert_uchar4(short4 v); 238 extern short4 __attribute__((const, overloadable)) 247 extern short4 __attribute__((const, overloadable)) 256 extern short4 __attribute__((const, overloadable)) 265 extern short4 __attribute__((const, overloadable)) 266 convert_short4(short4 v); 274 extern short4 __attribute__((const, overloadable)) 283 extern short4 __attribute__((const, overloadable)) [all …]
|
/frameworks/rs/tests/cpp_api/typecheck/ |
D | kernels.rs | 46 short4 s4; 47 short4 s4i = {1, 2, 3, 4};
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 130 static void my_short4_accum(short4 *accum, short4 val) { } 131 static void my_short4_comb(short4 *accum, const short4 *other) { } constant 144 typedef short4 array_short4[7]; 145 static void my_array_short4_accum(array_short4 *accum, short4 val) { }
|
/frameworks/rs/tests/lldb/cpp/KernelVariables/ |
D | simple.rs | 55 short4 short4_global = {-444, -555, 666, 777}; 117 short4 short4_local = {-444, -555, 666, 777};
|
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/ |
D | simple.rs | 55 short4 short4_global = {-444, -555, 666, 777}; 117 short4 short4_local = {-444, -555, 666, 777};
|
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/ |
D | simple.rs | 55 short4 short4_global = {-444, -555, 666, 777}; 117 short4 short4_local = {-444, -555, 666, 777};
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 21 extern uchar4 __attribute__((overloadable)) convert_uchar4(short4); 278 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { in max() 279 short4 r; in max() 479 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { in min() 480 short4 r; in min() 637 short4 p; in rsYuvToRGBA_uchar4()
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 27 short4 s4;
|
/frameworks/compile/slang/tests/P_all_api_23/ |
D | all23.rs | 4731 *(ushort4*)buf14 = abs(*(short4*)buf15); 4806 *(short4*)buf208 = clamp(*(short4*)buf209, *(short4*)buf210, *(short4*)buf211); 4835 *(short4*)buf324 = clamp(*(short4*)buf325, *(short*)buf326, *(short*)buf327); 4862 *(short4*)buf410 = clz(*(short4*)buf411); 4886 *(float4*)buf458 = convert_float4(*(short4*)buf459); 4907 *(char4*)buf500 = convert_char4(*(short4*)buf501); 4928 *(uchar4*)buf542 = convert_uchar4(*(short4*)buf543); 4940 *(short4*)buf566 = convert_short4(*(float4*)buf567); 4943 *(short4*)buf572 = convert_short4(*(char4*)buf573); 4946 *(short4*)buf578 = convert_short4(*(uchar4*)buf579); [all …]
|
/frameworks/compile/slang/tests/P_all_api_21/ |
D | all21.rs | 4081 *(ushort4*)buf14 = abs(*(short4*)buf15); 4156 *(short4*)buf208 = clamp(*(short4*)buf209, *(short4*)buf210, *(short4*)buf211); 4185 *(short4*)buf324 = clamp(*(short4*)buf325, *(short*)buf326, *(short*)buf327); 4212 *(short4*)buf410 = clz(*(short4*)buf411); 4236 *(float4*)buf458 = convert_float4(*(short4*)buf459); 4257 *(char4*)buf500 = convert_char4(*(short4*)buf501); 4278 *(uchar4*)buf542 = convert_uchar4(*(short4*)buf543); 4290 *(short4*)buf566 = convert_short4(*(float4*)buf567); 4293 *(short4*)buf572 = convert_short4(*(char4*)buf573); 4296 *(short4*)buf578 = convert_short4(*(uchar4*)buf579); [all …]
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rs | 2365 *(ushort4*)buf14 = abs(*(short4*)buf15); 2440 *(short4*)buf186 = clz(*(short4*)buf187); 2464 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2485 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2506 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2518 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2521 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2524 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2527 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2530 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rs | 2435 *(ushort4*)buf14 = abs(*(short4*)buf15); 2510 *(short4*)buf186 = clz(*(short4*)buf187); 2534 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2555 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2576 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2588 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2591 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2594 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2597 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2600 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rs | 2435 *(ushort4*)buf14 = abs(*(short4*)buf15); 2510 *(short4*)buf186 = clz(*(short4*)buf187); 2534 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2555 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2576 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2588 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2591 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2594 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2597 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2600 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rs | 2527 *(ushort4*)buf14 = abs(*(short4*)buf15); 2602 *(short4*)buf186 = clz(*(short4*)buf187); 2626 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2647 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2668 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2680 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2683 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2686 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2689 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2692 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rs | 2365 *(ushort4*)buf14 = abs(*(short4*)buf15); 2440 *(short4*)buf186 = clz(*(short4*)buf187); 2464 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2485 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2506 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2518 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2521 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2524 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2527 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2530 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rs | 2365 *(ushort4*)buf14 = abs(*(short4*)buf15); 2440 *(short4*)buf186 = clz(*(short4*)buf187); 2464 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2485 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2506 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2518 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2521 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2524 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2527 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2530 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_19/ |
D | all19.rs | 3418 *(ushort4*)buf14 = abs(*(short4*)buf15); 3493 *(short4*)buf208 = clamp(*(short4*)buf209, *(short4*)buf210, *(short4*)buf211); 3522 *(short4*)buf324 = clamp(*(short4*)buf325, *(short*)buf326, *(short*)buf327); 3549 *(short4*)buf410 = clz(*(short4*)buf411); 3573 *(float4*)buf458 = convert_float4(*(short4*)buf459); 3594 *(char4*)buf500 = convert_char4(*(short4*)buf501); 3615 *(uchar4*)buf542 = convert_uchar4(*(short4*)buf543); 3627 *(short4*)buf566 = convert_short4(*(float4*)buf567); 3630 *(short4*)buf572 = convert_short4(*(char4*)buf573); 3633 *(short4*)buf578 = convert_short4(*(uchar4*)buf579); [all …]
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 3437 *(ushort4*)buf14 = abs(*(short4*)buf15); 3512 *(short4*)buf208 = clamp(*(short4*)buf209, *(short4*)buf210, *(short4*)buf211); 3541 *(short4*)buf324 = clamp(*(short4*)buf325, *(short*)buf326, *(short*)buf327); 3568 *(short4*)buf410 = clz(*(short4*)buf411); 3592 *(float4*)buf458 = convert_float4(*(short4*)buf459); 3613 *(char4*)buf500 = convert_char4(*(short4*)buf501); 3634 *(uchar4*)buf542 = convert_uchar4(*(short4*)buf543); 3646 *(short4*)buf566 = convert_short4(*(float4*)buf567); 3649 *(short4*)buf572 = convert_short4(*(char4*)buf573); 3652 *(short4*)buf578 = convert_short4(*(uchar4*)buf579); [all …]
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rs | 2635 *(ushort4*)buf14 = abs(*(short4*)buf15); 2710 *(short4*)buf186 = clz(*(short4*)buf187); 2734 *(float4*)buf234 = convert_float4(*(short4*)buf235); 2755 *(char4*)buf276 = convert_char4(*(short4*)buf277); 2776 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 2788 *(short4*)buf342 = convert_short4(*(float4*)buf343); 2791 *(short4*)buf348 = convert_short4(*(char4*)buf349); 2794 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 2797 *(short4*)buf360 = convert_short4(*(short4*)buf361); 2800 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/compile/slang/tests/P_all_api_22/ |
D | all22.rs | 4801 *(ushort4*)buf14 = abs(*(short4*)buf15); 4876 *(short4*)buf208 = clamp(*(short4*)buf209, *(short4*)buf210, *(short4*)buf211); 4905 *(short4*)buf324 = clamp(*(short4*)buf325, *(short*)buf326, *(short*)buf327); 4932 *(short4*)buf410 = clz(*(short4*)buf411); 4956 *(float4*)buf458 = convert_float4(*(short4*)buf459); 4977 *(char4*)buf500 = convert_char4(*(short4*)buf501); 4998 *(uchar4*)buf542 = convert_uchar4(*(short4*)buf543); 5010 *(short4*)buf566 = convert_short4(*(float4*)buf567); 5013 *(short4*)buf572 = convert_short4(*(char4*)buf573); 5016 *(short4*)buf578 = convert_short4(*(uchar4*)buf579); [all …]
|
/frameworks/compile/slang/tests/P_all_api_18/ |
D | all18.rs | 3194 *(ushort4*)buf14 = abs(*(short4*)buf15); 3269 *(short4*)buf186 = clz(*(short4*)buf187); 3293 *(float4*)buf234 = convert_float4(*(short4*)buf235); 3314 *(char4*)buf276 = convert_char4(*(short4*)buf277); 3335 *(uchar4*)buf318 = convert_uchar4(*(short4*)buf319); 3347 *(short4*)buf342 = convert_short4(*(float4*)buf343); 3350 *(short4*)buf348 = convert_short4(*(char4*)buf349); 3353 *(short4*)buf354 = convert_short4(*(uchar4*)buf355); 3356 *(short4*)buf360 = convert_short4(*(short4*)buf361); 3359 *(short4*)buf366 = convert_short4(*(ushort4*)buf367); [all …]
|
/frameworks/native/libs/math/include/math/ |
D | vec4.h | 119 typedef details::TVec4<int16_t> short4; typedef
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 23 volatile short4 s4; 208 volatile short4 prefix##_s_4 = 1; \
|