/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicInlines.h | 20 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()
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 34 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()
|
H A D | rs_convert.c | 35 CVT_FUNC_2(type, ushort) \ 48 CVT_FUNC(ushort)
|
/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | canny.rscript | 26 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; 149 ushort sum = 0; [all …]
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | reduce_general_inputs.rscript | 108 static void my_half_ushort_0_accum(int *accum, half a, ushort b) { } 234 static void my_half2_ushort_0_accum(int *accum, half2 a, ushort b) { } 360 static void my_half4_ushort_0_accum(int *accum, half4 a, ushort b) { } 486 static void my_float_ushort_0_accum(int *accum, float a, ushort b) { } 864 static void my_char_ushort_0_accum(int *accum, char a, ushort b) { } 1908 static void my_ushort_half_0_accum(int *accum, ushort a, half b) { } 1944 static void my_ushort_char_0_accum(int *accum, ushort a, char b) { } 1998 static void my_ushort_ushort_0_accum(int *accum, ushort a, ushort b) { } 2001 static void my_ushort_ushort_1_accum(int *accum, ushort a, ushort b, rs_kernel_context context) { } 2016 static void my_ushort_bool_0_accum(int *accum, ushort a, bool b) { } [all …]
|
/aosp12/frameworks/rs/tests/cpp_api/typecheck/ |
H A D | kernels.rscript | 49 ushort us1; 50 ushort us1i = 1; 125 void RS_KERNEL test_U16(ushort in) {
|
/aosp12/frameworks/rs/script_api/include/ |
H A D | rs_value_types.rsh | 28 * 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;
|
/aosp12/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | constant.rscript | 12 const ushort ushortTest = 16;
|
H A D | primitives.rscript | 13 ushort ushortTest = 16;
|
/aosp12/frameworks/rs/driver/runtime/arch/ |
H A D | clamp.c | 35 S_CLAMP(ushort); 100 V_CLAMP(ushort);
|
/aosp12/frameworks/compile/slang/tests/P_constant/ |
H A D | constant.rscript | 13 const ushort ushortTest = 16;
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | reduce_general_result.rscript | 230 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) { }
|
/aosp12/frameworks/rs/tests/lldb/cpp/KernelVariables/ |
H A D | simple.rscript | 23 ushort ushort_global = 432; 85 ushort ushort_local = 432;
|
/aosp12/frameworks/rs/tests/lldb/java/KernelVariables/src/rs/ |
H A D | simple.rscript | 23 ushort ushort_global = 432; 85 ushort ushort_local = 432;
|
/aosp12/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/ |
H A D | simple.rscript | 23 ushort ushort_global = 432; 85 ushort ushort_local = 432;
|
/aosp12/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
H A D | primitives.rscript | 13 ushort ushortTest = 16;
|
H A D | rsdebug.rscript | 13 ushort ushortTest = 16;
|
H A D | math.rscript | 25 volatile ushort us1; 209 volatile ushort prefix##_us_1 = 1; \ 294 TEST_CVT_MATRIX(us, ushort);
|
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
H A D | primitives.rscript | 13 ushort ushortTest = 16;
|
H A D | rsdebug.rscript | 13 ushort ushortTest = 16;
|
/aosp12/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
H A D | primitives.rscript | 13 ushort ushortTest = 16;
|
H A D | rsdebug.rscript | 13 ushort ushortTest = 16;
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | single_source_alloc.rscript | 75 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);
|
H A D | constant.rscript | 28 const ushort ushortTest = 16;
|
/aosp12/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/ |
H A D | setelementat.rscript | 15 ushort us = 4;
|