/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rs | 29 static float2 slope[12]; constant 31 static float2 p1[12]; variable 32 static float2 p2[12]; constant 33 static float2 p3[12]; variable 35 float2 d12[12]; 36 float2 d23[12]; 37 float2 d31[12]; 99 float2 __attribute__ ((kernel)) render_z(uint32_t x, uint32_t y) { 100 float2 out = (float2) {FLOAT_MAX,-FLOAT_MAX}; 101 float2 loc; [all …]
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rs | 2533 *(float2*)buf26 = acos(*(float2*)buf27); 2537 *(float2*)buf34 = acosh(*(float2*)buf35); 2541 *(float2*)buf42 = acospi(*(float2*)buf43); 2545 *(float2*)buf50 = asin(*(float2*)buf51); 2549 *(float2*)buf58 = asinh(*(float2*)buf59); 2553 *(float2*)buf66 = asinpi(*(float2*)buf67); 2557 *(float2*)buf74 = atan(*(float2*)buf75); 2561 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2565 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2569 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rs | 2371 *(float2*)buf26 = acos(*(float2*)buf27); 2375 *(float2*)buf34 = acosh(*(float2*)buf35); 2379 *(float2*)buf42 = acospi(*(float2*)buf43); 2383 *(float2*)buf50 = asin(*(float2*)buf51); 2387 *(float2*)buf58 = asinh(*(float2*)buf59); 2391 *(float2*)buf66 = asinpi(*(float2*)buf67); 2395 *(float2*)buf74 = atan(*(float2*)buf75); 2399 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2403 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2407 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rs | 2371 *(float2*)buf26 = acos(*(float2*)buf27); 2375 *(float2*)buf34 = acosh(*(float2*)buf35); 2379 *(float2*)buf42 = acospi(*(float2*)buf43); 2383 *(float2*)buf50 = asin(*(float2*)buf51); 2387 *(float2*)buf58 = asinh(*(float2*)buf59); 2391 *(float2*)buf66 = asinpi(*(float2*)buf67); 2395 *(float2*)buf74 = atan(*(float2*)buf75); 2399 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2403 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2407 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rs | 2441 *(float2*)buf26 = acos(*(float2*)buf27); 2445 *(float2*)buf34 = acosh(*(float2*)buf35); 2449 *(float2*)buf42 = acospi(*(float2*)buf43); 2453 *(float2*)buf50 = asin(*(float2*)buf51); 2457 *(float2*)buf58 = asinh(*(float2*)buf59); 2461 *(float2*)buf66 = asinpi(*(float2*)buf67); 2465 *(float2*)buf74 = atan(*(float2*)buf75); 2469 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2473 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2477 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rs | 2441 *(float2*)buf26 = acos(*(float2*)buf27); 2445 *(float2*)buf34 = acosh(*(float2*)buf35); 2449 *(float2*)buf42 = acospi(*(float2*)buf43); 2453 *(float2*)buf50 = asin(*(float2*)buf51); 2457 *(float2*)buf58 = asinh(*(float2*)buf59); 2461 *(float2*)buf66 = asinpi(*(float2*)buf67); 2465 *(float2*)buf74 = atan(*(float2*)buf75); 2469 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2473 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2477 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rs | 2371 *(float2*)buf26 = acos(*(float2*)buf27); 2375 *(float2*)buf34 = acosh(*(float2*)buf35); 2379 *(float2*)buf42 = acospi(*(float2*)buf43); 2383 *(float2*)buf50 = asin(*(float2*)buf51); 2387 *(float2*)buf58 = asinh(*(float2*)buf59); 2391 *(float2*)buf66 = asinpi(*(float2*)buf67); 2395 *(float2*)buf74 = atan(*(float2*)buf75); 2399 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2403 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2407 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rs | 2641 *(float2*)buf26 = acos(*(float2*)buf27); 2645 *(float2*)buf34 = acosh(*(float2*)buf35); 2649 *(float2*)buf42 = acospi(*(float2*)buf43); 2653 *(float2*)buf50 = asin(*(float2*)buf51); 2657 *(float2*)buf58 = asinh(*(float2*)buf59); 2661 *(float2*)buf66 = asinpi(*(float2*)buf67); 2665 *(float2*)buf74 = atan(*(float2*)buf75); 2669 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 2673 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 2677 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_21/ |
D | all21.rs | 4087 *(float2*)buf26 = acos(*(float2*)buf27); 4091 *(float2*)buf34 = acosh(*(float2*)buf35); 4095 *(float2*)buf42 = acospi(*(float2*)buf43); 4099 *(float2*)buf50 = asin(*(float2*)buf51); 4103 *(float2*)buf58 = asinh(*(float2*)buf59); 4107 *(float2*)buf66 = asinpi(*(float2*)buf67); 4111 *(float2*)buf74 = atan(*(float2*)buf75); 4115 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 4119 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 4123 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 4 extern float2 __attribute__((overloadable)) convert_float2(int2 c); 8 extern int2 __attribute__((overloadable)) convert_int2(float2 c); 14 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2); 19 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2); 26 extern float2 __attribute__((overloadable)) fnc(float2 v) { \ 27 float2 r; \ 49 extern int2 __attribute__((overloadable)) fnc(float2 v) { \ 72 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 73 float2 r; \ 95 extern float2 __attribute__((overloadable)) fnc(float2 v1, float v2) { \ [all …]
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 6 float2 gGravityVector = {0.f, 9.8f}; 8 float2 gMinPos = {0.f, 0.f}; 9 float2 gMaxPos = {1280.f, 700.f}; 11 static float2 touchPos[10]; variable 32 float2 fv = 0; 34 float2 pos = ball->position; 58 float2 bcptr = rsGetElementAt_float2(gGridCache, bg->cacheIdx + cidx); 59 float2 vec = bcptr - pos; 60 float2 vec2 = vec * vec; 78 float2 vec = touchPos[i] - ball->position; [all …]
|
/frameworks/compile/slang/tests/P_all_api_18/ |
D | all18.rs | 3200 *(float2*)buf26 = acos(*(float2*)buf27); 3204 *(float2*)buf34 = acosh(*(float2*)buf35); 3208 *(float2*)buf42 = acospi(*(float2*)buf43); 3212 *(float2*)buf50 = asin(*(float2*)buf51); 3216 *(float2*)buf58 = asinh(*(float2*)buf59); 3220 *(float2*)buf66 = asinpi(*(float2*)buf67); 3224 *(float2*)buf74 = atan(*(float2*)buf75); 3228 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 3232 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 3236 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_23/ |
D | all23.rs | 4737 *(float2*)buf26 = acos(*(float2*)buf27); 4741 *(float2*)buf34 = acosh(*(float2*)buf35); 4745 *(float2*)buf42 = acospi(*(float2*)buf43); 4749 *(float2*)buf50 = asin(*(float2*)buf51); 4753 *(float2*)buf58 = asinh(*(float2*)buf59); 4757 *(float2*)buf66 = asinpi(*(float2*)buf67); 4761 *(float2*)buf74 = atan(*(float2*)buf75); 4765 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 4769 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 4773 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 3443 *(float2*)buf26 = acos(*(float2*)buf27); 3447 *(float2*)buf34 = acosh(*(float2*)buf35); 3451 *(float2*)buf42 = acospi(*(float2*)buf43); 3455 *(float2*)buf50 = asin(*(float2*)buf51); 3459 *(float2*)buf58 = asinh(*(float2*)buf59); 3463 *(float2*)buf66 = asinpi(*(float2*)buf67); 3467 *(float2*)buf74 = atan(*(float2*)buf75); 3471 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 3475 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 3479 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/compile/slang/tests/P_all_api_19/ |
D | all19.rs | 3424 *(float2*)buf26 = acos(*(float2*)buf27); 3428 *(float2*)buf34 = acosh(*(float2*)buf35); 3432 *(float2*)buf42 = acospi(*(float2*)buf43); 3436 *(float2*)buf50 = asin(*(float2*)buf51); 3440 *(float2*)buf58 = asinh(*(float2*)buf59); 3444 *(float2*)buf66 = asinpi(*(float2*)buf67); 3448 *(float2*)buf74 = atan(*(float2*)buf75); 3452 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 3456 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 3460 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_math.jd | 1433 …href='rs_value_types.html#android_rs:float2'>float2</a> acos(<a href='rs_value_types.html#android_… 1472 …href='rs_value_types.html#android_rs:float2'>float2</a> acosh(<a href='rs_value_types.html#android… 1511 …ref='rs_value_types.html#android_rs:float2'>float2</a> acospi(<a href='rs_value_types.html#android… 1553 …href='rs_value_types.html#android_rs:float2'>float2</a> asin(<a href='rs_value_types.html#android_… 1592 …href='rs_value_types.html#android_rs:float2'>float2</a> asinh(<a href='rs_value_types.html#android… 1631 …ref='rs_value_types.html#android_rs:float2'>float2</a> asinpi(<a href='rs_value_types.html#android… 1673 …href='rs_value_types.html#android_rs:float2'>float2</a> atan(<a href='rs_value_types.html#android_… 1712 …s:float2'>float2</a> atan2(<a href='rs_value_types.html#android_rs:float2'>float2</a> numerator, <… 1757 …:float2'>float2</a> atan2pi(<a href='rs_value_types.html#android_rs:float2'>float2</a> numerator, … 1805 …href='rs_value_types.html#android_rs:float2'>float2</a> atanh(<a href='rs_value_types.html#android… [all …]
|
/frameworks/compile/slang/tests/P_all_api_22/ |
D | all22.rs | 4807 *(float2*)buf26 = acos(*(float2*)buf27); 4811 *(float2*)buf34 = acosh(*(float2*)buf35); 4815 *(float2*)buf42 = acospi(*(float2*)buf43); 4819 *(float2*)buf50 = asin(*(float2*)buf51); 4823 *(float2*)buf58 = asinh(*(float2*)buf59); 4827 *(float2*)buf66 = asinpi(*(float2*)buf67); 4831 *(float2*)buf74 = atan(*(float2*)buf75); 4835 *(float2*)buf83 = atan2(*(float2*)buf84, *(float2*)buf85); 4839 *(float2*)buf95 = atan2pi(*(float2*)buf96, *(float2*)buf97); 4843 *(float2*)buf106 = atanh(*(float2*)buf107); [all …]
|
/frameworks/rs/scriptc/ |
D | rs_math.rsh | 209 extern float2 __attribute__((const, overloadable)) 210 acos(float2 v); 248 extern float2 __attribute__((const, overloadable)) 249 acosh(float2 v); 289 extern float2 __attribute__((const, overloadable)) 290 acospi(float2 v); 328 extern float2 __attribute__((const, overloadable)) 329 asin(float2 v); 367 extern float2 __attribute__((const, overloadable)) 368 asinh(float2 v); [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() 138 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), in OneBiCubic() 143 float2 p1 = cubicInterpolate(convert_float2(yp1[xs0]), in OneBiCubic() 148 float2 p2 = cubicInterpolate(convert_float2(yp2[xs0]), in OneBiCubic() 153 float2 p3 = cubicInterpolate(convert_float2(yp3[xs0]), in OneBiCubic() 158 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 267 static float2 OneBiCubic(const float2 *yp0, const float2 *yp1, const float2 *yp2, const float2 *yp3, in OneBiCubic() 277 float2 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], in OneBiCubic() 279 float2 p1 = cubicInterpolate(yp1[xs0], yp1[xs1], in OneBiCubic() 281 float2 p2 = cubicInterpolate(yp2[xs0], yp2[xs1], in OneBiCubic() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | clamp.rs | 6 float2 src2 = { 2.0f, 2.0f}; 7 float2 min2 = { 0.5f, -3.0f}; 8 float2 max2 = { 1.0f, 9.0f}; 10 float2 res2 = clamp(src2, min2, max2);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | clamp.rs | 6 float2 src2 = { 2.0f, 2.0f}; 7 float2 min2 = { 0.5f, -3.0f}; 8 float2 max2 = { 1.0f, 9.0f}; 10 float2 res2 = clamp(src2, min2, max2);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | clamp.rs | 6 float2 src2 = { 2.0f, 2.0f}; 7 float2 min2 = { 0.5f, -3.0f}; 8 float2 max2 = { 1.0f, 9.0f}; 10 float2 res2 = clamp(src2, min2, max2);
|
/frameworks/compile/slang/tests/P_all_api_24/ |
D | all24.rs | 6499 *(float2*)buf26 = acos(*(float2*)buf27); 6507 *(float2*)buf42 = acosh(*(float2*)buf43); 6515 *(float2*)buf58 = acospi(*(float2*)buf59); 6523 *(float2*)buf74 = asin(*(float2*)buf75); 6531 *(float2*)buf90 = asinh(*(float2*)buf91); 6539 *(float2*)buf106 = asinpi(*(float2*)buf107); 6547 *(float2*)buf122 = atan(*(float2*)buf123); 6555 *(float2*)buf139 = atan2(*(float2*)buf140, *(float2*)buf141); 6563 *(float2*)buf163 = atan2pi(*(float2*)buf164, *(float2*)buf165); 6571 *(float2*)buf186 = atanh(*(float2*)buf187); [all …]
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | fisheye.rsh | 20 static float2 center, neg_center, inv_dimensions, axis_scale; 31 axis_scale = (float2)1.f; 47 const float2 inCoord = {(float)x, (float)y}; 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 49 const float2 scaledCoord = axis_scale * coord; 54 const float2 new_coord = mad(coord, scalar, center);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | fisheye.rsh | 20 static float2 center, neg_center, inv_dimensions, axis_scale; 31 axis_scale = (float2)1.f; 47 const float2 inCoord = {(float)x, (float)y}; 48 const float2 coord = mad(inCoord, inv_dimensions, neg_center); 49 const float2 scaledCoord = axis_scale * coord; 54 const float2 new_coord = mad(coord, scalar, center);
|