Home
last modified time | relevance | path

Searched refs:short4 (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp154 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/
Dreduce_general_inputs.rscript84 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/
Drs_convert.rsh77 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/
Dkernels.rscript46 short4 s4;
47 short4 s4i = {1, 2, 3, 4};
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript130 static void my_short4_accum(short4 *accum, short4 val) { }
131 static void my_short4_comb(short4 *accum, const short4 *other) { }
144 typedef short4 array_short4[7];
145 static void my_array_short4_accum(array_short4 *accum, short4 val) { }
/frameworks/rs/driver/runtime/arch/
Dgeneric.c21 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/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rscript55 short4 short4_global = {-444, -555, 666, 777};
117 short4 short4_local = {-444, -555, 666, 777};
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rscript55 short4 short4_global = {-444, -555, 666, 777};
117 short4 short4_local = {-444, -555, 666, 777};
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rscript55 short4 short4_global = {-444, -555, 666, 777};
117 short4 short4_local = {-444, -555, 666, 777};
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rscript27 short4 s4;
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript4081 *(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_14/
Dall14.rscript2435 *(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/
Dall15.rscript2435 *(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_11/
Dall11.rscript2365 *(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_12/
Dall12.rscript2365 *(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/
Dall13.rscript2365 *(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_20/
Dall20.rscript3437 *(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_19/
Dall19.rscript3418 *(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_17/
Dall17.rscript2635 *(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/
Dall22.rscript4801 *(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_23/
Dall23.rscript4731 *(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_16/
Dall16.rscript2527 *(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_18/
Dall18.rscript3194 *(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/
Dvec4.h119 typedef details::TVec4<int16_t> short4; typedef
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript6493 *(ushort4*)buf14 = abs(*(short4*)buf15);
6620 *(short4*)buf320 = clamp(*(short4*)buf321, *(short4*)buf322, *(short4*)buf323);
6649 *(short4*)buf436 = clamp(*(short4*)buf437, *(short*)buf438, *(short*)buf439);
6683 *(short4*)buf550 = clz(*(short4*)buf551);
6707 *(float4*)buf598 = convert_float4(*(short4*)buf599);
6728 *(char4*)buf640 = convert_char4(*(short4*)buf641);
6749 *(uchar4*)buf682 = convert_uchar4(*(short4*)buf683);
6761 *(short4*)buf706 = convert_short4(*(float4*)buf707);
6764 *(short4*)buf712 = convert_short4(*(char4*)buf713);
6767 *(short4*)buf718 = convert_short4(*(uchar4*)buf719);
[all …]

123