/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | bugdroid.rs | 29 static float pillDistance(float3 p1, float3 p2, float3 img) { 37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) { 41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) { 42 float3 vec = (p1 + p2) / 2 - img; 48 static float cylinderDistance(float3 p1, float3 p2, float3 img) { 57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) { 61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) { 62 float3 vec = (p1 + p2) / 2 - img; 68 static float distanceCircle(float3 center, float radius, float3 normal, 69 float3 img) { [all …]
|
D | mandelbulb.rs | 42 static float3 nylander3(float3 p) { constant 43 float3 out = (float3){0.f, 0.f, 0.f}; 58 float3 c = (float3) {(float) x, (float) y, (float) z}; 62 float3 p = c;
|
D | vr.rs | 25 float3 s; 26 float3 dx; 27 float3 dy; 28 float3 dz; 33 static float3 mLight; constant 47 s = rsMatrixMultiply(&matrix4, (float3) {0.5f, 0.5f, 0.5f}).xyz; 48 dx = rsMatrixMultiply(&matrix3, (float3) {1.f, 0.f, 0.f}); 49 dy = rsMatrixMultiply(&matrix3, (float3) {0.f, 1.f, 0.f}); 50 dz = rsMatrixMultiply(&matrix3, (float3) {0.f, 0.f, 1.f}); 58 float3 mLightRelitvePos = (float3) {0.f, 0.7071f, -0.7071f}; // light relitve to camera [all …]
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | healing.rs | 71 static float3 getF32_3(AllocationF32_3 in,uint32_t x,uint32_t y) { constant 77 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) { 78 float3 out = 4 * getF32_3(src, x, y); 91 float3 __attribute__((kernel)) convert_to_f(uchar4 in) { 95 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) { 99 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) { 112 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) { 114 float3 k = getF32_3(dest1, x - 1, y); 126 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) { 128 float3 k = getF32_3(dest2, x - 1, y); [all …]
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rs | 2372 *(float3*)buf28 = acos(*(float3*)buf29); 2376 *(float3*)buf36 = acosh(*(float3*)buf37); 2380 *(float3*)buf44 = acospi(*(float3*)buf45); 2384 *(float3*)buf52 = asin(*(float3*)buf53); 2388 *(float3*)buf60 = asinh(*(float3*)buf61); 2392 *(float3*)buf68 = asinpi(*(float3*)buf69); 2396 *(float3*)buf76 = atan(*(float3*)buf77); 2400 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2404 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2408 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rs | 2372 *(float3*)buf28 = acos(*(float3*)buf29); 2376 *(float3*)buf36 = acosh(*(float3*)buf37); 2380 *(float3*)buf44 = acospi(*(float3*)buf45); 2384 *(float3*)buf52 = asin(*(float3*)buf53); 2388 *(float3*)buf60 = asinh(*(float3*)buf61); 2392 *(float3*)buf68 = asinpi(*(float3*)buf69); 2396 *(float3*)buf76 = atan(*(float3*)buf77); 2400 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2404 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2408 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rs | 2442 *(float3*)buf28 = acos(*(float3*)buf29); 2446 *(float3*)buf36 = acosh(*(float3*)buf37); 2450 *(float3*)buf44 = acospi(*(float3*)buf45); 2454 *(float3*)buf52 = asin(*(float3*)buf53); 2458 *(float3*)buf60 = asinh(*(float3*)buf61); 2462 *(float3*)buf68 = asinpi(*(float3*)buf69); 2466 *(float3*)buf76 = atan(*(float3*)buf77); 2470 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2474 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2478 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rs | 2442 *(float3*)buf28 = acos(*(float3*)buf29); 2446 *(float3*)buf36 = acosh(*(float3*)buf37); 2450 *(float3*)buf44 = acospi(*(float3*)buf45); 2454 *(float3*)buf52 = asin(*(float3*)buf53); 2458 *(float3*)buf60 = asinh(*(float3*)buf61); 2462 *(float3*)buf68 = asinpi(*(float3*)buf69); 2466 *(float3*)buf76 = atan(*(float3*)buf77); 2470 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2474 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2478 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rs | 2372 *(float3*)buf28 = acos(*(float3*)buf29); 2376 *(float3*)buf36 = acosh(*(float3*)buf37); 2380 *(float3*)buf44 = acospi(*(float3*)buf45); 2384 *(float3*)buf52 = asin(*(float3*)buf53); 2388 *(float3*)buf60 = asinh(*(float3*)buf61); 2392 *(float3*)buf68 = asinpi(*(float3*)buf69); 2396 *(float3*)buf76 = atan(*(float3*)buf77); 2400 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2404 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2408 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rs | 2534 *(float3*)buf28 = acos(*(float3*)buf29); 2538 *(float3*)buf36 = acosh(*(float3*)buf37); 2542 *(float3*)buf44 = acospi(*(float3*)buf45); 2546 *(float3*)buf52 = asin(*(float3*)buf53); 2550 *(float3*)buf60 = asinh(*(float3*)buf61); 2554 *(float3*)buf68 = asinpi(*(float3*)buf69); 2558 *(float3*)buf76 = atan(*(float3*)buf77); 2562 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2566 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2570 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rs | 2642 *(float3*)buf28 = acos(*(float3*)buf29); 2646 *(float3*)buf36 = acosh(*(float3*)buf37); 2650 *(float3*)buf44 = acospi(*(float3*)buf45); 2654 *(float3*)buf52 = asin(*(float3*)buf53); 2658 *(float3*)buf60 = asinh(*(float3*)buf61); 2662 *(float3*)buf68 = asinpi(*(float3*)buf69); 2666 *(float3*)buf76 = atan(*(float3*)buf77); 2670 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 2674 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 2678 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_21/ |
D | all21.rs | 4088 *(float3*)buf28 = acos(*(float3*)buf29); 4092 *(float3*)buf36 = acosh(*(float3*)buf37); 4096 *(float3*)buf44 = acospi(*(float3*)buf45); 4100 *(float3*)buf52 = asin(*(float3*)buf53); 4104 *(float3*)buf60 = asinh(*(float3*)buf61); 4108 *(float3*)buf68 = asinpi(*(float3*)buf69); 4112 *(float3*)buf76 = atan(*(float3*)buf77); 4116 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 4120 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 4124 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_18/ |
D | all18.rs | 3201 *(float3*)buf28 = acos(*(float3*)buf29); 3205 *(float3*)buf36 = acosh(*(float3*)buf37); 3209 *(float3*)buf44 = acospi(*(float3*)buf45); 3213 *(float3*)buf52 = asin(*(float3*)buf53); 3217 *(float3*)buf60 = asinh(*(float3*)buf61); 3221 *(float3*)buf68 = asinpi(*(float3*)buf69); 3225 *(float3*)buf76 = atan(*(float3*)buf77); 3229 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 3233 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 3237 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 5 extern float3 __attribute__((overloadable)) convert_float3(int3 c); 9 extern int3 __attribute__((overloadable)) convert_int3(float3 c); 15 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2); 20 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2); 32 extern float3 __attribute__((overloadable)) fnc(float3 v) { \ 33 float3 r; \ 55 extern int3 __attribute__((overloadable)) fnc(float3 v) { \ 78 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \ 79 float3 r; \ 101 extern float3 __attribute__((overloadable)) fnc(float3 v1, float v2) { \ [all …]
|
/frameworks/compile/slang/tests/P_all_api_23/ |
D | all23.rs | 4738 *(float3*)buf28 = acos(*(float3*)buf29); 4742 *(float3*)buf36 = acosh(*(float3*)buf37); 4746 *(float3*)buf44 = acospi(*(float3*)buf45); 4750 *(float3*)buf52 = asin(*(float3*)buf53); 4754 *(float3*)buf60 = asinh(*(float3*)buf61); 4758 *(float3*)buf68 = asinpi(*(float3*)buf69); 4762 *(float3*)buf76 = atan(*(float3*)buf77); 4766 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 4770 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 4774 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_float3/ |
D | float3.rs | 4 float3 f; 5 float3 f1[1]; 8 float3 f; field 9 float3 f1[1];
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 3444 *(float3*)buf28 = acos(*(float3*)buf29); 3448 *(float3*)buf36 = acosh(*(float3*)buf37); 3452 *(float3*)buf44 = acospi(*(float3*)buf45); 3456 *(float3*)buf52 = asin(*(float3*)buf53); 3460 *(float3*)buf60 = asinh(*(float3*)buf61); 3464 *(float3*)buf68 = asinpi(*(float3*)buf69); 3468 *(float3*)buf76 = atan(*(float3*)buf77); 3472 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 3476 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 3480 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/compile/slang/tests/P_all_api_19/ |
D | all19.rs | 3425 *(float3*)buf28 = acos(*(float3*)buf29); 3429 *(float3*)buf36 = acosh(*(float3*)buf37); 3433 *(float3*)buf44 = acospi(*(float3*)buf45); 3437 *(float3*)buf52 = asin(*(float3*)buf53); 3441 *(float3*)buf60 = asinh(*(float3*)buf61); 3445 *(float3*)buf68 = asinpi(*(float3*)buf69); 3449 *(float3*)buf76 = atan(*(float3*)buf77); 3453 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 3457 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 3461 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 12 float3 a, b;<br/> 1438 …href='rs_value_types.html#android_rs:float3'>float3</a> acos(<a href='rs_value_types.html#android_… 1477 …href='rs_value_types.html#android_rs:float3'>float3</a> acosh(<a href='rs_value_types.html#android… 1516 …ref='rs_value_types.html#android_rs:float3'>float3</a> acospi(<a href='rs_value_types.html#android… 1558 …href='rs_value_types.html#android_rs:float3'>float3</a> asin(<a href='rs_value_types.html#android_… 1597 …href='rs_value_types.html#android_rs:float3'>float3</a> asinh(<a href='rs_value_types.html#android… 1636 …ref='rs_value_types.html#android_rs:float3'>float3</a> asinpi(<a href='rs_value_types.html#android… 1678 …href='rs_value_types.html#android_rs:float3'>float3</a> atan(<a href='rs_value_types.html#android_… 1717 …s:float3'>float3</a> atan2(<a href='rs_value_types.html#android_rs:float3'>float3</a> numerator, <… 1762 …:float3'>float3</a> atan2pi(<a href='rs_value_types.html#android_rs:float3'>float3</a> numerator, … [all …]
|
D | rs_vector_math.jd | 126 …:float3'>float3</a> cross(<a href='rs_value_types.html#android_rs:float3'>float3</a> left_vector, … 162 …='rs_value_types.html#android_rs:float3'>float3</a> left_vector, <a href='rs_value_types.html#andr… 201 …='rs_value_types.html#android_rs:float3'>float3</a> left_vector, <a href='rs_value_types.html#andr… 239 …='rs_value_types.html#android_rs:float3'>float3</a> left_vector, <a href='rs_value_types.html#andr… 286 <td>float fast_length(<a href='rs_value_types.html#android_rs:float3'>float3</a> v); 333 …'rs_value_types.html#android_rs:float3'>float3</a> fast_normalize(<a href='rs_value_types.html#and… 382 <td>float length(<a href='rs_value_types.html#android_rs:float3'>float3</a> v); 423 …='rs_value_types.html#android_rs:float3'>float3</a> left_vector, <a href='rs_value_types.html#andr… 466 <td>float native_length(<a href='rs_value_types.html#android_rs:float3'>float3</a> v); 509 …rs_value_types.html#android_rs:float3'>float3</a> native_normalize(<a href='rs_value_types.html#an… [all …]
|
/frameworks/compile/slang/tests/P_all_api_22/ |
D | all22.rs | 4808 *(float3*)buf28 = acos(*(float3*)buf29); 4812 *(float3*)buf36 = acosh(*(float3*)buf37); 4816 *(float3*)buf44 = acospi(*(float3*)buf45); 4820 *(float3*)buf52 = asin(*(float3*)buf53); 4824 *(float3*)buf60 = asinh(*(float3*)buf61); 4828 *(float3*)buf68 = asinpi(*(float3*)buf69); 4832 *(float3*)buf76 = atan(*(float3*)buf77); 4836 *(float3*)buf86 = atan2(*(float3*)buf87, *(float3*)buf88); 4840 *(float3*)buf98 = atan2pi(*(float3*)buf99, *(float3*)buf100); 4844 *(float3*)buf108 = atanh(*(float3*)buf109); [all …]
|
/frameworks/rs/scriptc/ |
D | rs_math.rsh | 26 * float3 a, b; 212 extern float3 __attribute__((const, overloadable)) 213 acos(float3 v); 251 extern float3 __attribute__((const, overloadable)) 252 acosh(float3 v); 292 extern float3 __attribute__((const, overloadable)) 293 acospi(float3 v); 331 extern float3 __attribute__((const, overloadable)) 332 asin(float3 v); 370 extern float3 __attribute__((const, overloadable)) [all …]
|
D | rs_vector_math.rsh | 46 extern float3 __attribute__((const, overloadable)) 47 cross(float3 left_vector, float3 right_vector); 76 distance(float3 left_vector, float3 right_vector); 113 dot(float3 left_vector, float3 right_vector); 160 fast_distance(float3 left_vector, float3 right_vector); 190 fast_length(float3 v); 222 extern float3 __attribute__((const, overloadable)) 223 fast_normalize(float3 v); 245 length(float3 v); 289 native_distance(float3 left_vector, float3 right_vector); [all …]
|
/frameworks/av/cmds/stagefright/filters/ |
D | nightvision.rs | 21 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable 22 const static float3 gNightVisionMult = {0.5f, 1.f, 0.5f}; variable 29 float3 rgb = {v_in->y * 0.003921569f, v_in->z * 0.003921569f, 33 float3 result = dot(rgb, gMonoMult) * gNightVisionMult;
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 93 extern float3 __attribute__((overloadable)) clamp(float3 amount, float3 low, float3 high); 96 extern float3 __attribute__((overloadable)) clamp(float3 amount, float low, float high); 129 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax() 130 float3 r; in fmax() 153 extern float3 __attribute__((overloadable)) fmax(float3 v1, float v2) { in fmax() 154 float3 r; in fmax() 185 extern float3 __attribute__((overloadable)) fmin(float3 v1, float3 v2) { in fmin() 186 float3 r; in fmin() 209 extern float3 __attribute__((overloadable)) fmin(float3 v1, float v2) { in fmin() 210 float3 r; in fmin() [all …]
|