Home
last modified time | relevance | path

Searched refs:ushort (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h20 typedef uint16_t ushort; typedef
29 typedef ushort ushort2 __attribute__((ext_vector_type(2)));
30 typedef ushort ushort3 __attribute__((ext_vector_type(3)));
31 typedef ushort ushort4 __attribute__((ext_vector_type(4)));
70 CVT_FUNC_2(type, ushort) \
79 CVT_FUNC(ushort) in CVT_FUNC()
/frameworks/rs/driver/runtime/
Drs_convert.c35 CVT_FUNC_2(type, ushort) \
48 CVT_FUNC(ushort)
Drs_core.c34 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) { in rsClamp()
288 ushort us);
290 rsDebug(s, (float) h, *(ushort *) &h); in rsDebug()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript26 ushort __attribute__((kernel)) black_ushort() { return 0; }
31 ushort v = rsGetElementAt_uchar(edgeImage, x, y);
40 ushort v = rsGetElementAt_uchar(edgeImage, x, y);
47 ushort v = rsGetElementAt_uchar(blurImage, x, y);
56 ushort v = rsGetElementAt_uchar(blurImage, x, y);
64 ushort v = rsGetElementAt_uchar(blurImage, x, y);
70 ushort v = rsGetElementAt_uchar(blurImage, x, y);
91 static ushort getY(rs_allocation a, int x, int y) {
105 ushort sum = 0;
148 ushort __attribute__((kernel)) blurRGB(uint32_t x, uint32_t y) {
[all …]
/frameworks/rs/tests/cpp_api/typecheck/
Dkernels.rscript49 ushort us1;
50 ushort us1i = 1;
125 void RS_KERNEL test_U16(ushort in) {
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript108 static void my_half_ushort_0_accum(int *accum, half a, ushort b) { }
111 static void my_half_ushort_1_accum(int *accum, half a, ushort b, rs_kernel_context context) { }
234 static void my_half2_ushort_0_accum(int *accum, half2 a, ushort b) { }
237 static void my_half2_ushort_1_accum(int *accum, half2 a, ushort b, rs_kernel_context context) { }
360 static void my_half4_ushort_0_accum(int *accum, half4 a, ushort b) { }
363 static void my_half4_ushort_1_accum(int *accum, half4 a, ushort b, rs_kernel_context context) { }
486 static void my_float_ushort_0_accum(int *accum, float a, ushort b) { }
489 static void my_float_ushort_1_accum(int *accum, float a, ushort b, rs_kernel_context context) { }
612 static void my_float2_ushort_0_accum(int *accum, float2 a, ushort b) { }
615 static void my_float2_ushort_1_accum(int *accum, float2 a, ushort b, rs_kernel_context context) { }
[all …]
/frameworks/rs/script_api/include/
Drs_value_types.rsh28 * Unsigned integer: uchar, uint8_t ushort, uint16_t uint, uint32_t ulong, uint64_t
209 * ushort: 16 bit unsigned integer
213 typedef uint16_t ushort;
333 * A vector of two ushorts. These two ushort fields packed into a single 32 bit field
336 typedef ushort __attribute__((ext_vector_type(2))) ushort2;
341 * A vector of three ushorts. These three ushort fields packed into a single 64 bit field
344 typedef ushort __attribute__((ext_vector_type(3))) ushort3;
349 * A vector of four ushorts. These four ushort fields packed into a single 64 bit field
352 typedef ushort __attribute__((ext_vector_type(4))) ushort4;
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dconstant.rscript12 const ushort ushortTest = 16;
Dprimitives.rscript13 ushort ushortTest = 16;
Drsdebug.rscript16 ushort ushortTest = 16;
/frameworks/compile/slang/tests/P_constant/
Dconstant.rscript13 const ushort ushortTest = 16;
/frameworks/rs/driver/runtime/arch/
Dclamp.c35 S_CLAMP(ushort);
100 V_CLAMP(ushort);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dprimitives.rscript13 ushort ushortTest = 16;
Drsdebug.rscript13 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dprimitives.rscript13 ushort ushortTest = 16;
Drsdebug.rscript13 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dprimitives.rscript13 ushort ushortTest = 16;
Drsdebug.rscript13 ushort ushortTest = 16;
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript230 static void my_ushort_accum(ushort *accum, ushort val) { }
231 static void my_ushort_comb(ushort *accum, const ushort *other) { }
242 typedef ushort array_ushort[7];
243 static void my_array_ushort_accum(array_ushort *accum, ushort val) { }
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rscript15 ushort us = 4;
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rscript23 ushort ushort_global = 432;
85 ushort ushort_local = 432;
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rscript23 ushort ushort_global = 432;
85 ushort ushort_local = 432;
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rscript23 ushort ushort_global = 432;
85 ushort ushort_local = 432;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dconstant.rscript28 const ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dconstant.rscript30 const ushort ushortTest = 16;

1234