Home
last modified time | relevance | path

Searched refs:uchar2 (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmin.rscript4 volatile uchar2 res_uc_2 = 1;
5 volatile uchar2 src1_uc_2 = 1;
6 volatile uchar2 src2_uc_2 = 1;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmin.rscript20 volatile uchar2 res_uc_2 = 1;
21 volatile uchar2 src1_uc_2 = 1;
22 volatile uchar2 src2_uc_2 = 1;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmin.rscript22 volatile uchar2 res_uc_2 = 1;
23 volatile uchar2 src1_uc_2 = 1;
24 volatile uchar2 src2_uc_2 = 1;
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp136 static uchar2 OneBiCubic(const uchar2 *yp0, const uchar2 *yp1, const uchar2 *yp2, const uchar2 *yp3, in OneBiCubic()
212 uchar2 *dst,
216 uchar2 const *srcn,
217 uchar2 const *src0,
218 uchar2 const *src1,
219 uchar2 const *src2,
428 const uchar2 *yp0 = (const uchar2 *)(pin + stride * ys0); in kernelU2()
429 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys1); in kernelU2()
430 const uchar2 *yp2 = (const uchar2 *)(pin + stride * ys2); in kernelU2()
431 const uchar2 *yp3 = (const uchar2 *)(pin + stride * ys3); in kernelU2()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp126 static void OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in OneU2()
127 … const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, const uchar2 *py3, const uchar2 *py4, in OneU2()
420 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0); in kernelU2()
421 const uchar2 *py1 = (const uchar2 *)(pin + stride * y1); in kernelU2()
422 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2); in kernelU2()
423 const uchar2 *py3 = (const uchar2 *)(pin + stride * y3); in kernelU2()
424 const uchar2 *py4 = (const uchar2 *)(pin + stride * y4); in kernelU2()
426 uchar2 *out = (uchar2 *)info->outPtr[0]; in kernelU2()
DrsCpuIntrinsicConvolve3x3.cpp106 static void ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in ConvolveOneU2()
107 const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, in ConvolveOneU2()
240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); in kernelU2()
241 const uchar2 *py1 = (const uchar2 *)(pin + stride * info->current.y); in kernelU2()
242 const uchar2 *py2 = (const uchar2 *)(pin + stride * y1); in kernelU2()
244 uchar2 *out = (uchar2 *)info->outPtr[0]; in kernelU2()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript96 static void my_half_uchar2_0_accum(int *accum, half a, uchar2 b) { }
99 static void my_half_uchar2_1_accum(int *accum, half a, uchar2 b, rs_kernel_context context) { }
222 static void my_half2_uchar2_0_accum(int *accum, half2 a, uchar2 b) { }
225 static void my_half2_uchar2_1_accum(int *accum, half2 a, uchar2 b, rs_kernel_context context) { }
348 static void my_half4_uchar2_0_accum(int *accum, half4 a, uchar2 b) { }
351 static void my_half4_uchar2_1_accum(int *accum, half4 a, uchar2 b, rs_kernel_context context) { }
474 static void my_float_uchar2_0_accum(int *accum, float a, uchar2 b) { }
477 static void my_float_uchar2_1_accum(int *accum, float a, uchar2 b, rs_kernel_context context) { }
600 static void my_float2_uchar2_0_accum(int *accum, float2 a, uchar2 b) { }
603 static void my_float2_uchar2_1_accum(int *accum, float2 a, uchar2 b, rs_kernel_context context) { }
[all …]
/frameworks/rs/script_api/include/
Drs_convert.rsh62 convert_float2(uchar2 v);
125 convert_char2(uchar2 v);
169 extern uchar2 __attribute__((const, overloadable))
178 extern uchar2 __attribute__((const, overloadable))
187 extern uchar2 __attribute__((const, overloadable))
188 convert_uchar2(uchar2 v);
196 extern uchar2 __attribute__((const, overloadable))
205 extern uchar2 __attribute__((const, overloadable))
214 extern uchar2 __attribute__((const, overloadable))
223 extern uchar2 __attribute__((const, overloadable))
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript33 uchar2 uc2;
34 uchar2 uc2i = {1, 2};
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript207 static void my_uchar2_accum(uchar2 *accum, uchar2 val) { }
208 static void my_uchar2_comb(uchar2 *accum, const uchar2 *other) { }
220 typedef uchar2 array_uchar2[7];
221 static void my_array_uchar2_accum(array_uchar2 *accum, uchar2 val) { }
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rscript32 uchar2 uchar2_global = {33, 44};
94 uchar2 uchar2_local = {33, 44};
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rscript32 uchar2 uchar2_global = {33, 44};
94 uchar2 uchar2_local = {33, 44};
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rscript32 uchar2 uchar2_global = {33, 44};
94 uchar2 uchar2_local = {33, 44};
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rscript5 uchar2 uc2;
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript4075 *(uchar2*)buf2 = abs(*(char2*)buf3);
4150 *(uchar2*)buf184 = clamp(*(uchar2*)buf185, *(uchar2*)buf186, *(uchar2*)buf187);
4180 *(uchar2*)buf304 = clamp(*(uchar2*)buf305, *(uchar*)buf306, *(uchar*)buf307);
4206 *(uchar2*)buf398 = clz(*(uchar2*)buf399);
4231 *(float2*)buf448 = convert_float2(*(uchar2*)buf449);
4252 *(char2*)buf490 = convert_char2(*(uchar2*)buf491);
4267 *(uchar2*)buf520 = convert_uchar2(*(float2*)buf521);
4270 *(uchar2*)buf526 = convert_uchar2(*(char2*)buf527);
4273 *(uchar2*)buf532 = convert_uchar2(*(uchar2*)buf533);
4276 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
[all …]
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rscript2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
2504 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2529 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2550 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2565 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2568 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2571 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2574 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2577 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2580 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
2504 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2529 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2550 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2565 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2568 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2571 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2574 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2577 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2580 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rscript2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
2434 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2459 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2480 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2495 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2498 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2501 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2507 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2510 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rscript2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
2434 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2459 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2480 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2495 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2498 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2501 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2507 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2510 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rscript2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
2434 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2459 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2480 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2495 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2498 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2501 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2504 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2507 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2510 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript3431 *(uchar2*)buf2 = abs(*(char2*)buf3);
3506 *(uchar2*)buf184 = clamp(*(uchar2*)buf185, *(uchar2*)buf186, *(uchar2*)buf187);
3536 *(uchar2*)buf304 = clamp(*(uchar2*)buf305, *(uchar*)buf306, *(uchar*)buf307);
3562 *(uchar2*)buf398 = clz(*(uchar2*)buf399);
3587 *(float2*)buf448 = convert_float2(*(uchar2*)buf449);
3608 *(char2*)buf490 = convert_char2(*(uchar2*)buf491);
3623 *(uchar2*)buf520 = convert_uchar2(*(float2*)buf521);
3626 *(uchar2*)buf526 = convert_uchar2(*(char2*)buf527);
3629 *(uchar2*)buf532 = convert_uchar2(*(uchar2*)buf533);
3632 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
[all …]
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript3412 *(uchar2*)buf2 = abs(*(char2*)buf3);
3487 *(uchar2*)buf184 = clamp(*(uchar2*)buf185, *(uchar2*)buf186, *(uchar2*)buf187);
3517 *(uchar2*)buf304 = clamp(*(uchar2*)buf305, *(uchar*)buf306, *(uchar*)buf307);
3543 *(uchar2*)buf398 = clz(*(uchar2*)buf399);
3568 *(float2*)buf448 = convert_float2(*(uchar2*)buf449);
3589 *(char2*)buf490 = convert_char2(*(uchar2*)buf491);
3604 *(uchar2*)buf520 = convert_uchar2(*(float2*)buf521);
3607 *(uchar2*)buf526 = convert_uchar2(*(char2*)buf527);
3610 *(uchar2*)buf532 = convert_uchar2(*(uchar2*)buf533);
3613 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
[all …]
/frameworks/rs/driver/runtime/arch/
Dgeneric.c319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { in max()
320 uchar2 r; in max()
520 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { in min()
521 uchar2 r; in min()
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript2629 *(uchar2*)buf2 = abs(*(char2*)buf3);
2704 *(uchar2*)buf174 = clz(*(uchar2*)buf175);
2729 *(float2*)buf224 = convert_float2(*(uchar2*)buf225);
2750 *(char2*)buf266 = convert_char2(*(uchar2*)buf267);
2765 *(uchar2*)buf296 = convert_uchar2(*(float2*)buf297);
2768 *(uchar2*)buf302 = convert_uchar2(*(char2*)buf303);
2771 *(uchar2*)buf308 = convert_uchar2(*(uchar2*)buf309);
2774 *(uchar2*)buf314 = convert_uchar2(*(short2*)buf315);
2777 *(uchar2*)buf320 = convert_uchar2(*(ushort2*)buf321);
2780 *(uchar2*)buf326 = convert_uchar2(*(int2*)buf327);
[all …]
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rscript4795 *(uchar2*)buf2 = abs(*(char2*)buf3);
4870 *(uchar2*)buf184 = clamp(*(uchar2*)buf185, *(uchar2*)buf186, *(uchar2*)buf187);
4900 *(uchar2*)buf304 = clamp(*(uchar2*)buf305, *(uchar*)buf306, *(uchar*)buf307);
4926 *(uchar2*)buf398 = clz(*(uchar2*)buf399);
4951 *(float2*)buf448 = convert_float2(*(uchar2*)buf449);
4972 *(char2*)buf490 = convert_char2(*(uchar2*)buf491);
4987 *(uchar2*)buf520 = convert_uchar2(*(float2*)buf521);
4990 *(uchar2*)buf526 = convert_uchar2(*(char2*)buf527);
4993 *(uchar2*)buf532 = convert_uchar2(*(uchar2*)buf533);
4996 *(uchar2*)buf538 = convert_uchar2(*(short2*)buf539);
[all …]

123