Home
last modified time | relevance | path

Searched refs:ushort (Results 1 – 25 of 80) 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/tests/cpp_api/typecheck/
Dkernels.rs49 ushort us1;
50 ushort us1i = 1;
125 void RS_KERNEL test_U16(ushort in) {
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rs26 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) { constant
105 ushort sum = 0;
148 ushort __attribute__((kernel)) blurRGB(uint32_t x, uint32_t y) {
[all …]
/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/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs108 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/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dconstant.rs30 const ushort ushortTest = 16; constant
Dsingle_source_alloc.rs77 VERIFY_KERNEL(ushort)
196 STORE_TO_ALLOC(RS_TYPE_UNSIGNED_16, ushort);
223 LAUNCH_VERIFY_KERNEL(RS_TYPE_UNSIGNED_16, ushort);
419 TEST_HELPERS(ushort);
Dprimitives.rs31 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dconstant.rs28 const ushort ushortTest = 16; constant
Dsingle_source_alloc.rs75 VERIFY_KERNEL(ushort)
194 STORE_TO_ALLOC(RS_TYPE_UNSIGNED_16, ushort);
221 LAUNCH_VERIFY_KERNEL(RS_TYPE_UNSIGNED_16, ushort);
417 TEST_HELPERS(ushort);
Dprimitives.rs29 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dconstant.rs12 const ushort ushortTest = 16; constant
/frameworks/compile/slang/tests/P_constant/
Dconstant.rs13 const ushort ushortTest = 16; constant
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Dallocs.rs27 uint __attribute__((kernel)) square_kernel(ushort in)
/frameworks/rs/tests/lldb/cpp/Allocations/
Dallocs.rs27 uint __attribute__((kernel)) square_kernel(ushort in)
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs230 static void my_ushort_accum(ushort *accum, ushort val) { }
231 static void my_ushort_comb(ushort *accum, const ushort *other) { } constant
242 typedef ushort array_ushort[7];
243 static void my_array_ushort_accum(array_ushort *accum, ushort val) { }
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drsdebug.rs13 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drsdebug.rs13 ushort ushortTest = 16;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drsdebug.rs13 ushort ushortTest = 16;
/frameworks/rs/driver/runtime/arch/
Dclamp.c35 S_CLAMP(ushort);
100 V_CLAMP(ushort);
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rs23 ushort ushort_global = 432;
85 ushort ushort_local = 432;
/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/
Dsimple.rs23 ushort ushort_global = 432;
85 ushort ushort_local = 432;
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rs23 ushort ushort_global = 432;
85 ushort ushort_local = 432;

1234